HyperMesh使用.tcl指令快速建模和划分网格

发布于 2023-09-15  129 次阅读


*begin "version 2019.1.0.20  8-24-2023  17:06:06"
*templatefileset "C:/Program Files/Altair/2019/templates/feoutput/abaqus/standard.3d"
*menufilterset "*"
*menufilterdisable 
*createmark collections 1
*clearmark collections 1
*createmark collections 2
*clearmark collections 2
*createmark controllers 1
*clearmark controllers 1
*clearmarkall 3
*setelementcolormode 16
*settopologydisplaymode 0
*ME_CoreBehaviorAdjust "allowable_actions_policy=TC_lite"
*createmark sets 1
*clearmark sets 1
*elementtype 104 7
*elementtype 210 3
*elementtype 213 3
*elementtype 220 3
*elementtype 5 1
*elementtype 55 1
*elementtype 206 1
*elementtype 205 7
*elementtype 208 7
*elementtype 56 2
*loaddefaultattributevaluesfromxml 
*drawlistresetstyle 
*linecreatestraight 0 0 0 330 0 0
*window 0 0 0 0 0
*surfacemode 4
*createmark lines 1 1
*createvector 1 0 1 0
*surfacecreatedraglinealongvector 1 1 180 0 0 0 0 00.045
#创建point(x,y,z)
*createpoint 15 30 0 0
*createpoint 75 30 0 0
*createpoint 135 30 0 0
*createpoint 195 30 0 0
*createpoint 255 30 0 0
*createpoint 315 30 0 0
*createpoint 15 90 0 0
*createpoint 75 90 0 0
*createpoint 135 90 0 0
*createpoint 195 90 0 0
*createpoint 255 90 0 0
*createpoint 315 90 0 0
*createpoint 15 150 0 0
*createpoint 75 150 0 0
*createpoint 135 150 0 0
*createpoint 195 150 0 0
*createpoint 255 150 0 0
*createpoint 315 150 0 0
*createpoint 45 60 0 0
*createpoint 105 60 0 0
*createpoint 165 60 0 0
*createpoint 225 60 0 0
*createpoint 285 60 0 0
*createpoint 45 120 0 0
*createpoint 105 120 0 0
*createpoint 165 120 0 0
*createpoint 225 120 0 0
*createpoint 285 120 0 0
*window 0 0 0 0 0
#point edit-add fixed point,6*3+5*2=28
*createmark surfaces 1 1
*createmark points 2 5-32
*surfaceaddpointsfixed 1 2 0.01 0
#add component-DM
*startnotehistorystate {Created Component "DM"}
*collectorcreateonly components "DM" "" 25
*endnotehistorystate {Created Component "DM"}
#split surface into DM 
*linecreatestraight 310 0 0 310 180 0
*createmark surfaces 1 1
*createmark lines 2 6
*surfacemarksplitwithlines 1 2 0 13 0
*normalsoff 
*setedgedensitylinkwithaspectratio 0
*elementorder 1
*startnotehistorystate {Automesh surfaces}
*createmark surfaces 1 1 2
*interactiveremeshsurf 1 4 0 0 2 1 1
*set_meshfaceparams 0 2 0 0 0 1 0.5 1 1
*automesh 0 2 0
*set_meshfaceparams 1 2 0 0 0 1 0.5 1 1
*automesh 1 2 0
*storemeshtodatabase 1
*ameshclearsurface 
*endnotehistorystate {Automesh surfaces}
届ける言葉を今は育ててる
最后更新于 2023-09-15