24小时热门版块排行榜    

查看: 667  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0703化学/290求调剂/本科经历丰富/工科也可 +6 丹青奶盖 2026-03-26 6/300 2026-03-26 15:04 by anny19840123
[考研] 086000生物与医药292求调剂 +5 小小陈小小 2026-03-22 8/400 2026-03-26 14:28 by zzll406
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +5 晨昏线与星海 2026-03-20 5/250 2026-03-26 13:47 by 一直走不要停
[考研] 化学调剂一志愿上海交通大学336分-本科上海211 +4 小鱼爱有机 2026-03-25 4/200 2026-03-26 10:19 by aa331100
[考研] 一志愿天津大学339材料与化工求调剂 +3 江往卖鱼 2026-03-26 3/150 2026-03-26 09:42 by 王小欠i
[考研] 290分调剂求助 +3 吉祥止止陈 2026-03-25 3/150 2026-03-25 19:58 by barlinike
[考研] 311求调剂 +4 勇敢的小吴 2026-03-20 4/200 2026-03-25 18:12 by xcjcqu
[考研] 347求调剂 +4 L when 2026-03-25 4/200 2026-03-25 13:37 by cocolv
[考研] 284求调剂 +15 Zhao anqi 2026-03-22 15/750 2026-03-25 12:51 by wht0531
[考研] 291求调剂 +3 HanBeiNingZC 2026-03-24 3/150 2026-03-24 16:34 by barlinike
[考研] 材料专硕331求调剂 +4 鲜当牛 2026-03-24 4/200 2026-03-24 15:58 by JourneyLucky
[考研] 一志愿吉大化学322求调剂 +4 17501029541 2026-03-23 6/300 2026-03-24 10:21 by 戴围脖的小蚊子
[考研] 一志愿河北工业大学0817化工278分求调剂 +7 jhybd 2026-03-23 12/600 2026-03-24 09:03 by jhybd
[考研] 求调剂 +7 十三加油 2026-03-21 7/350 2026-03-23 23:48 by 热情沙漠
[考研] 一志愿北京化工大学 070300 学硕 336分 求调剂 +7 vv迷 2026-03-22 7/350 2026-03-23 23:44 by Txy@872106
[考研] 350求调剂 +6 weudhdk 2026-03-19 6/300 2026-03-23 15:47 by tangyuan0840221
[考研] 276求调剂 +3 YNRYG 2026-03-21 4/200 2026-03-23 08:31 by 醉在风里
[考研] 260求调剂 +3 朱芷琳 2026-03-20 4/200 2026-03-22 15:12 by 朱芷琳
[考研] 材料与化工(0856)304求 B区 调剂 +3 邱gl 2026-03-21 3/150 2026-03-21 13:47 by lature00
[考研] 一志愿南理工085701环境302求调剂院校 +3 葵梓卫队 2026-03-20 3/150 2026-03-20 19:28 by zhukairuo
信息提示
请填处理意见