24小时热门版块排行榜    

查看: 723  |  回复: 1

xmc8g

新虫 (初入文坛)

[交流] 单元类型定义 已有1人参与

请问如何在ansys workbench里定义静压单元HSFLD242?谢谢!

单元类型定义


发自小木虫Android客户端
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

焚琴煮鹤

铜虫 (小有名气)


小木虫: 金币+0.5, 给个红包,谢谢回帖
官方例子
!*********************************************
!**  **
!**  GET NEW IDs **
!**  **
!*********************************************
finish
/PREP7
!Get the maximum element type id
*get, max_type_id, etyp, 0, num, max
mytype = max_type_id + 1
! Get the maximum node number
*get, maxnn, node, 0, num, max
mynn = maxnn + 1
!Get the maximum material type id
*get, max_mat_id, mat, 0, num, max
mymat = max_mat_id + 1
!*********************************************
!**  **
!**  DEFINE MATERIAL PROPERTIESs **
!**  **
!*********************************************
! Define material constants
K = 22000 ! MPa, bulk modulus is 22000MPa
alpha = 0.000207 ! thermal expansion coefficient 1/degree
density = 0.9e-6 ! water density 1e-6kg/mm3
! Material properties for oil.
tb,fluid,mymat,1,1,liquid
tbtemp, 22 ! Define first temperature
tbdata,1, K, alpha, density ! initial density of air =1.225e-12 Kg/mm^3
!*********************************************
!**  **
!**  CREATE NEW ELEMENTs **
!**  **
!*********************************************
!Create a new element type
et,mytype,HSFLD242  ! Hydrostatic fluid element
keyopt, mytype, 5,1  ! introduce fluid mass based on the
volume of fluid element
! Create a center node inside the volume
n, mynn, 19, 30, 0
! Create the fluid element HSFLD242
type, mytype
mat, mymat
cmsel, s, face  !Select the name selection "face"
esurf, mynn ! Create HSFLD242 elements, the pressure node is "mynn"
allsel ! select all the elements
outres, all, all ! Request all the result plot
FINISH
/SOLU ! Enter the solution module
2楼2020-11-25 13:53:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 xmc8g 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[文学芳草园] 梦想 +4 myrtle 2026-08-26 4/200 2026-08-31 08:43 by 逸域隐帆
[基金申请] 基金不中,共勉 +12 eulota 2026-08-26 12/600 2026-08-31 08:42 by ZJTJZ
[基金申请] 投票:  有多少人是今天查系统知道结果的? +17 爱看书的可乐 2026-08-26 19/950 2026-08-31 08:28 by xiangy672
[基金申请] 为什么到现在没收到通知? +5 tannykie 2026-08-29 5/250 2026-08-30 21:05 by purplejack
[考博] 找导师 +6 yuanjiabao 2026-08-29 7/350 2026-08-30 14:40 by 生科新手
[基金申请] 29号明天会评吗 +3 笨笨唐 2026-08-28 3/150 2026-08-30 09:29 by cww8181
[基金申请] 国自然面上复盘~欢迎讨论 (金币+15) +15 晴天加油 2026-08-26 16/800 2026-08-29 18:28 by symmetry
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +12 Kittylucky 2026-08-27 13/650 2026-08-29 00:04 by superceng
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 9/450 2026-08-28 11:06 by maolC
[基金申请] 面上合作单位盖章 +5 ssyjh 2026-08-27 5/250 2026-08-27 20:50 by gdfollow
[基金申请] 基金未中,这种答复是模板吗? +5 zhaosm1982 2026-08-27 6/300 2026-08-27 16:00 by lfy8008
[基金申请] 看板上这么多中的,有点像50人群里49个人都是骗子的那种感觉…… +5 a089 2026-08-26 6/300 2026-08-27 14:05 by jonewore
[基金申请] 怎么看青基中了没有啊 +5 叶九微 2026-08-26 5/250 2026-08-27 10:35 by l_zh2008
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 系统进不去 +4 yanglien 2026-08-26 5/250 2026-08-26 11:10 by wenfengw83
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
[基金申请] 某些机构,以效率低为荣,以效率低作为存在感 +9 yuleib84 2026-08-25 10/500 2026-08-25 17:14 by alexon
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
[基金申请] 没有任何消息-是不是就凉了 +9 图啦图啦 2026-08-24 10/500 2026-08-25 11:59 by 南海小哥
信息提示
请填处理意见