| 查看: 656 | 回复: 1 | |||
[交流]
单元类型定义 已有1人参与
|
|
请问如何在ansys workbench里定义静压单元HSFLD242?谢谢! 发自小木虫Android客户端 |
» 猜你喜欢
交叉科学部支持青年基金,对三无青椒是个机会吗?
已经有3人回复
国家级人才课题组招收2026年入学博士
已经有5人回复
Fe3O4@SiO2合成
已经有6人回复
青年基金C终止
已经有4人回复
青椒八年已不青,大家都被折磨成啥样了?
已经有7人回复
为什么nbs上溴 没有产物点出现呢
已经有10人回复
救命帖
已经有11人回复
招博士
已经有5人回复
26申博求博导推荐-遥感图像处理方向
已经有4人回复
限项规定
已经有7人回复
★
小木虫: 金币+0.5, 给个红包,谢谢回帖
小木虫: 金币+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













回复此楼