资源描述:
《ansys 结构稳态(静力)分析之经典实例-命令流格式》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ANSYS结构稳态(静力)分析之经典实例-命令流格式.txt两人之间的感情就像织毛衣,建立的时候一针一线,小心而漫长,拆除的时候只要轻轻一拉。。。。/FILNAME,Allen-wrench,1!Jobnametouseforallsubsequentfiles/TITLE,StaticanalysisofanAllenwrench/UNITS,SI!ReminderthattheSIsystemofunitsisused/SHOW!Specifygraphicsdriverforinterac
2、tiverun;forbatch!runplotsarewrittentopm02.grph!DefineparametersforfutureuseEXX=2.07E11!Young'smodulus(2.07E11Pa=30E6psi)W_HEX=.01!Widthofhexacrossflats(.01m=.39in)*AFUN,DEG!Unitsforangularparametricfunctions定义弧度单位W_FLAT=W_HEX*TAN(30)!WidthofflatL_SHA
3、NK=.075!Lengthofshank(shortend)(.075m=3.0in)L_HANDLE=.2!Lengthofhandle(longend)(.2m=7.9in)BENDRAD=.01!BendradiusofAllenwrench(.01m=.39in)L_ELEM=.0075!Elementlength(.0075m=.30in)NO_D_HEX=2!NumberofdivisionsonhexflatTOL=25E-6!Toleranceforselectingnodes
4、(25e-6m=.001in)/PREP7ET,1,SOLID45!3维实体结构单元;Eight-nodebrickelementET,2,PLANE42!2维平面结构;Four-nodequadrilateral(forareamesh)MP,EX,1,EXX!Young'smodulusformaterial1;杨氏模量MP,PRXY,1,0.3!Poisson'sratioformaterial1;泊松比RPOLY,6,W_FLAT!Hexagonalarea创建规则的多边形K,7!Key
5、pointat(0,0,0)K,8,,,-L_SHANK!Keypointatshank-handleintersectionK,9,,L_HANDLE,-L_SHANK!KeypointatendofhandleL,4,1!LinethroughmiddleofhexshapeL,7,8!LinealongmiddleofshankL,8,9!LinealonghandleLFILLT,8,9,BENDRAD!Linealongbendradiusbetweenshankandhandle!产
6、生一个倒角圆,并生成三个点/VIEW,,1,1,1!Isometricviewinwindow1/ANGLE,,90,XM!Rotatesmodel90degreesaboutX!不用累积的旋转/TRIAD,ltop/PNUM,LINE,1!LinenumbersturnedonLPLOT!Linenumbersoff!/PNUM,KP,1KPLOTL,1,4!HexsectioniscutintotwoquadrilateralsASBL,1,7,,,KEEP!tosatisfymappedm
7、eshingrequirementsforbricks!减线从面中CM,BOTAREA,AREA!ComponentnameBOTAREAforthetwoareas!Generateareameshforlaterdrag/PNUM,KP,0LPLOTLESIZE,1,,,NO_D_HEX!Numberofdivisionsalongline1为线指定网格尺寸LESIZE,2,,,NO_D_HEXLESIZE,6,,,NO_D_HEXTYPE,2!PLANE42elementstobemesh
8、edfirstMSHAPE,0,2D!Mappedquadmesh指定单元要划分的形状和维数MSHKEY,1!指定了映射网格划分SAVE!SavedatabasebeforemeshingAMESH,ALL/TITLE,MeshedhexwrenchendtobeusedinvdragEPLOT!Nowdragthe2-Dmeshtoproduce3-DelementsTYPE,1!TypepointersettoSOLID45ESIZE,L_ELEM!ElementsizeVDRAG,2,3,