ANSYS命令流实例
(完整版)ANSYS最常用命令流+中文注释(超级大全)
(完整版)ANSYS最常用命令流+中文注释(超级大全)ANSYS最常用命令流+中文注释VSBV, NV1, NV2, SEPO, KEEP1, KEEP2 —Subtracts volumes from volumes,用于2个solid相减操作,最终目的是要nv1-nv2=?通过后面的参数设置,可以得到很多种情况:sepo项是2个体的边界情况,当缺省的时候,是表示2个体相减后,其边界是公用的,当为sepo的时候,表示相减后,2个体有各自的独立边界。
keep1与keep2是询问相减后,保留哪个体?当第一个为keep时,保留nv1,都缺省的时候,操作结果最终只有一个体,比如:vsbv,1,2,sepo,,keep,表示执行1-2的操作,结果是保留体2,体1被删除,还有一个1-2的结果体,现在一共是2个体(即1-2与2),且都各自有自己的边界。
如vsbv,1,2,,keep,,则为1-2后,剩下体1和体1-2,且2个体在边界处公用。
同理,将v换成a 及l是对面和线进行减操作!mp,lab, mat, co, c1,…….c4 定义材料号及特性lab: 待定义的特性项目(ex,alpx,reft,prxy,nuxy,gxy,mu,dens)ex: 弹性模量nuxy: 小泊松比alpx: 热膨胀系数reft: 参考温度reft: 参考温度prxy: 主泊松比gxy: 剪切模量mu: 摩擦系数dens: 质量密度mat: 材料编号(缺省为当前材料号)co: 材料特性值,或材料之特性,温度曲线中的常数项c1-c4: 材料的特性-温度曲线中1次项,2次项,3次项,4次项的系数定义DP材料:首先要定义EX和泊松比:MP,EX,MA T,……MP,NUXY,MAT,……定义DP材料单元表(这里不考虑温度):TB,DP,MA T进入单元表并编辑添加单元表:TBDATA,1,CTBDATA,2,ψTBDATA,3,……如定义:EX=1E8,NUXY=0.3,C=27,ψ=45的命令如下:MP,EX,1,1E8MP,NUXY,1,0.3TB,DP,1TBDATA,1,27TBDATA,2,45这里要注意的是,在前处理的最初,要将角度单位转化到“度”,即命令:*afun,degVSEL, Type, Item, Comp, VMIN, VMAX, VINC, KSWP Type,是选择的方式,有选择(s),补选(a),不选(u),全选(all)、反选(inv)等,其余方式不常用Item, Comp 是选取的原则以及下面的子项如volu 就是根据实体编号选择,loc 就是根据坐标选取,它的comp就可以是实体的某方向坐标!其余还有材料类型、实常数等MIN, VMAX, VINC,这个就不必说了吧!,例:vsel,s,volu,,14vsel,a,volu,,17,23,2上面的命令选中了实体编号为14,17,19,21,23的五个实体VDELE, NV1, NV2, NINC, KSWP: 删除未分网格的体nv1:初始体号nv2:最终的体号ninc:体号之间的间隔kswp=0:只删除体kswp=1:删除体及组成关键点,线面如果nv1=all,则nv2,ninc不起作用其后面常常跟着一条显示命令VPLO,或aplo,nplo,这个湿没有参数的命令,输入后直接回车,就可以显示刚刚选择了的体、面或节点,很实用的哦!Nsel, type, item, comp, vmin, vmax, vinc, kabs 选择一组节点为下一步做准备Type: S: 选择一组新节点(缺省)R: 在当前组中再选择A: 再选一组附加于当前组U: 在当前组中不选一部分All: 恢复为选中所有None: 全不选Inve: 反向选择Stat: 显示当前选择状态Item: loc: 坐标node: 节点号Comp: 分量Vmin,vmax,vinc: ITEM范围Kabs: “0” 使用正负号“1”仅用绝对值下面是单元生死第一个载荷步中命令输入示例:!第一个载荷步TIME,... !设定时间值(静力分析选项)NLGEOM,ON !打开大位移效果NROPT,FULL !设定牛顿-拉夫森选项ESTIF,... !设定非缺省缩减因子(可选)ESEL,... !选择在本载荷步中将不激活的单元EKILL,... !不激活选择的单元ESEL,S,LIVE !选择所有活动单元NSLE,S !选择所有活动结点NSEL,INVE !选择所有非活动结点(不与活动单元相连的结点)D,ALL,ALL,0 !约束所有不活动的结点自由度(可选)NSEL,ALL !选择所有结点ESEL,ALL !选择所有单元D,... !施加合适的约束F,... !施加合适的活动结点自由度载荷SF,... !施加合适的单元载荷BF,... !施加合适的体载荷SA VESOLVE请参阅TIME,NLGEOM,NROPT,ESTIF,ESEL,EKILL,NSLE,NSEL,D, F,SF和BF命令得到更详细的解释。
ansysy命令流例子
题二:按图1-1所示,将截面沿路径扫掠成体。
单位(m)路径截面!画面沿线拖拉成体finiclear.all/prep7k,1,0,0,0k,2,0,-6,0k,3,3,-9,0k,4,5,-9,0k,5,3,-6,0LSTR,1,2 !连接1和2点生成直线1LARC,2,3,5,3 !起始点2结束点3 控制点5半径3画弧线LSTR,3,4 !连接3和4点K,6,-0.4,0,0K,7,0.4,0,0K,8,0,0,-0.4K,9,0,0,0.692820323LSTR,9,6LSTR,9,7LARC,6,7,8,0.4AL,4,5,6!由线生成面VDRAG,1,,, , , ,1, 2, 3, , , !将面1沿着线1 2 3拖拉成体题三:给L=100m的梁定义横截面,横截面如图2-1:(单位m)finiclear.all/prep7ET,1,PLANE82k,1,0,0,0k,2,2,0,0k,3,1,-1,0k,4,1,1.732050808,0LARC,1,2,3,1 !起始点1和终点2 和关键点3生成半径为1的弧线LSTR,1,4!连接点1 4生成线LSTR,2,4AL,1,2,3!将线1 2 3成面LSEL,ALLLESIZE, all, , , 6AMESH,ALLSECWRITE,jiemian1,SECT!将截面保存在D中的USER 中的tangyufengstarfini/CLEAR/prep7ET,1,beam188k,1,0,0,0k,2,100,0,0LSTR,1,2SECTYPE,1,BEAM,MESHSECOFFSET,CENTSECREAD,'jiemian1','SECT','',MESH!将截面读入ESIZE,, 300LMESH,1!在将PlotCTRls中的STYLE中的size and sharp中的Disply of element打开题目四:实体建模,并采用映射网格生成单元。
ansys命令流操作大全
ansys命令流操作大全ansys——ANSYS命令流(Ⅰ)1. A,P1,P2,…,P17,P18(以点定义面)2. AADD,NA1,NA2,…NA8,NA9(面相加)3. AATT,MAT,REAL,TYPE,ESYS,SECN(指定面的单元属性)【注】ESYS为坐标系统号、SECN为截面类型号。
4. *ABBR,Abbr,String(定义一个缩略词)5. ABBRES,Lab,Fname,Ext(从文件中读取缩略词)6. ABBSAVE,Lab,Fname,Ext(将当前定义的缩略词写入文件)7. ABS,IR,IA,--,--,Name,--,--,FACTA(取绝对值)【注】*************8. ACCAT,NA1,NA2(连接面)9. ACEL,ACEX,ACEY,ACEZ(定义结构的线性加速度)10. ACLEAR,NA1,NA2,NINC(清除面单元网格)11. ADAMS,NMODES,KSTRESS,KSHELL【注】*************12. ADAPT, NSOLN, STARGT, TTARGT, FACMN, FACMX, KYKPS, KYMAC【注】*************13. ADD,IR, IA, IB, IC, Name, --,-- , FACTA, FACTB, FACTC(变量加运算)14. ADELE,NA1,NA2,NINC,KSWP(删除面)【注】KSWP =0删除面但保留面上关键点、1删除面及面上关键点。
15. ADRAG,NL1,NL2,…,NL6,NLP1,NLP2,…,NLP6(将既有线沿一定路径拖拉成面)16. AESIZE,ANUM,SIZE(指定面上划分单元大小)17. AFILLT,NA1,NA1,RAD(两面之间生成倒角面)18. AFSURF,SAREA,TLINE(在既有面单元上生成重叠的表面单元)19. *AFUN, Lab(指定参数表达式中角度单位)20. AGEN, ITIME, NA1, NA2, NINC, DX, DY, DZ, KINC, NOELEM, IMOVE(复制面)21. AGLUE,NA1,NA2,…,NA8,NA9(面间相互粘接)22. AINA,NA1,NA2,…,NA8,NA9(被选面的交集)23. AINP,NA1,NA2,…,NA8,NA9(面集两两相交)24. AINV,NA,NV(面体相交)25. AL,L1,L2,…,L9,L10(以线定义面)26. ALIST,NA1,NA2,NINC,Lab(列表显示面的信息)【注】Lab=HPT时,显示面上硬点信息,默认为空。
ANSYS土木工程经典实例命令流大全
ANSYS土木工程经典实例命令流大全ANSYS是目前最为领先的工程仿真软件之一,广泛应用于土木工程领域。
本文将介绍一些ANSYS土木工程的经典实例以及相关的命令流,帮助工程师更好地应用该软件进行仿真分析。
1. 桥梁结构分析实例实例简介一座桥梁由多个零部件组成,包括桥墩、桥面、桥拱等。
如何分析这些零部件的受力情况,以便于对桥梁结构进行优化和改进呢?ANSYS提供了一系列的分析工具和命令流,可以帮助我们完成这项任务。
命令流详解首先需要创建一个桥梁模型,并进行网格划分。
然后利用ANSYS的各种分析工具进行仿真分析,得到桥梁各个零部件的受力情况。
在此基础上,可以进行结构优化,最终得到一个强度和稳定性都较好的桥梁结构。
以下是桥梁结构分析实例的一些关键命令流:•创建单元网格:ET, SOLID186•定义材料属性:MP, EX, NU, DENS•定义边界条件:*BOUNDARY,MP,SYM,FIX•加载边界条件:DLOAD,TYPE,P,_LOC•计算位移和应力分布:*POST1,DISPL,NF,S2. 地基基础分析实例实例简介地基基础是土木工程中的重要组成部分,承载着整个工程的重量。
如何对地基基础的承载力进行分析和计算呢?ANSYS也提供了相应的分析工具和命令流,帮助土木工程师完成这项任务。
命令流详解首先需要建立地基基础的三维模型,并进行网格划分。
然后利用ANSYS的各种分析工具进行仿真分析,计算地基基础承载力、变形等相关指标。
在此基础上,可以进行结构优化,最终得到一个承载能力和稳定性都较好的地基基础。
以下是地基基础分析实例的一些关键命令流:•创建单元网格:ET, SOLID186•定义材料属性:MP, EX, NU, DENS•定义边界条件:*BOUNDARY,MP,SYM,FIX•加载边界条件:DLOAD,TYPE,P,_LOC•计算应力分布和变形:*POST1,S,EPTO,ETA3. 挖土工程分析实例实例简介挖土工程是土木工程中的重要环节,需要对不同参数下的挖土工程进行分析和优化。
几个ansys经典实例(长见识)
平面问题斜支座的处理如图5-7所示,为一个带斜支座的平面应力结构,其中位置2及3处为固定约束,位置4处为一个45º的斜支座,试用一个4节点矩形单元分析该结构的位移场。
(a)平面结构(b)有限元分析模型图5-7 带斜支座的平面结构基于ANSYS平台,分别采用约束方程以及局部坐标系的斜支座约束这两种方式来进行处理。
(7) 模型加约束左边施加X,Y方向的位移约束ANSYS Main Menu: Solution →Define Loads →Apply →-Structural→Displacement On Nodes →选取2,3号节点→OK →Lab2: All DOF(施加X,Y方向的位移约束) →OK以下提供两种方法处理斜支座问题,使用时选择一种方法。
❶采用约束方程来处理斜支座ANSYS Main Menu:Preprocessor →Coupling/ Ceqn →Constraint Eqn :Const :0, NODE1:4, Lab1:UX,C1:1,NODE2:4,Lab2:UY,C2:1→OK或者❷采用斜支座的局部坐标来施加位移约束ANSYS Utility Menu:WorkPlane →Local Coordinate System →Create local system →At specified LOC + →单击图形中的任意一点→OK →XC、YC、ZC分别设定为2,0,0,THXY:45 →OKANSYS Main Menu:Preprocessor →modeling →Move / Modify →Rotate Node CS →To active CS →选择4号节点ANSYS Main Menu:Solution →Define Loads →Apply →Structural →Displacement On Nodes →选取4号节点→OK →选择Lab2:UY(施加Y方向的位移约束) →OK命令流;!---方法1 begin----以下的一条命令为采用约束方程的方式对斜支座进行处理CE,1,0,4,UX,1,4,UY,-1 !建立约束方程(No.1): 0=node4_UX*1+node_UY*(-1)!---方法1 end ---!--- 方法2 begin --以下三条命令为定义局部坐标系,进行旋转,施加位移约束!local,11,0,2,0,0,45 !在4号节点建立局部坐标系!nrotat, 4 !将4号节点坐标系旋转为与局部坐标系相同!D,4,UY !在局部坐标下添加位移约束!--- 方法2 end受均匀载荷方形板的有限元分析针对【MATLAB 算例】6.2(1)的问题,即如图6-3(a)所示的正方形薄板四周受均匀荷载的作用,该结构在边界上受正向分布压力,同时在沿对角线轴上受一对集中压力,荷载为。
ansys中典型案例命令流汇总
FLST,2,6,4 FITEM,2,652 FITEM,2,651 FITEM,2,654 FITEM,2,650 FITEM,2,653 FITEM,2,649 AL,P51X
vext,271,271,0,0,-0.0594,0 vovlap,all
lstr,17,18 lstr,18,19 lstr,19,20
lfillt,25,26,0.0022 lfillt,26,27,0.0022
FLST,2,5,4,ORDE,2 FITEM,2,25
FITEM,2,-29 LCOMB,P51X, ,0
K,21,0,0.00225,-0.012075 k,22,0.020075,0.00225,-0.012075 k,23,0.020075,0.00225,0.012075 K,24,0,0.00225,0.012075
!---------------------------------------------------------
K,,0,0.00225,-0.015675 !生成次外层13匝线圈 k,,0.023675,0.00225,-0.015675 k,,0.023675,0.00225,0.015675 K,,0,0.00225,0.015675
lstr,129,130 lstr,130,131 lstr,131,132
lfillt,186,187,0.0022 lfillt,187,188,0.0022
lstr,125,129 lstr,132,128
FLST,2,12,4 FITEM,2,191 FITEM,2,181 FITEM,2,182 FITEM,2,184 FITEM,2,185 FITEM,2,183 FITEM,2,192 FIT
Ansys命令流大全(整理)
Ansys命令流大全(整理)1、A,P1,P2,P3,P4,P5,P6,P7,P8,P9此命令用已知的一组关键点点(P1~P9)来定义面(Area),最少使用三个点才能围成面,同时产生转围绕些面的线。
点要依次序输入,输入的顺序会决定面的法线方向。
如果超过四个点,则这些点必须在同一个平面上。
Menu Paths:Main Menu>Preprocessor>Create>Arbitrary>Through KPs2、*ABBR,Abbr,String--定义一个缩略语.Abbr:用来表示字符串"String"的缩略语,长度不超过8个字符.String:将由"Abbr"表示的字符串,长度不超过60个字符.3、ABBRES,Lab,Fname,Ext-从一个编码文件中读出缩略语.Lab:指定读操作的标题,NEW:用这些读出的缩略语重新取代当前的缩略语(默认)CHANGE:将读出的缩略语添加到当前缩略语阵列,并替代现存同名的缩略语.Ext:如果"Fname"是空的,则缺省的扩展命是"ABBR".4、ABBSA V,Lab,Fname,Ext-将当前的缩略语写入一个文本文件里Lab:指定写操作的标题,若为ALL,表示将所有的缩略语都写入文件(默认)5、add, ir, ia,ib,ic,name,--,--,facta, factb, factc将ia,ib,ic变量相加赋给ir变量ir, ia,ib,ic:变量号name: 变量的名称6、Adele,na1,na2,ninc,kswp !kswp=0时只删除掉面积本身,=1时低单元点一并删除。
7、Adrag, nl1,nl2,nl3,nl4,nl5,nl6, nlp1,nlp2,nlp3,nlp4,nlp5,nlp6 !面积的建立,沿某组线段路径,拉伸而成。
8、Afillt,na1,na2,rad !建立圆角面积,在两相交平面间产生曲面,rad为半径。
ANSYS单元特性之命令流算例
EX1.1 (LINK1)(1)进入后处理模块,显示节点位移和杆件内力MID_NO DE = NODE (A/2,-B,0 )! 寻找距离位置(A/2,-B,0)最近的点,存入MID_NODE*GET,DISP,NODE,MID_NO DE,U,Y!提取节点MI D_NOD E上的位移UY,若果已知要求的节点,直接提取即可。
LEFT_E L = ENEARN (MID_NO DE)! 需找距离节点MID_N ODE最近的单元,存入LEFT_ELETABLE,STRS,L S,1! 用轴向应力S AXL的编号“LS,1”定义单元表S TRS*GET,STRSS,ELEM,LEFT_E L,ETAB,STRS! 从单元表STRS中提取LEFT_EL单元的应力结果,存入变量STRSS。
注意:提取的轴向应力结果具体到指定的单元。
(2)申明数组,提取计算结果,并比较计算误差*DIM,LABEL,CHAR,2!定义2个元素的字符型数组LABE L*DIM,VALUE,,2,3!定义2*3的数值型数组V ALU ELABEL(1) = 'STRS_M Pa','DEF_mm' ! 给字符型数组的第1个元素赋值*VFILL,VALUE(1,1),DATA,1,-0.05498! 给其他数值型数组中的元素赋值*VFILL,VALUE(1,2),DATA,STRSS,DISP*VFILL,VALUE(1,3),DATA,ABS(STRSS/1 ) ,ABS( DISP /0.05498)/OUT,EX1_1,out !将输出内容重定向到文件EX1_1.out/COM ! 以注释形式输出内容/COM,------------------- EX1.1 RESULT S COMPAR ISON---------------------/COM,/COM, | TARGET | ANSYS | RATIO/COM,*VWRITE,LABEL(1),VALUE(1,1),VALUE(1,2),VALUE(1,3)(1X,A8,' ',F10.3,' ',F10.3,' ',1F5.3)/COM,----------------------------------------------------------------/OUT ! 结束数据重定向,关闭输出文件FINISH*LIST,EX1_1,out ! 列表显示文件EX1_1.out的内容EX1.2 (LINK1)/PNUM, NODE,1!打开节点编号显示/NUMBER, 2!只显示编号,不使用色彩列表显示节点位移和单元的计算结果PRDISP! 列表显示节点位移值计算结果ETABLE, MFORX,SMISC,1!以杆单元的轴力为内容,建立单元表M F ORXETABLE, SAXL, LS, 1 !以杆的轴向应力为内容,建立单元表S A XLETABLE, EPELAX L, LEPEL, 1! 以杆单元的轴向应变为内容,建立单元表E PELAX LPRETAB! 显示单元表中的计算结果/NUMBER, 0!显示编号,并使用彩色PLETAB, MFORX!用色度图显示单元表MF ORX中杆件轴力图EX1.3 (LINK1)NSEL,S,LOC,Y,1.0 !选择所有位于Y=1.0位置上的节点FSUM!累计叠加选择集中所有节点上的反力*GET,REAC_1,FSUM,,ITEM,FY !将累加结果中的FY(Y方向的力)保存到变量R E AC_1中EX1.4 (LINK1)R,1,65e-6!定义第1类实常数,杆件截面面积为65mm^2,在转化为国际单位制时操作TREF,70 ! 设定参考温度为70度BFUNIF,TEMP,80 ! 温度从原来的70度均匀上升到80度(TREF+10)EX1.5 (PLANE42 AND CONT AC26)ETABLE,STRSX,S,X!定义X方向的应力为单元表S TRS X*GET,STRSSX,ELEM,3,ETAB,STRSX!从单元表STRS X中提取3号单元的X向应力,存入STRS S X。
ANSYS案例——20例ANSYS经典实例】
ANSYS案例——20例ANSYS经典实例】针对【典型例题】3.3.7(1)的模型,即如图3-19所示的框架结构,其顶端受均布力作用,用有限元方法分析该结构的位移。
结构中各个截面的参数都为:113.010PaE=,746.510mI-=,426.810mA-=,相应的有限元分析模型见图3-20。
在ANSYS平台上,完成相应的力学分析。
图3-19框架结构受一均布力作用图3-20单元划分、节点位移及节点上的外载解答对该问题进行有限元分析的过程如下。
1.基于图形界面的交互式操作(tepbytep)(1)进入ANSYS(设定工作目录和工作文件)程序→ANSYS→ANSYSInteractive→Workingdirectory(设置工作目录)→Initialjobname(设置工作文件名):beam3→Run→OK(2)设置计算类型(3)选择单元类型(4)定义材料参数ANSYSMainMenu:Preproceor→MaterialProp→MaterialModel→Struc tural→Linear→Elatic→Iotropic:E某:3e11(弹性模量)→OK→鼠标点击该窗口右上角的“”来关闭该窗口(5)定义实常数以确定平面问题的厚度ANSYSMainMenu:Preproceor→RealContant…→Add/Edit/Delete→Add→Type1Beam3→OK→RealContantSetNo:1(第1号实常数),Cro-ectionalarea:6.8e-4(梁的横截面积)→OK→Cloe(6)生成几何模型生成节点ANSYSMainMenu:Preproceor→Modeling→Creat→Node→InActiveCS→Nodenumber1→某:0,Y:0.96,Z:0→Apply→Nodenumber2→某:1.44,Y:0.96,Z:0→Apply→Nodenumber3→某:0,Y:0,Z:0→Apply→Nodenumber4→某:1.44,Y:0,Z:0→OK生成单元ANSYSMainMenu:Preproceor→Modeling→Create→Element→AutoNum bered→ThruNode→选择节点1,2(生成单元1)→apply→选择节点1,3(生成单元2)→apply→选择节点2,4(生成单元3)→OK(7)模型施加约束和外载左边加某方向的受力ANSYSMainMenu:Solution→DefineLoad→Apply→Structural→Force/Moment→OnNode→选择节点1→apply→Directionofforce:F某→VALUE:3000→OK→上方施加Y方向的均布载荷ANSYSMainMenu:Solution→DefineLoad→Apply→Structural→Preure→OnBeam→选取单元1(节点1和节点2之间)→apply→VALI:4167→VALJ:4167→OK左、右下角节点加约束(8)分析计算(9)结果显示(10)退出系统(11)计算结果的验证与MATLAB支反力计算结果一致。
ANSYS分析实例集(命令流)参考Word
1.ANSYS SOLID65环向布置钢筋的例子3ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗2.混凝土非线性计算实例(1)- MISO单压5ANSYS分析实例集(命令流)3141.ANSYSSOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗3.混凝土非线性计算实例(2)- MISO约束压6ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO 单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH 滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗4.混凝土非线性计算实例(3)- KINH滞回9ANSYS分析实例集(命令流)3141.ANSYSSOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗5.混凝土非线性计算实例(4)- KINH压-拉裂11ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO 单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH 滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗6.混凝土非线性计算实例(5)12ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗7.混凝土非线性计算实例(6)14ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗8.混凝土非线性计算实例(7)- MISO滞回16ANSYS分析实例集(命令流)3141.ANSYSSOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗9.混凝土非线性计算实例(8)18ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗10.混凝土非线性计算实例(9)-梁平面应力20ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO 单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH 滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗11.四层弹簧-质点模型的地震分析22ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗12.悬臂梁地震分析48ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗13.用beam 54单元描述变截面梁的例子72ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗14.变截面梁实例73ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO 约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH 压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗15.拱桥浇筑过程分析-单元生死应用实例74ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗16.简支梁实体与预应力钢筋分析实例75ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗17. 简单的二维焊接分析-单元生死实例77ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗18.隧道开挖(三维)的命令流84ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗19.岩土接触分析实例101ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗20.钢筋混凝土管的动力响应特性分析实例109ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO 单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH 滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗21.隧道模拟开挖命令流(入门)116ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗22.螺栓连接的模拟实现问题119ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗23.道路的基层、垫层模量与应力之间的关系129ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO 单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH 滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗23.滞回分析151ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO 约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH 压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗24.模拟某楼层浇注153ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗25.在面上施加移动的面力155ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗27.在任意面施加任意方向任意变化的压力159ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO 单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH 滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗28.预紧分析160ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO 约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH 压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗29.几何非线性+塑性+接触+蠕变162ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗30.埋设在地下的排水管道167ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗32.幕墙企业玻璃简化计算172ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗33.等截面杆单元生死应用实例188ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗34.梁板建模联系189ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO 约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH 压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗36.简单的例子-如何对结构的振动控制分析192ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO 单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH 滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗37.模态分析结果的输出实例194ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗38.火车过桥动态加载实例(部分)196ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗39.悬索结构的找形和计算的例题213ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗40.陶瓷杆撞击铝板的例子218ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗41.求反作用力的APDL命令法221ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗42.LS-DYNA实例(部分)222ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗43.路面分层填筑对路基的影响223ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗44.一个例子(含地震影响,求振兴与频率)227ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO 单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH 滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗45.接触面上的压力总和231ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗46.施加位置函数荷载235ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗47.非线性分析考虑刚度退化236ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗48.一个圆形水池的静力分析237ANSYS分析实例集(命令流)3141.ANSYS SOLID65环向布置钢筋的例子32.混凝土非线性计算实例(1)- MISO单压53.混凝土非线性计算实例(2)- MISO约束压64.混凝土非线性计算实例(3)- KINH滞回95.混凝土非线性计算实例(4)- KINH压-拉裂116.混凝土非线性计算实例(5)12哎壳缘搅俱铺疮幌阔惮邱袄蒙辙亏肃圆缉挨嗜明矣杠妓促柔甚摊哎晕烩稚磅坯殉妹铃蛇拔凋聪抨饥保冒阐挡惦稚啪称撒捶忽氦对预倦恫逮倚吝狄狗。
ANSYS工程结构数值分析---命令流实例
!------------------------------------------------------!EX8.26 钢筋混凝土简支梁数值分析!分离式模型,关闭压碎,keyopt(1)=0,keyopt(7)=1 !力加载,位移收敛准则,误差1.5%,1/4模型分析!--------------------------------------------finish/clear/config,nres,2000/prep7!1.定义单元与材料性质--------------------et,1,solid65,,,,,,,1 !K1=0,k7=1et,2,link8mp,ex,1,13585mp,prxy,1,0.2fc=14.3ft=1.43tb,concr,1tbdata,,0.5,0.95,ft,-1tb,miso,1,,11tbpt,,0.0002,fc*0.19tbpt,,0.0004,fc*0.36tbpt,,0.0006,fc*0.51tbpt,,0.0008,fc*0.64tbpt,,0.001,fc*0.75tbpt,,0.0012,fc*0.84tbpt,,0.0014,fc*0.91tbpt,,0.0016,fc*0.96tbpt,,0.0018,fc*0.99tbpt,,0.002,fctbpt,,0.0033,fc*0.85mp,ex,2,2.0e5mp,prxy,2,0.3tb,biso,2tbdata,,300,0pi=acos(-1)r,1,0.25*pi*22*22r,2,0.25*pi*22*22/2r,3,0.25*pi*10*10r,4,0.25*pi*10*10/2!2.创建几何模型blc4,,,150/2,300,2000/2*do,i,1,9wpoff,,,100vsbw,all*enddo wpcsys,-1 wpoff,,,50 vsbw,all wpcsys,-1 wprota,,-90 wpoff,,,30 vsbw,all wpoff,,,240 vsbw,all wpcsys,-1 wpoff,30 wprota,,,90 vsbw,all wpcsys,-1!3.划分钢筋网格elemsiz=50 lsel,s,loc,x,30 lsel,r,loc,y,30 cm,zj,linelatt,2,1,2 lesize,all,elemsiz lsel,s,loc,x,75 lsel,r,loc,y,30 cm,zjb,line latt,2,2,2 lesize,all,elemsiz lsel,s,loc,x,30 lsel,r,loc,y,270 cm,jlj,linelatt,2,3,2 lesize,all,elemsiz lsel,s,tan1,z lsel,r,loc,y,30,270 lsel,r,loc,x,30,70 lsel,u,loc,z,50 cm,gj,linelatt,2,3,2 lesize,all,elemsiz lsel,s,loc,z,0 lsel,r,loc,y,30,270 lsel,r,loc,x,30,70 cm,gjb,line latt,2,4,2lesize,all,elemsizlsel,allcmsel,s,zjcmsel,a,zjbcmsel,a,jljcmsel,a,gjcmsel,a,gjbcm,gj,linelmesh,alllsel,all!4.划分混凝土网格vatt,1,,1mshkey,1esize,elemsizvmesh,allallsel,all!5.施加荷载和约束lsel,s,loc,y,0lsel,r,loc,z,900dl,all,,uyasel,s,loc,z,0da,all,symmasel,s,loc,x,75da,all,symm!-----------------p0=180000q0=p0/150/100asel,s,loc,z,0,50asel,r,loc,y,300sfa,all,1,pres,q0allsel,all!6.求解控制设置/soluantype,0nsubst,80outres,all,allautos,onneqit,50cnvtol,u,,0.015solve!7.进入POST1查看结果/post1set,lastesel,s,type,,2etable,saxl,ls,1plls,saxl,saxlesel,s,type,,1/device,vector,onplcrackeall!8.进入时程后处理/post26nsol,2,205,u,yprod,3,1,,,,,,p0/1000prod,4,2,,,,,,-1xvar,4plvar,3!EX2.6D 60kg/m钢轨实体建模FINISH/CLEAR/PREP7!1.定义参数H1=30.5H2=48.5H3=48.5B1=45.75B2=29.25B3=16.5B4=36.5B5=10XD1=1/3XD2=1/9XD3=1/3XD4=1/20R0=400R1=2R2=4R3=40R4=20R5=25R7=13R8=80R9=300R10=2FAI=43H=H1+2*H2+H3!2.创建轨底主要组成部分的线K,1K,2,B1+B2K,3,B1+B2,H1-B1*XD1-B2*XD2K,4,B1,H1-B1*XD1K,5,0,H1*DO,I,1,4L,I,I+1*ENDDO!3.计算确定轨头下三个圆弧的位置CTA=A TAN(XD3)BTA=(90-FAI)*ACOS(-1)/180-CTAA=1/TAN(CTA)C1=B3/2+R0-R6*SIN(CTA)-(R5-R6)*COS(BTA)C2=R5*SIN(BTA)+R6*COS(CTA)-R6*SIN(BTA)-H2C=(C1-C2/TAN(CTA))/(R0-R5)C3=A*C-SQRT(A*A-C*C+1)C3=C3/(A*A+1)REFA=ASIN(C3)C1=R6*SIN(CTA)+(R5-R6)*COS(BTA)+(R0-R5)*COS(REFA) !4.创建轨腰和轨头结构线ROUX=B3/2+R0-C1ROUY=ROUX*TAN(CTA)ANGI=ASIN((H1+H2)/R0)K,6,B3/2+R0-R0*COS(ANGI)K,7,B3/2+R0-R0*COS(REFA),H1+H2+R0*SIN(REFA) LARC,6,7,2,R0DX1=R6*(COS(BTA)-SIN(CTA))DY1=R6*(COS(CTA)-SIN(BTA))K,8,ROUX-DX1,H1+2*H2+ROUY-DY1K,9,ROUX,H1+2*H2+ROUYLARC,7,8,2,R5LARC,8,9,2,R6K,10,B4,H1+2*H2+B4*XD3K,11,B4-(H3-B4*XD3)*XD4,HL,9,10L,10,11ANGI=ASIN(B5/R9)K,12,0,HK,13,B5,H-(R9-R9*COS(ANGI)) LARC,12,13,1,R9DX1=B4-B5+R8*SIN(ANGI)ANGI1=ASIN(DX1/R8)Y1=R8*COS(ANGI)-R8*COS(ANGI1) K,14,B4,KY(13)-Y1LARC,13,14,1,R8!5.倒角或弧线连接LFILLT,1,2,R1LFILLT,2,3,R2LFILLT,3,4,R3LPTN,4,5LFILLT,17,18,R4LFILLT,8,9,R10LPTN,9,11LFILLT,20,22,R7LDELE,15,16,1,1LDELE,19,21,2,1LSYMM,X,ALLNUMMRG,ALLNUMCMP,ALLAL,ALLASUMVOFFST,1,300!EX2.9B 斜向圆台建模finish/clear/prep7r0=3r1=2h=4cyl4,,,r0wpoff,r1,,hcyl4,,,r1*do,i,1,4askin,i,i+4*enddova,all!斜向延伸创建圆台vgen,1,1,,,,3*r0,,,,1wpcsyscyl4,,,r0vext,7,,,r1,,h,r1/r0,r1/r0!EX2.9B 已知函数方程时的建模!玫瑰线1==================================== !极坐标方程为ρ=asin(4Φ/3)finish/clear/prep7a=20csys,1*do,i,0,360*3fei=i*acos(-1)/180r0=a*sin(fei*4/3)k,,r0,i*enddo*do,i,1,360*3l,i,i+1*enddo!玫瑰线2=================================== !极坐标方程为ρ=asin(4Φ)finish/clear/prep7a=20csys,1*do,i,0,360fei=i*acos(-1)/180r0=a*sin(fei*4)k,,r0,i*enddo*do,i,1,360l,i,i+1*enddo!长辐圆内旋轮线============================ !参数方程x=(a-b)cost+λcos(a-b)/bt!参数方程y=(a-b)sint-λsin(a-b)/btfinish/clear/prep7a=50b=5lmda=15*afun,deg*do,i,0,360x1=(a-b)*cos(i)+lmda*cos((a-b)/b*i)y1=(a-b)*sin(i)-lmda*sin((a-b)/b*i)k,,x1,y1*enddo*do,i,1,360l,i,i+1*enddo!椭圆抛物面================================ !方程为z=x*x/a/a+y*y/b/b!使用蒙皮方法finish/clear/prep7a=20b=10n=20*do,i,1,niz=i/10lsel,nonewpoff,,,izcyl4,,,1adele,alllsscale,all,,,a*sqrt(iz),b*sqrt(iz),,,,1*enddoallsel*do,i,1,4*(n-1),4askin,i,i+4askin,i+1,i+5askin,i+2,i+6askin,i+3,i+7*enddo!EX2.9C 旋转图素建模!类花瓶建模--------------------finish/clear/prep7K,1K,2,100K,3,300,400K,4,150,550k,5,130,880K,6,300,1150k,7,400,1100k,8,500,1150bsplin,allk,1001,,1000arotat,all,,,,,,1,1001,360,5!类轮建模----------------------finish/clear/prep7!先创建类轮结构的一个断面,然后旋转之blc4,,,4,6cyl4,2,6,1.5asba,1,2k,100,-3k,101,-3,10vrotat,all,,,,,,100,101!EX3.1 自定义箱形截面finish/clear/prep7k,1k,2,2k,3,2,2.2k,4,3,2.3k,5,3,2.5k,6,0,2.5a,1,2,3,4,5,6blc4,,0.2,1.7,2asba,1,2wpoff,1.7wprota,,,90asbw,allwpoff,,,0.3asbw,allwpoff,,0.2wprota,,90asbw,allwpoff,,,-2asbw,allarsym,x,allwpcsysaglue,allet,1,plane82lesize,all,,,1amesh,allsecwrite,myboxfinish/clear/prep7et,1,beam189mp,ex,1,3.0e10mp,prxy,1,0.167sectype,1,beam,mesh secread,mybox,,,meshk,1k,2,10k,100,5,5l,1,2lesize,all,,,20latt,1,,1,,100,,1lmesh,all/eshape,1Eplot!EX3.2 自定义多种材料截面finish/clear/prep7Ro=1.5Ri=1.0csys,1cyl4,,,ricyl4,,,roaptn,allwprota,,90asbwa,allwprota,,,90asbw,allwpcsyset,1,plane82mymat1=4mymat2=7mp,ex,mymat1,1.0mp,ex,mymat2,2.0asel,s,loc,x,0,riaatt,mymat1,,1asel,s,loc,x,ri,roaatt,mymat2,,1allselesize,0.25mshape,0,2dmshkey,1amesh,allsecwrite,mycsolid,sectfinish/clear/prep7et,1,beam189mym1=4mym2=7mp,ex,mym1,3.0e10mp,prxy,mym1,0.167 mp,ex,mym2,2.1e11mp,prxy,mym2,0.3 sectype,1,beam,mesh secread,mycsolid,sect,,mesh k,1k,2,,,10l,1,2lesize,all,,,20latt,,,1,,,,1lmesh,all/eshape,1/pnum,mat,1eplot!EX3.3A 单个方位关键点示例FINISH/CLEAR/PREP7ET,1,BEAM189MP,EX,1,2.1E5MP,PRXY,1,0.3SECTYPE,1,BEAM,ISECDATA,100,40,160,10,10,8K,1K,2,,,1000L,1,2K,100,,500,500LATT,1,,1,,100,,1LGEN,4,1,,,500LESIZE,ALL,,,10LMESH,ALL/ESHAPE,1EPLOT!EX3.3B 同时使用KB和KE方位关键点示例FINISH/CLEAR/PREP7ET,1,BEAM189MP,EX,1,2.1E5MP,PRXY,1,0.3SECTYPE,1,BEAM,ISECDATA,100,40,160,10,10,8L0=1000DL=500DXC=400K,1K,2,,,L0L,1,2K,100,,DLK,200,DXC,-DLK,300,2*DXC,DLK,301,2*DXC+DLK,400K,500,8*DXCLGEN,5,1,,,DXCLATT,1,,1,,100,,1LSEL,S,,,2LATT,1,,1,,200,,1LSEL,S,,,3LATT,1,,1,,300,301,1LSEL,S,,,4LATT,1,,1,,400,,1LSEL,S,,,5LATT,1,,1,,500,,1LSEL,ALLLESIZE,ALL,,,50LMESH,ALL/ESHAPE,1EPLOT!EX3.3C 双方位关键点翻转示例FINISH/CLEAR/PREP7ET,1,BEAM189MP,EX,1,2.1E5MP,PRXY,1,0.3SECTYPE,1,BEAM,I SECDATA,100,40,160,10,10,8L0=1000DL=500DXC=400K,1K,2,,,L0K,3,DXCK,4,DXC,,L0/2K,5,DXC,,L0L,1,2L,3,4L,4,5K,100,,DLk,101,,-DLK,200,DXC,DLk,201,2*DXCK,202,DXC,-DLLATT,1,,1,,100,101,1lesize,all,,,100LSEL,S,,,2LATT,1,,1,,200,201,1lesize,all,,,50LSEL,S,,,3LATT,1,,1,,201,202,1lesize,all,,,50LSEL,ALLLMESH,ALL/ESHAPE,1EPLOT!EX3.4A 两种单元形状和两种网格划分比较finish/clear/prep7et,1,plane82k,1k,2,8k,3,7,6k,4,1,6a,1,2,3,4esize,1mshape,0mshkey,0!mshape,0!mshkey,1!mshape,1!mshkey,0!mshape,1!mshkey,1amesh,all!EX3.4B 中间节点位置控制网格划分比较finish/clear/prep7cyl4,,,4,,8,60lesize,all,,,2mshape,0mshkey,1mshmid,0!mshmid,1!mshmid,2amesh,all!EX3.5 线上单元尺寸设置示例!下边密上边稀finish/clear/prep7et,1,plane82blc4,,,10,10lsel,s,tan1,ylesize,all,,,10lsel,s,loc,x,0lesize,all,,,9,1/8lsel,s,loc,x,10lesize,all,,,9,8lsel,allmshape,0mshkey,1amesh,all!中间密外边稀finish/clear/prep7et,1,plane82blc4,,,10,10lsel,s,tan1,ylesize,all,,,10,-1/5lsel,s,tan1,xlesize,all,,,9,-1/8lsel,allmshape,0mshkey,1amesh,all!EX3.6 合并线和连接线以进行映射网格划分finish/clear/prep7et,1,plane82k,1,5k,2,10k,3,11,6k,4,6,15k,5,-1,8k,6,,4l,1,2l,2,3l,3,4larc,4,5,3,10l,5,6l,6,1al,allesize,3mshape,0mshkey,1lccat,1,2lcomb,4,5amesh,all!EX3.7 合并线或连接线的网格划分设置finish/clear/prep7et,1,plane82k,1,5k,2,10k,3,11,6k,4,6,15k,5,-1,8k,6,,4l,1,2l,2,3l,3,4larc,4,5,3,10l,5,6l,6,1al,allesize,,10lesize,6,,,8lesize,1,,,4lesize,2,,,3lesize,4,,,5lesize,5,,,2mshape,0mshkey,1lcomb,1,2!lccat,1,2!如采用lcatt,1,2则采用7个划分数lcomb,4,5amesh,all!EX3.7B 简化映射网格划分finish/clear/prep7et,1,plane82k,1,5k,2,10k,3,11,6k,4,6,15k,5,-1,8k,6,,4l,1,2l,2,3l,3,4larc,4,5,3,10l,5,6l,6,1al,allesize,,6mshape,0amap,1,2,5,3,4!EX3.8A 过渡四边形映射网格finish/clear/prep7k,1k,2,10,-1k,3,8,6k,4,1,3a,1,2,3,4lesize,1,,,8lesize,3,,,3lesize,4,,,7lesize,2,,,2mshape,0,2dmshkey,1amesh,all!EX3.8B 过渡四边形映射网格finish/clear/prep7et,1,plane42k,1k,2,10,-1k,3,8,6k,4,1,3a,1,2,3,4lesize,1,,,11lesize,3,,,3lesize,4,,,2lesize,2,,,2mshape,0,2dmshkey,1amesh,all!EX3.9A 过渡六面体映射网格划分finish/clear/prep7et,1,95blc4,,,8,8,8lesize,all,,,3lesize,5,,,15allselmshape,0,3dvmesh,all!EX3.9B 过渡六面体映射网格划分finish/clear/prep7et,1,95blc4,,,8,8,8lesize,all,,,4lesize,7,,,12mshape,0,3dmshkey,1vmesh,all!EX3.9C 过渡六面体映射网格划分finish/clear/prep7et,1,95blc4,,,8,8,8lsel,s,,,1,8,7lesize,all,,,6lsel,s,,,2,7,5lesize,all,,,3lsel,s,,,4,5lesize,all,,,7lsel,s,,,3,6,3lesize,all,,,2lsel,s,,,9,12,1lesize,all,,,5allselmshape,0,3dmshkey,1vmesh,all!EX3.9D 过渡六面体映射网格划分finish/clear/prep7et,1,95blc4,,,8,8,8lesize,2,,,2lesize,4,,,2lesize,5,,,2lesize,1,,,3lesize,3,,,3lesize,7,,,6lesize,6,,,7lesize,11,,,7lesize,9,,,3lesize,10,,,3lesize,12,,,3allselmshape,0,3dmshkey,1vmesh,all!EX3.10 带两孔的长方体的扫掠网格划分finish/clear/prep7a=10r=2et,1,mesh200,6et,2,solid45blc4,,,2*a,a,acyl4,a/2,a/2,r,,,,awprota,,90cyl4,1.5*a,a/2,r,,,,-avsbv,1,2vsbv,4,3wprota,,,90wpoff,,,a/2vsbw,allwpoff,,,a/2vsbw,allwpoff,,,a/2vsbw,allwpcsyswpoff,,a/2,a/2vsbw,allwprota,,90vsbw,allwpcsysesize,1amap,105,15,16,26,63amap,107,16,13,60,26amap,108,13,14,28,60amap,103,15,14,28,63lesize,94,,,4lesize,79,,,5vsel,s,loc,x,0,avsweep,allasel,s,loc,y,aasel,r,loc,x,a,2*alccat,2,45lccat,57,71lccat,68,78lccat,65,72mshape,0,2dmshkey,1amesh,allvsel,s,loc,x,a,2*avsweep,allallsel/view,1,1,2,3Eplot!EX3.11 拉伸类命令生成体单元网格finish/clear/prep7et,1,82et,2,95blc4,,,4,4blc4,6,,4,4blc4,12,,4,4blc4,18,,4,4esize,1amesh,allesize,,8vrotat,1,,,,,,1,4,90vext,2,,,,,10,0.5,0.5voffst,3,10vdrag,4,,,,,,35!EX3.12 圆的网格划分finish/prep7et,1,plane82r0=10cyl4,,,r0cyl4,3*r0,,,,r0 wprota,,90asbw,allwprota,,,90asbw,allwpoff,,,3*r0asbw,allwpcsys,-1asel,s,loc,x,-r0,r0lsla,slesize,all,,,8mshape,0,2dmshkey,1amesh,allallselasel,s,loc,x,2*r0,4*r0 lesize,all,,,8lsel,r,length,,r0lesize,all,,,8,0.1,1 amesh,allallsel!EX3.13 圆环的网格划分finish/clear/prep7et,1,plane82r0=10cyl4,,,r0/3,,r0,90cyl4,2*r0,,r0/10,,r0,90 asel,s,loc,x,-r0,r0lsla,slesize,all,,,8lsel,r,length,,r0*2/3 lesize,all,,,3,,1 mshape,0,2dmshkey,1amesh,allasel,s,loc,x,2*r0,4*r0lesize,5,,,12lesize,7,,,6lsel,s,length,,r0*9/10lesize,all,,,7amesh,all!EX3.14 圆柱面和圆柱体的网格划分!圆柱面finish/clear/prep7r0=10h0=50et,1,shell63cyl4,,,r0adele,1cm,l1cm,linek,50k,51,,,h0l,50,51adrag,l1cm,,,,,,5lsel,s,loc,z,0lesize,all,,,6lsel,s,length,,h0lesize,all,,,8mshape,0,2dmshkey,1amesh,all!圆柱体finish/clear/prep7r0=10h0=50et,1,solid95cyl4,,,r0,,,,h0wprota,,90vsbw,allwprota,,,90vsbw,allmshape,0,3dmshkey,1lsel,s,loc,z,0lsel,s,length,,h0lesize,all,,,8vmesh,all!EX3.15 圆锥的网格划分!扫掠网格划分finish/clear/prep7cone,10,,,15,,90et,1,200,7et,2,95lsel,s,,,5,6lesize,all,,,12,0.5lsel,alllesize,3,,,6mshape,0,2dmshkey,1amesh,3vsweep,1,3,4vsymm,x,allvsymm,y,allvglue,all!六面体映射网格划分finish/clear/prep7cone,10,,,15,,90et,2,95lesize,all,,,8mshape,0,3dmshkey,1vmesh,allvsymm,x,allvsymm,y,allvglue,all!EX3.16 正多边形面的通用网格划分finish/clear/prep7ns=11rpr4,ns,,,10kp0=100+nsk,kp0*if,mod(ns,2),eq,0,then*do,i,1,ns/2l,kp0,2*i-1*enddo*else*do,i,1,nsl,kp0,i*enddo*endiflsel,s,,,ns+1,2*nscm,l1cm,lineallselasbl,1,l1cm*if,mod(ns,2),eq,0,then cmsel,s,l1cmlesize,all,,,8lsel,invelesize,all,,,4*elselesize,all,,,8*endifallselmshape,0mshkey,1amesh,all!EX3.17 球体及球面网格划分finish/clear/prep7r0=10sphere,,r0,,90vsbw,allvdele,2,,,1esize,2et,1,solid95mshape,0,3dmshkey,1vsymm,x,all vsymm,y,all vsymm,z,allvglue,allfinish/clear/prep7r0=10sphere,,r0,,90 vsbw,allvdele,2,,,1vdele,allasel,s,loc,x,0asel,a,loc,y,0asel,a,loc,z,0adele,all,,,1allselesize,2et,1,shell63 mshape,0,2d mshkey,1amesh,allarsym,x,allarsym,y,allarsym,z,all nummrg,all!EX3.18 孔板网格划分finish/clear/prep7a0=300b0=800r0=15blc4,,,a0,b0cyl4,a0/4,b0/8,r0 agen,2,2,,,a0/2 agen,2,2,3,1,,b0/8 agen,2,2,5,1,,b0*5/8 asel,s,,,2,9,1cm,a2cm,areaallselwprota,,-90*do,i,1,5wpoff,,,b0/16asbw,all*enddowpoff,,,b0*5/16*do,i,1,5wpoff,,,b0/16asbw,all*enddowprota,,,90*do,i,1,3wpoff,,,a0/4asbw,all*enddowpcsys,-1numcmp,alllsel,s,radius,,r0lesize,all,,,8lsel,invelesize,all,,,4lsel,allet,1,82mshape,0,2dmshkey,1asel,u,loc,y,b0/16,b0*5/16 asel,u,loc,y,b0*11/16,b0*15/16 lsla,slsel,r,tan1,xlesize,all,50,,,,1amesh,allallselamap,21,30,31,54,62 amap,22,31,32,54,64 amap,32,29,30,62,76 amap,33,29,32,64,76amap,42,34,35,76,82 amap,43,35,36,76,84 amap,41,33,34,53,82 amap,44,33,36,53,84amap,19,22,23,49,64 amap,20,23,24,49,60 amap,9,21,22,64,74 amap,31,21,24,60,74amap,38,26,27,74,84 amap,39,27,28,74,80 amap,37,25,26,50,84 amap,40,25,28,50,80amap,17,14,15,43,59 amap,18,15,16,43,63 amap,7,13,14,59,73 amap,8,13,16,63,73amap,34,18,19,73,79 amap,30,17,18,79,44 amap,35,19,20,73,83 amap,36,17,20,44,83amap,15,6,7,39,63amap,16,7,8,39,58amap,4,6,5,63,71amap,5,5,8,58,71amap,27,10,11,71,83 amap,28,11,12,71,78 amap,26,9,10,83,40 amap,29,9,12,40,78!EX3.19 角支架的网格划分finish/clear/prep7blc4,,,150,50blc4,100,,50,-50cyl4,,25,25cyl4,125,-50,25aadd,allnumcmp,allcyl4,,25,10cyl4,125,-50,10 asel,s,,,2,3cm,a1cm,area asel,allasba,1,a1cm lcomb,1,6lfillt,1,2,20 asbl,4,6adele,1,,,1lfillt,3,4,20al,18,19,20 aadd,all numcmp,all!---------------------- wprota,,90 wpoff,,,-25 asbw,all wpoff,,,75 asbw,all wprota,,,90 asbw,all wpoff,,,125 asbw,all wpcsys,-1 wpoff,25 wprota,,,90 asbw,all kwpave,18 asbw,all kwpave,3 wprota,,90 asbw,all kwpave,21 wprota,,-45 asbw,8 wpcsys,-1!-------------------- et,1,plane82 mshape,0,2d mshkey,1 esize,6lesize,33,,,6 lesize,37,,,6 lesize,42,,,6amesh,3,5,2amap,6,9,10,4,23amap,7,9,12,1,23amesh,11,13,2amesh,1,9,8amesh,2,4,2amap,16,3,18,26,28amap,12,14,15,5,28amap,15,13,14,6,28lcomb,19,22lcomb,27,46amesh,10,14,4!========================= !EX3.20 大板小孔的网格划分A finish/clear/prep7a0=100blc4,,,a0,a0cyl4,,,a0/100asba,1,2csys,1k,50,a0/20k,51,a0/20,90l,50,51asbl,all,1wprota,,90,45asbw,allet,1,plane82mshape,0,2dmshkey,1lsel,s,loc,x,0,a0/20lesize,all,,,8lsel,alllesize,7,,,12,0.1lesize,8,,,12,0.1lesize,9,,,12,10amesh,allcsys,0arsym,x,allarsym,y,allnummrg,all!============================= !EX3.20 大板小孔的网格划分Bfinish/clear/prep7a0=100blc4,,,a0,a0cyl4,,,a0/100asba,1,2csys,1k,50,a0/20k,51,a0/20,90l,50,51asbl,all,1et,1,plane82mshape,0,2dmshkey,1lesize,5,,,8lesize,1,,,10lesize,4,,,8,5lesize,6,,,8,5amesh,1lesize,7,,,20,0.1lesize,8,,,20,0.1amap,2,50,51,2,4csys,0arsym,x,allarsym,y,allnummrg,all!EX3.21 Z形面网格划分及局部细分finish/clear/prep7blc4,,,15,10blc4,10,6,14,12aadd,allwprota,,-90wpoff,,,6asbw,allwpoff,,,4wprota,,,90wpoff,,,10asbw,allwpoff,,,5asbw,allwpcsys,-1et,1,82esize,2mshape,0,2dmshkey,1amesh,allkrefine,9,10,1,1,,off !不光滑处理(节点位置不变)aclear,allamesh,allkrefine,9,10,1,1,,smooth !光滑处理,节点位置可改变,但既有单元不删除aclear,allamesh,allkrefine,9,10,1,1 !光滑处理,可删除既有单元重细分,节点位置改变!EX3.22 分布小孔环形面的网格划分finish/clear/prep7r1=15r2=25r3=3n=8cyl4,,,r1,,r2,180/ncyl4,0.5*(r1+r2),,r3asba,1,2kl,2larc,6,8,4,0.5*(r1+r2)asbl,all,4lesize,4,,,4lesize,10,,,4lesize,6,,,8lesize,3,,,6lesize,8,,,4lesize,5,,,8lesize,9,,,4lesize,7,,,4et,1,plane82mshape,0,2damap,2,6,7,4,8amap,1,5,6,8,1!lrefine,5,6,1,1,smootharsym,y,allcsys,1agen,n,all,,,,360/nnummrg,all!EX3.23 同心圆轴体的网格划分finish/clear/prep7cylind,50,0,100,150cylind,40,0,200,250cylind,30,0,100,250cylind,20,0,50,250cylind,10,0,0,250vptn,allwprota,,,90vsbw,allwprota,,90vsbw,allet,1,95csys,1lsel,s,length,,50lesize,all,,,5lsel,invelsel,u,radius,,10,50lesize,all,,,4n1=6n2=6n3=8n4=10n5=12lsel,r,loc,x,0,10lesize,all,,,n1,,1lsel,s,radius,,10lesize,all,,,n1lsel,s,radius,,20lsel,s,radius,,30lesize,all,,,n3lsel,s,radius,,40lesize,all,,,n4lsel,s,radius,,50lesize,all,,,n5allselmshape,0,3dmshkey,1vmesh,all!EX3.24A 圆柱与长方体组合模型的网格划分!采用六面体映射网格划分finish/clear/prep7a0=30h1=15h2=25r0=7blc4,,,a0/2,a0/2,h1cyl4,,,r0,,,90,h1+h2vptn,allaccat,4,6et,1,95esize,3mshape,0,3dmshkey,1vmesh,allasel,s,accaadele,alllsel,s,lccaldele,allallselvsymm,x,allvsymm,y,allnummrg,all!EX3.24B 圆柱与长方体组合模型的网格划分!采用过渡六面体映射网格划分finish/cleara0=30h1=15h2=25r0=7blc4,,,a0/2,a0/2,h1cyl4,,,r0,,,90,h1+h2vptn,alllsel,s,radius,,r0lsel,a,length,,r0lesize,all,,,6lsel,s,loc,z,0lsel,a,loc,z,h1lesize,all,,,7asel,s,loc,x,a0/2asel,a,loc,y,a0/2accat,allallselet,1,95esize,3mshape,0,3dmshkey,1vmesh,allasel,s,accaadele,alllsel,s,lccaldele,allallselvsymm,x,allvsymm,y,allnummrg,all!EX3.25-任意圈数圆柱形螺旋弹簧的扫略网格划分FINISH/CLEAR/PREP7!1.定义弹簧参数(同上)D=4C=8DZ=C*DT=DZ/6N=4.7*IF,T,LT,D,THEN*ENDIFTKPD=90!2.创建全部螺旋线CSYS,1TDEG=N*360TDEG1=MOD(TDEG,TKPD) N0=(TDEG-TDEG1)/TKPD+1 *AFUN,DEG*DO,I,1,N0CTA=(I-1)*TKPDZ=T/360*CTAK,I,DZ/2,CTA,Z*ENDDO*IF,TDEG1,LT,1.0E-2,THEN *ELSEN0=N0+1CTA=CTA+TDEG1Z=T/360*CTAK,N0,DZ/2,CTA,Z*ENDIF*DO,I,1,N0-1L,I,I+1*ENDDOCM,L1,LINE!3.在螺旋线端部创建簧丝截面CSYS,0WPOFF,DZ/2 WPROTA,,90CYL4,,,D/2wprota,,90asbw,allwprota,,,90asbw,allcm,a1cm,areaVDRAG,a1cm,,,,,,L1et,1,mesh200,7et,2,solid95cmsel,s,a1cmlsla,slesize,all,,,6amesh,allallselesize,d/2vsweep,all!EX3.26 具坑缺陷圆柱的网格划分finish/clear/prep7l0=50r0=10r1=5r2=1h0=5et,1,solid45cyl4,,,r0,,,,l0wpave,0,r0,l0/2wprota,,90con4,,,r1,r2,h0vsbv,1,2wprota,,90vsbw,allwpoff,,,r1+3vsbw,allwpoff,,,-2*(r1+3)vsbw,allwprota,,,90vsbw,allwpoff,,,r1+1vsbw,allwpoff,,,-2*(r1+1)vsbw,allwpcsys,-1wprota,,90vsbw,allwpoff,,,-r1vsbw,allwpoff,,,2*r1vsbw,allwpcsys,-1numcmp,allksel,s,loc,z,l0/2ksel,r,loc,x,0ksel,u,loc,y,0*get,kp1,kp,0,num,min kp2=kpnext(kp1) ksel,s,loc,z,l0/2+r2*get,kp3,kp,0,num,min allselk,1000,,-r0,l0/2+5l,kp3,1000asel,none*get,l1,line,0,num,max arotat,l1,,,,,,kp1,kp2 cm,a1cm,areaallselvsba,all,a1cm!vsel,s,loc,z,17,33!vsel,r,loc,x,-6,6!aslv,s!aplotaccat,128,61accat,160,138 accat,224,202 accat,183,35accat,31,134accat,151,164 accat,215,231 accat,82,195accat,130,5accat,162,145 accat,229,209 accat,192,89accat,12,123accat,117,155 accat,109,219 accat,14,178mshape,0,3d mshkey,1esize,1vmesh,all!EX3.27长方体开圆柱槽的网格划分finish/clear/prep7blc5,,,20,10,30wpoff,,5,5cyl4,,,8,,,,10wpoff,,,10cyl4,,,4,,,,12vsel,s,,,2,3cm,v1cm,voluallselwpcsys,-1vsbv,1,v1cmvoffst,15,5voffst,16,3voffst,17,15vptn,allwprota,,,90vsbw,allwpcsys,-1wpoff,,,5vsbw,allwpoff,,,10vsbw,allwpoff,,,12vsbw,allet,1,mesh200,7esize,2mshape,0,2dmshkey,1asel,s,loc,z,30lccat,6,74lccat,8,68amesh,allasel,s,loc,z,0lccat,3,73lccat,1,67amesh,allallselet,2,solid95mshape,0,3dmshkey,1vsweep,all!ex4.1累加节点自由度约束值finish/clear/prep7et,1,beam3k,1k,2,10l,1,2esize,1lmesh,alld,1,ux,1e-2,,,,uyd,1,rotzd,2,alldlistnsel,s,d,u,0,0.1dofsel,s,uydscale,2.5dlistdofsel,alldcum,addd,1,ux,2e-2dlistdcum,ignod,2,uy,1.0dlist!ex4.2 对线施加约束并转换finish/clear/prep7et,1,95blc4,,,10,10,10dl,7,,ux,0.1dl,5,,alldl,11,6,symmdl,10,6,asymdl,6,,symmdllistesize,2vmesh,alldtrandlist!ex4.3 施加集中荷载与节点坐标系finish/clear/prep7et,1,beam4k,1k,2,5k,3,10l,1,2l,2,3local,12,0,,,,90nrotat,alldk,1,allfk,2,fy,-1000esize,1lmesh,allnrotat,alllplotfk,3,fy,1000f,6,fx,-1000sbctraneplot!ex4.4a 3d单元sf加载示例finish/clear/prep7et,1,95blc4,,,10,10,20esize,,4vmesh,allasel,s,loc,y,10sf,all,pres,1000asel,s,loc,z,20nsla,s,1sf,all,pres,1000!ex4.4b 2d单元sf加载示例finish/clear/prep7et,1,82blc4,,,100,200blc4,30,60,40,80asba,1,2wprota,,-90wpoff,,,60asbw,allwpoff,,,80asbw,allwprota,,,90wpoff,,,30asbw,allwpoff,,,40asbw,allwpcsys,-1esize,5amesh,all/psf,pres,norm,2sf,all,pres,100sfdele,all,presnsel,s,loc,x,0sf,all,pres,100nsel,s,loc,x,15,20esln,s,1nsel,r,loc,x,15sf,all,pres,110nsel,s,loc,x,40,60nsel,r,loc,y,10,30esln,s,1sf,all,pres,100lsel,s,loc,x,100nsll,s,1esln,snsel,s,loc,x,95sf,all,pres,-100eplot!ex4.5 节点号及其荷载函数finish/clear/prep7et,1,45blc4,,,10,10,20esize,5vmesh,all*dim,mypres,,100*do,i,1,100mypres(i)=i*10.0*enddosffun,pres,mypres(1)nsel,s,loc,y,10sf,all,pres,10sflist*do,i,1,100mypres(i)=i*50.0*enddonsel,s,loc,z,20sf,all,pres,0allselsflist!ex4.6a 2d平面单元plane82 finish/clear/prep7et,1,82blc4,,,10,50esize,2amesh,allsfe,1,4,pres,,100,50sfe,6,4,pres,,200,40nsel,s,loc,x,10esln,ssfe,all,2,pres,,-100/psf,pres,norm,2,0,1eplot!ex4.6b 3d体单元solid95 finish/clear/prep7et,1,95blc4,,,10,10,30esize,5vmesh,all/psf,pres,norm,2,0,1sfe,22,3,pres,,100sfe,22,6,pres,,100,110,120,130 sfelist!ex4.6c 3d壳单元shell63 finish/clear/prep7et,1,63wprota,,90blc4,,,10,10esize,5amesh,all/psf,pres,norm,2,0,1sfe,1,1,pres,,100sfe,1,3,pres,,100sfe,1,6,pres,,100sfe,4,1,pres,,100,110,120,130!ex4.7 在梁单元上施加荷载finish/clear/prep7et,1,beam3k,1k,2,10l,1,2esize,,10lmesh,all/pnum,elem,1sfbeam,3,1,pres,50,100 sfbeam,5,1,pres,100 sfbeam,7,1,pres,50,100,,,0.2,0.1sfbeam,9,1,pres,100,,,,0.4,-1sfbeam,3,2,pres,50,100,,,0.2,0.1!ex4.8a 在线上施加面荷载finish/clear/prep7et,1,82blc4,,,10,30esize,5amesh,all/psf,pres,norm,2sfl,4,pres,10,60sfl,2,pres,60sftraneplot!ex4.8b 在线上施加面荷载finish/clear/prep7et,1,shell63wprota,,90blc4,,,10,30esize,5amesh,allsfl,3,pres,100sftraneplot!ex4.9 利用荷载梯度在直角坐标系下的施加方法finish/clear/prep7et,1,82blc4,,,10,60esize,2amesh,all/psf,pres,norm,2sfgrad,pres,,y,0,-5nsel,s,loc,x,0nsel,r,loc,y,0,40sf,all,pres,600sfgrad,pres,,y,30,-20nsel,s,loc,x,10sf,all,pres,0allseleplot!ex4.10利用荷载梯度在柱坐标系下的施加方法finish/clear/prep7csys,1k,1,10,-90k,2,10,90k,3,10,90,30l,1,2l,2,3adrag,1,,,,,,2ldele,2,,,1numcmp,allet,1,63esize,2amesh,allsfgrad,pres,1,y,-90,1sfa,all,2,pres,400sftran!可考察下述命令及其施加方法!①!sfgrad,pres,1,y,270,1sfa,all,2,pres,400sftran!②!local,12,1cscir,12,1sfgrad,pres,12,y,270,1sfa,all,2,pres,400sftran!ex4.11 ldread命令的示例finish/clear/filname,ldtest1/prep7et,1,plane82mp,ex,1,2.1e5mp,prxy,1,0.3blc4,,,10,40esize,2amesh,alld,all,allsfl,3,pres,100/solusolve/post1prrsolfinish/filename,ldtest2/solulsclear,allnsel,s,loc,y,0d,all,allallselldread,reac,,,,,ldtest1,rst solve/post1plnsol,s,y!ex4.12 初应力荷载finish/clear/filname,colu1/prep7et,1,plane82mp,ex,1,2e5mp,nuxy,1,0.3blc4,,,1,10esize,2amesh,allnsel,s,loc,y,0d,all,uyd,1,uxnsel,s,loc,y,10sf,all,pres,-10。
ansys经典命令流
FINISH/CLEAR/PREP7esel,s,mat,,1 选择材料号为1的单元LCOMB,ALL!将两条线合并为一条线VOFFST,1,L!沿面1的法线方向偏移生成体LOCAL,12,1,L,,,,-90!定义圆柱局部坐标系LFILLT,2,3,R!两线之间生成圆角ARSYM,Y,ALL!镜像ARSYM,X,ALLnummrg,all合并所有项,合并相同位置处lgen,2,all,,,,sl复制项NUMCMP,Label(压缩编号消除空号)latt,1,3,1给线附属性材料号、实常数号、线单元类型号*do,i,3,7*enddo循环wpoff,,,h1-h2vsbw,all 移动工作面然后切割WPCSYS,WN,KCN将当前坐标系X-Y平面定义为工作平面/post1pldisp,1后处理,显示变形lesize,all,,,4lmesh,all定义网格划分长度为4,然后划分mshape,0mshape, key, dimension 指定单元形状key: 0 四边形(2D),六面体(3D)1 三角形(2D), 四面体(3D) Dimension: 2D 二维3D 三维mshkey,1mshkey, key 指定自由或映射网格方式0 自由网格划分1 映射网格划分2 如果可能的话使用映射,esll,sESLL, Type(选择已选线上的单元)pstres,on打开预应力分析sectype,1,beam,rectSECTYPE, ID, TYPE, SUBTYPE, NAME, REFINEKEY定义一个截面号,并初步定义截面类型ID: 截面号TYPE: BEAM:定义此截面用于梁SUBTYPE: RECT 矩形CSOLID:圆形实心截面CTUBE: 圆管I: 工字HREC: 矩形空管ASEC: 任意截MESH: 用户定义的划分网格NAME: 8字符的截面名称(字母和数字组成)REFINEKEY: 网格细化程度:0~5secdata,b,h描述梁截面lsymm,x,all线镜像nlgeom,1包括几何非线性lstr,8,116用两个点来定义一条直线ekill,all 杀死所有选择的单元NLIST,NODE1,NODE2,NINC,Lcoord,SORT1,SORT2,SORT3列出节点信息。
ansys命令流实例
ansys命令流实例1.结构静力分析--梁分析/PREP7 !进入前处理器ET,1,BEAM3 !定义单元类型R,1,0.25,0.0052,0.5 !定义实常数MP,EX,1,210E6MP,PRXY,1,0.3 !定义材料属性N,1,0N,2,1N,3,5N,4,7N,5,7N,6,9N,7,11N,8,11N,9,13N,10,14 !定义节点E,1,2E,2,3E,3,4E,5,6E,6,7E,8,9E,9,10 !生成单元CP,1,UX,4,5CP,2,UY,4,5CP,3,UX,7,8CP,4,UY,7,8 !耦合节点FINISH/SOLU !进入求解器D,2,UXD,2,UYD,3,UYD,6,UYD,9,UY !施加位移约束F,10,FY,-4 !施加集中约束SFBEAM,1,1,PRES,4,4SFBEAM,2,1,PRES,4,4 !施加均布力SOLVE !求解/POST1 !进入后处理器PLDISP !绘制结构变形图PRDISP !列出各节点的位移ETABLE,IMOMENT,SMISC,6ETABLE,JMOMENT,SMISC,12ETABLE,ISHEAR,SMISC,2ETABLE,JSHEAR,SMISC,8 !将节点弯矩、剪力制表PRETAB !列表显示单元的弯矩、剪力/TITLE,SHEAR FORCE DISTRIBUTION !设置剪力分布图的标题PLLS,ISHEAR,JSHEAR !绘制剪力分布图/TITLE,BENDING MOMENT IDSTRIBUTION !设置弯矩分布图的标题PLLS,IMOMENT,JMOMENT !绘制弯矩分布图流固耦合实例RAD=0.8 !底面半径H=1G=9.8OMEGAR=2ROU=1000 !定义参数变量/PREP7 !进入前处理器ET,1,FLUID79 !选择单元类型KEYOPT,1,3,1 !设置单元关键字MP,EX,1,2E9 !设置杨氏模量MP,DENS,1,ROU !设置材料密度K,1K,2,RADK,3,RAD,HK,4,,H !生成关键点A,1,2,3,4 !连接关键点生成面积LESIZE,ALL,,,10 !设置网格划分精度AMESH,ALL !将面积划分网络/SOLU !进入求解器DL,2,,UXDL,1,,UYNSEL,S,LOC,XDSYM,SYMM,XD,ALL,UXNSEL,ALL !施加位移约束ACEL,,GOMEGA,,OMEGAR !施加惯性力SOLVE !求解/POST1SET,LAST !进入通用后处理器PLNSOL,U,X,0,1 !绘制应力云图UCENT=UY(22)UEDGE=UY(12)UELEV=UEDGE-UCENT !提取节点位移结构静力分析--壳结构内力分析LENGTH=100YOUNG=200000THICKNESS=2FORCE=1000DENSITY=9E-6 !将材质、载荷、板的几何尺寸等参数化/PREP7 !进入前处理器MP,EX,1,YOUNGMP,NUXY,1,0.3MP,DENS,1,DENSITY !定义材质ET,1,SHELL63 !定义单元类型R,1,THICKNESS,THICKNESS,THICKNESS,THICKNESS !定义实常数!构建结构的几何模型K,1,0,0K,2,LENGTH,0K,3,LENGTH,LENGTHK,4,0,LENGTH !定义关键点A,1,2,3,4!通过关键点生成面LSEL,ALLLESIZE,ALL,,,16AMESH,ALL !设定网格划分参数,划分网格FINISH/SOLU !进入求解器NSEL,S,LOC,X,0,0D,ALL,ALL,0 !选择X=0的节点将其固定NSEL,S,LOC,X,LENGTH,LENGTHD,ALL,ALL,0 !选择X=LENGTH的节点将其固定NSEL,S,LOC,X,0.5*LENGTH,0.5*LENGTHNSEL,R,LOC,Y,0.5*LENGTH,0.5*LENGTHF,ALL,FZ,FORCEALLSEL !捕捉板的中心点并在中心点处施加集中力荷载SOLVE !求解FINISH/POST1 !进入后处理器/DSC,,10PLNSOL,U,Z,0,1 !绘图显示板的竖向变形NSEL,ALL !提取板的最大竖向变形NSORT,U,Z,1,1 !将节点的位移绝对值以升序排序*GET,MAXDEFLECTION,SORT,0,MAX !提取位移最大值并赋给变量NSEL,S,LOC,X,0NSEL,A,LOC,X,LENGTH,LENGTH !选择固定边节点NSORT,S,EQV,1,1 !将节点等效应力的绝对值以升序排序*GET,MAXSTRESS,SORT,0,MAX !提取等效应力最大值并赋给变量结构静力分析--平面桁架分析/PREP7 !进入前处理器ET,1,LINK1 !选择单元R,1,0.1 !定义实常数MP,EX,1,30E6MP,PRXY,1,0.3 !定义材料属性N,1,0N,2,4N,3,8N,4,12N,5,0,3N,6,4,3N,7,8,3 !生成节点E,1,2E,2,3E,3,4E,4,7E,3,7E,2,7E,2,6E,2,5E,1,5E,5,6E,6,7 !生成单元FINISH/SOLU !进入求解器D,1,UXD,1,UYD,5,UX !实加位移约束F,2,FY,-15F,3,FY,-15F,4,FY,-15 !施加集中力SOLVE !求解/POST1 !进入能用后处理器PRESOL,FORC !列表显示反力。
ANSYS命令流实例
/PREP7 !进入前处理ANTYPE,STATIC !设置分析类型为静力结构分析PSTRES,ON !用于后面的模态分析中考虑预应力(该开关不影响静力分析)ET,1,LINK10 !选取单元类型1(单向杆单元)KEYOPT,1,3,0 !设置仅承受拉应力,KEYOPT(3)=0R,1,306796E-8,543248E-8 !设置实常数,包括绳索截面积(306796E-8),初始应变(543248E-8) MP,EX,1,30E6 !定义材料的弹性模量(1号材料)MP,DENS,1,73E-5 !定义材料的密度(1号材料)N,1 ! 定义第1号节点N,14,100 ! 定义第14号节点FILL ! 均分填满第2号至第13号节点E,1,2 !由节点1及节点2生成单元EGEN,13,1,1 !依序复制生成13个单元D,ALL,ALL ! 对所有节点施加固定约束FINISH ! 前处理结束/SOLU ! 进入求解模块,求解预应力引起的应力状态SOLVE ! 求解FINISH ! 退出求解模块/POST1 ! 进入一般的后处理ETABLE,STRS,LS,1 !针对LINK10单元,建立单元列表STRS,通过LS及特征号1来获得单元的轴向应力*GET,STRSS,ELEM,13,ETAB,STRS !针对单元列表STRS, 提取13号单元的应力FINISH ! 后处理结束/POST26 ! 进入时间历程后处理,处理支反力RFORCE,2,1,F,X !将1号节点上的x方向支反力提取,并存储到2号变量中STORE ! 存储*GET,FORCE,V ARI,2,EXTREM,VMAX !将2号变量的最大值赋给参数FORCE/SOLU ! 再次进入求解模块,模态分析ANTYPE,MODAL ! 模态分析MODOPT,SUBSP,3 ! 选择子空间迭代法,求3阶模态MXPAND,3 ! 设定3阶模态扩展PSTRES,ON ! 用于在模态分析中考虑预应力(还需在前面的静力分析中也同时打开) DDELE,2,UX,13 ! 删除从2号节点到13号节点上的UX约束DDELE,2,UY,13 !删除从2号节点到13号节点上的UY约束SOLVE !求解*GET,FREQ1,MODE,1,FREQ ! 提取第1阶模态共振频率,并赋值给参数FREQ1*GET,FREQ2,MODE,2,FREQ ! 提取第2阶模态共振频率,并赋值给参数FREQ2*GET,FREQ3,MODE,3,FREQ ! 提取第3阶模态共振频率,并赋值给参数FREQ3*STATUS !列出所有参数的实际内容。
ANSYS 分析的命令流(APDL语言)
ANSYS 分析的命令流(APDL语言)前面分析的过程都是基于ANSYS用户图形界面(GUI命令流)形式,GUI 形式非常的直观明了,分析过程中通常会采用此种的分析方式。
但是这种分析方式会有一个缺点,就是当我们操作失误时候,没有后退的功能,因此我们不得不重新操作,这样就会给分析带来很多的麻烦。
但如果以命令流的形式进行计算的话就能很容易的减少这些麻烦。
下面就是本次点机前处理和分析计算过程的命令流/UNITS,SI !采用国际单位制/TITLE,2D DIANJI Static Analysis !定义分析名称KEYW,MAGNOD,1*AFUN,DEG !指定角度单位为度/PREP7 !进入前处理器ET,1,PLANE53 !设定单元类型为plane53EMUNIT,MKS !电磁单位LOCAL,12,0,0,0,0,90 !定义局部坐标系12--17LOCAL,13,0,0,0,0,30LOCAL,14,0,0,0,0,330LOCAL,15,0,0,0,0,270LOCAL,16,0,0,0,0,210LOCAL,17,0,0,0,0,150MP,MURX,1,1.0 ! 定义第一种材料的相对磁导率MP,MURX,2,1.0 ! 定义第二种材料的相对磁导率TB,BH,3TBPT,,35.03,0.1 ! 第三种材料的B-H磁化特性TBPT,,46.97,0.2TBPT,,57.32,0.3TBPT,,66.08,0.4TBPT,,74.04,0.5TBPT,,82.01,0.6TBPT,,91.56,0.7TBPT,,103.5,0.8TBPT,,117.83,0.9TBPT,,136.15,1TBPT,,160.83,1.1TBPT,,203.03,1.2TBPT,,286.62,1.3TBPT,,461.78,1.4TBPT,,955.41,1.5TBPT,,2547.8,1.6!TBPLOT,BH,3 !绘制B-H曲线TB,BH,4TBPT,,130,0.1 ! 定义第四种材料的B-H磁化特性TBPT,,170,0.2TBPT,,197,0.3TBPT,,218,0.4TBPT,,250,0.5TBPT,,290,0.6TBPT,,338,0.7TBPT,,400,0.8TBPT,,472,0.9TBPT,,570,1TBPT,,682,1.1TBPT,,810,1.2TBPT,,970,1.3TBPT,,1600,1.4TBPT,,2520,1.5TBPT,,3520,1.6!TBPLOT,BH,4 !绘制B-H曲线MP,MURX,5,1.17 ! 定义第五种材料的相对磁导率MP,MGXX,5,4.4E+005 ! 定义矫顽力矢量为X方向分量MP,MURX,6,1.17 ! 定义第六种材料的相对磁导率MP,MGXX,6,4.4E+005 ! 定义矫顽力矢量为X方向分量MP,MURX,7,1.17 ! 定义第七种材料的相对磁导率MP,MGXX,7,4.4E+005 ! 定义矫顽力矢量为X方向分量MP,MURX,8,1.17 ! 定义第八种材料的相对磁导率MP,MGXX,8,4.4E+005 ! 定义矫顽力矢量为X方向分量MP,MURX,9,1.17 ! 定义第九种材料的相对磁导率MP,MGXX,9,4.4E+005 ! 定义矫顽力矢量为X方向分量MP,MURX,10,1.17 ! 定义第十种材料的相对磁导率MP,MGXX,10,4.4E+005 ! 定义矫顽力矢量为X方向分量RECTNG,-0.00275,0.00275,0.0485,0.062 ! 创建一个矩形RECTNG,-0.00025,0.00025,0.048,0.0485 ! 再创建一个矩形AADD,ALL ! 将两个矩形融合在一起,形成槽结构CSYS,1 !转动工作平面到柱坐标下AGEN,36,3,38,1,,10,0 ! 复制槽/PNUM,AREA,ALL ! 给所有槽编号PCIRC,0.048,0.074 ! 创建定子圆环AOVLAP,ALL !对定子圆环和槽进行交迭布尔操作使得在连接线上共节点PCIRC,0.037,0.047,78,102 ! 创建永磁体极CSYS,1 !转到柱坐标下AGEN,6,3,8,1,,60,0 ! 复制6个磁极PCIRC,0.023,0.047 ! 创建转子圆环AOVLAP,3,10,45,51,57,63,69 ! 对转子圆环与磁极进行交迭操作PCIRC,0.047,0.0475 !创建两层气隙PCIRC,0.0475,0.048AOVLAP,ALLAGLUE,ALL ! 将所有交接面黏在一起NUMCMP,AREA !压缩面编号ASEL,S,AREA,,1,35 !选中槽ASEL,A,AREA,,42AATT,1 !材料定义为1号材料ASEL,S,AREA,,45ASEL,A,AREA,,43 !选中气隙AATT,2 !材料定义为2号材料ASEL,S,AREA,,46 !选中定子铁芯AATT,3 !材料定义为3号材料ASEL,S,AREA,,44 !选中转子磁轭AATT,4 !材料定义为4号材料ASEL,S,AREA,,40 !选中第1-6个永磁体磁极AATT,5,,,12 !材料定义为5-10号材料ASEL,S,AREA,,39AATT,6,,,13ASEL,S,AREA,,38AATT,7,,,14ASEL,S,AREA,,41AATT,8,,,15ASEL,S,AREA,,37AATT,9,,,16ASEL,S,AREA,,36AATT,10,,,17/PNUM,MAT,1 !打开材料编号APLOT !重新显示ALLSEL,ALL !选择所有实体SMRTSIZE,1 !指定智能网格划分等级L AMESH,ALL !智能网格划分!ESEL,S,MAT,,1!CM,ARM,ELEM!FMAGBC,'ARM'!SA VE,DIANJI_2D_MESH.db !保存!SA VEFINISH !完成网格划分/SOLU !进入求解器ANTYPE,STATIC !选择静态磁场分析NROPT,AUTO !采用牛顿---拉夫森迭代方法!ASEL,S,AREA,,1,35 !选中槽!ASEL,A,AREA,,42!BFE,ALL,JS,1,,,15000000 !施加电流密度LOCAL,11,1 ! 定义柱坐标系FLST,2,8,4,ORDE,4FITEM,2,289FITEM,2,-292FITEM,2,561FITEM,2,-564DL,P51X, ,AZ,0, !加边界条件ALLSEL,ALLMAGSOLV!SA VE,EMAGE_2D_MESH.db !保存!SA VEFINISH/POST1PLF2D,27,0,10,1 !显示磁力线图FMAGSUM,'ARM' !对电磁力求和plvect,B,,,,VECT,ELEM,ON,0 !显示磁感应强度矢量plvect,H,,,,VECT,ELEM,ON,0 !显示磁场强度矢量/GRAPHICS,POWERA VRES,2PLNSOL,B,SUM !显示磁通密度等值云图flishESEL,S,MAT,,2CM,ARM,ELEM!生成一个组件FMAGSUM,'ARM'!以下命令流是保存图片时使用,使其背景为白,结合PlotCtrlsHard ﹥Copy命令可设置格式/GRAPHICS,POWER/RGB,INDEX,100,100,100, 0/RGB,INDEX, 80, 80, 80,13/RGB,INDEX, 60, 60, 60,14/RGB,INDEX, 0, 0, 0,15/REPLOT !背景反白显示/SHOW,JPEG,,0JPEG,QUAL,75,JPEG , ORIENT, HORIZJPEG , Color, 2JPEG , TMOD, 1/GFILE,600,EPLOT/SHOW,CLOSE/DEVICE,VECTOR,0。
(完整版)ANSYS最常用命令流+中文注释(超级大全)
ANSYS最常用命令流+中文注释VSBV, NV1, NV2, SEPO, KEEP1, KEEP2 —Subtracts volumes from volumes,用于2个solid相减操作,最终目的是要nv1-nv2=?通过后面的参数设置,可以得到很多种情况:sepo项是2个体的边界情况,当缺省的时候,是表示2个体相减后,其边界是公用的,当为sepo的时候,表示相减后,2个体有各自的独立边界。
keep1与keep2是询问相减后,保留哪个体?当第一个为keep时,保留nv1,都缺省的时候,操作结果最终只有一个体,比如:vsbv,1,2,sepo,,keep,表示执行1-2的操作,结果是保留体2,体1被删除,还有一个1-2的结果体,现在一共是2个体(即1-2与2),且都各自有自己的边界。
如vsbv,1,2,,keep,,则为1-2后,剩下体1和体1-2,且2个体在边界处公用。
同理,将v换成a 及l是对面和线进行减操作!mp,lab, mat, co, c1,…….c4 定义材料号及特性lab: 待定义的特性项目(ex,alpx,reft,prxy,nuxy,gxy,mu,dens) ex: 弹性模量nuxy: 小泊松比alpx: 热膨胀系数reft: 参考温度reft: 参考温度prxy: 主泊松比gxy: 剪切模量mu: 摩擦系数dens: 质量密度mat: 材料编号(缺省为当前材料号)co: 材料特性值,或材料之特性,温度曲线中的常数项c1-c4: 材料的特性-温度曲线中1次项,2次项,3次项,4次项的系数定义DP材料:首先要定义EX和泊松比:MP,EX,MA T,……MP,NUXY,MAT,……定义DP材料单元表(这里不考虑温度):TB,DP,MA T进入单元表并编辑添加单元表:TBDATA,1,CTBDATA,2,ψTBDATA,3,……如定义:EX=1E8,NUXY=0.3,C=27,ψ=45的命令如下:MP,EX,1,1E8MP,NUXY,1,0.3TB,DP,1TBDATA,1,27TBDATA,2,45这里要注意的是,在前处理的最初,要将角度单位转化到“度”,即命令:*afun,degVSEL, Type, Item, Comp, VMIN, VMAX, VINC, KSWP Type,是选择的方式,有选择(s),补选(a),不选(u),全选(all)、反选(inv)等,其余方式不常用Item, Comp 是选取的原则以及下面的子项如volu 就是根据实体编号选择,loc 就是根据坐标选取,它的comp就可以是实体的某方向坐标!其余还有材料类型、实常数等MIN, VMAX, VINC,这个就不必说了吧!,例:vsel,s,volu,,14vsel,a,volu,,17,23,2上面的命令选中了实体编号为14,17,19,21,23的五个实体VDELE, NV1, NV2, NINC, KSWP: 删除未分网格的体nv1:初始体号nv2:最终的体号ninc:体号之间的间隔kswp=0:只删除体kswp=1:删除体及组成关键点,线面如果nv1=all,则nv2,ninc不起作用其后面常常跟着一条显示命令VPLO,或aplo,nplo,这个湿没有参数的命令,输入后直接回车,就可以显示刚刚选择了的体、面或节点,很实用的哦!Nsel, type, item, comp, vmin, vmax, vinc, kabs 选择一组节点为下一步做准备Type: S: 选择一组新节点(缺省)R: 在当前组中再选择A: 再选一组附加于当前组U: 在当前组中不选一部分All: 恢复为选中所有None: 全不选Inve: 反向选择Stat: 显示当前选择状态Item: loc: 坐标node: 节点号Comp: 分量Vmin,vmax,vinc: ITEM范围Kabs: “0” 使用正负号“1”仅用绝对值下面是单元生死第一个载荷步中命令输入示例:!第一个载荷步TIME,... !设定时间值(静力分析选项)NLGEOM,ON !打开大位移效果NROPT,FULL !设定牛顿-拉夫森选项ESTIF,... !设定非缺省缩减因子(可选)ESEL,... !选择在本载荷步中将不激活的单元EKILL,... !不激活选择的单元ESEL,S,LIVE !选择所有活动单元NSLE,S !选择所有活动结点NSEL,INVE !选择所有非活动结点(不与活动单元相连的结点)D,ALL,ALL,0 !约束所有不活动的结点自由度(可选)NSEL,ALL !选择所有结点ESEL,ALL !选择所有单元D,... !施加合适的约束F,... !施加合适的活动结点自由度载荷SF,... !施加合适的单元载荷BF,... !施加合适的体载荷SA VESOLVE请参阅TIME,NLGEOM,NROPT,ESTIF,ESEL,EKILL,NSLE,NSEL,D, F,SF和BF命令得到更详细的解释。
ansys实例命令流-瞬态动力学分析命令流
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,DENS,1,,7.9e-6
! 定义杆件截面■200。
SECTYPE, 1, BEAM, RECT, , 0
SECOFFSET, CENT
SECDATA,10,10,0,0,0,0,0,0,0,0
!建立几何模型。
K,1, ,, ,
K,2,350,, ,
!生成立柱。
LSTR,
1,
2
!以上完成几何模型。
!以下进行网格划分。
FLST,5,1,4,ORDE,1
FITEM,5,1
CM,_Y,LINE
LSEL, , , ,P51X
CM,_Y1,LINE
CMSEL,,_Y
LESIZE,_Y1, , ,50, , , , ,1
!定义单元大小。
!分配、划分平板结构。
LMESH,
1
!分析类型施加载荷并求解。
FINISH
/SOL
ANTYPE,4
TRNOPT,FULL
LUMPM,0 NLGEOM,1 !定义载荷。 !* *DEL,_FNCNAME *DEL,_FNCMTID *DEL,_FNCCSYS *SET,_FNCNAME,'F1' *SET,_FNCCSYS,0 ! /INPUT,F1.func,,,1 *DIM,%_FNCNAME%,TABLE,6,10,1,,,,%_FNCCSYS% ! ! Begin of equation: 400*sin(2*PI/0.24*{TIME}) *SET,%_FNCNAME%(0,0,1), 0.0, -999 *SET,%_FNCNAME%(2,0,1), 0.0 *SET,%_FNCNAME%(3,0,1), 0.0 *SET,%_FNCNAME%(4,0,1), 0.0 *SET,%_FNCNAME%(5,0,1), 0.0 *SET,%_FNCNAME%(6,0,1), 0.0 *SET,%_FNCNAME%(0,1,1), 1.0, -1, 0, 2, 0, 0, 0 *SET,%_FNCNAME%(0,2,1), 0.0, -2, 0, 3.14159265358979310, 0, 0, -1 *SET,%_FNCNAME%(0,3,1), 0, -3, 0, 1, -1, 3, -2 *SET,%_FNCNAME%(0,4,1), 0.0, -1, 0, 0.24, 0, 0, -3 *SET,%_FNCNAME%(0,5,1), 0.0, -2, 0, 1, -3, 4, -1 *SET,%_FNCNAME%(0,6,1), 0.0, -1, 0, 1, -2, 3, 1 *SET,%_FNCNAME%(0,7,1), 0.0, -1, 9, 1, -1, 0, 0 *SET,%_FNCNAME%(0,8,1), 0.0, -2, 0, 400, 0, 0, -1 *SET,%_FNCNAME%(0,9,1), 0.0, -3, 0, 1, -2, 3, -1 *SET,%_FNCNAME%(0,10,1), 0.0, 99, 0, 1, -3, 0, 0 ! End of equation: 400*sin(2*PI/0.24*{TIME}) !--> *DEL,_FNCNAME *DEL,_FNCMTID *DEL,_FNCCSYS *SET,_FNCNAME,'F2' *SET,_FNCCSYS,0 ! /INPUT,F2.func,,,1 *DIM,%_FNCNAME%,TABLE,6,10,1,,,,%_FNCCSYS%
ANSYS_结构稳态(静力)分析之经典实例-命令流格式
ANSYS_结构稳态(静力)分析之经典实例-命令流格式.txt27信念的力量在于即使身处逆境,亦能帮助你鼓起前进的船帆;信念的魅力在于即使遇到险运,亦能召唤你鼓起生活的勇气;信念的伟大在于即使遭遇不幸,亦能促使你保持崇高的心灵。
/FILNAME,Allen-wrench,1 ! Jobname to use for all subsequent files/TITLE,Static analysis of an Allen wrench/UNITS,SI ! Reminder that the SI system of units is used/SHOW ! Specify graphics driver for interactive run; for batch! run plots are written to pm02.grph! Define parameters for future useEXX=2.07E11 ! Young's modulus (2.07E11 Pa = 30E6 psi)W_HEX=.01 ! Width of hex across flats (.01m=.39in)*AFUN,DEG ! Units for angular parametric functions定义弧度单位W_FLAT=W_HEX*TAN(30) ! Width of flatL_SHANK=.075 ! Length of shank (short end) (.075m=3.0in)L_HANDLE=.2 ! Length of handle (long end) (.2m=7.9 in)BENDRAD=.01 ! Bend radius of Allen wrench (.01m=.39 in)L_ELEM=.0075 ! Element length (.0075 m = .30 in)NO_D_HEX=2 ! Number of divisions on hex flatTOL=25E-6 ! Tolerance for selecting nodes (25e-6 m = .001 in)/PREP7ET,1,SOLID45 ! 3维实体结构单元;Eight-node brick elementET,2,PLANE42 ! 2维平面结构;Four-node quadrilateral (for area mesh)MP,EX,1,EXX ! Young's modulus for material 1;杨氏模量MP,PRXY,1,0.3 ! Poisson's ratio for material 1;泊松比RPOLY,6,W_FLAT ! Hexagonal area创建规则的多边形K,7 ! Keypoint at (0,0,0)K,8,,,-L_SHANK ! Keypoint at shank-handle intersectionK,9,,L_HANDLE,-L_SHANK ! Keypoint at end of handleL,4,1 ! Line through middle of hex shapeL,7,8 ! Line along middle of shankL,8,9 ! Line along handleLFILLT,8,9,BENDRAD ! Line along bend radius between shank and handle! 产生一个倒角圆,并生成三个点/VIEW,,1,1,1 ! Isometric view in window 1/ANGLE,,90,XM ! Rotates model 90 degrees about X! 不用累积的旋转/TRIAD,ltop/PNUM,LINE,1 ! Line numbers turned onLPLOT! Line numbers off!/PNUM,KP,1KPLOTL,1,4 ! Hex section is cut into two quadrilateralsASBL,1,7,,,KEEP ! to satisfy mapped meshing requirements for bricks! 减线从面中CM,BOTAREA,AREA ! Component name BOTAREA for the two areas! Generate area mesh for later drag/PNUM,KP,0LPLOTLESIZE,1,,,NO_D_HEX ! Number of divisions along line 1 为线指定网格尺寸LESIZE,2,,,NO_D_HEXLESIZE,6,,,NO_D_HEXTYPE,2 ! PLANE42 elements to be meshed firstMSHAPE,0,2D ! Mapped quad mesh 指定单元要划分的形状和维数MSHKEY,1 ! 指定了映射网格划分SAVE ! Save database before meshingAMESH,ALL/TITLE,Meshed hex wrench end to be used in vdragEPLOT! Now drag the 2-D mesh to produce 3-D elementsTYPE,1 ! Type pointer set to SOLID45ESIZE,L_ELEM ! Element sizeVDRAG,2,3,,,,,8,10,9 ! Drag operation to create 3-D mesh面掠生成体/TYPE,,HIDP ! Precise hidden line display 显示要求是精确/TITLE,Meshed hex wrenchEPLOTCMSEL,,BOTAREA ! Select BOTAREA component and! 选择一个子集ACLEAR,ALL ! delete the 2-D elements! 清楚选择单元的几点和单元ASEL,ALLFINISH ! Apply loads and obtain the solution/SOLUANTYPE,STATIC ! Static analysis (default)/TITLE,Allen wrench -- Load step 1! First fix all nodes around bottom of shankCMSEL,,BOTAREA ! Bottom areas of shank 选择以前建立的一个单元面积的组合LSEL,,EXT ! Exterior lines of those areas 显示线NSLL,,1 ! Nodes on those linesD,ALL,ALL ! Displacement constraintsLSEL,ALL/PBC,U,,2 ! Displacement symbols turned on 显示位移约束的符号/TITLE,Boundary conditions on end of wrenchNPLOT!Now apply pressure on handle to represent 100-N (22.5-lb) finger forceASEL,,LOC,Y,BENDRAD,L_HANDLE ! Areas on handleASEL,R,LOC,X,W_FLAT/2,W_FLAT ! Two areas on one side of handle...NSLA,,1 ! ...and all corresponding nodesNSEL,R,LOC,Y,L_HANDLE+TOL,L_HANDLE-(3.0*L_ELEM)-TOL ! Reselects nodes at 位置 ! back end of handle (3 element lengths)*GET,MINYVAL,NODE,,MNLOC,Y ! Get minimum Y value of selected nodes预处理中的结点项;问题是得到一个什么样的值,结点的什么?*GET,MAXYVAL,NODE,,MXLOC,Y ! Get maximum Y value of selected nodes是中心位置的值吗?PTORQ=100/(W_HEX*(MAXYVAL-MINYVAL)) ! Pressure equivalent to 100 NSF,ALL,PRES,PTORQ ! PTORQ pressure on all selected nodes 指定节点上的表面力的载荷ALLSEL ! Restores full set of all entities/PSF,PRES,,2 ! Pressure symbols turned on 以箭头显示载荷/TITLE,Boundary conditions on wrench for load step 1NPLOTLSWRITE ! Writes first load step/TITLE, Allen wrench -- load step 2! Downward pressure on top of handle, representing 20-N (4.5 -lb) forcePDOWN=20/(W_FLAT*(MAXYVAL-MINYVAL))ASEL,,LOC,Z,-(L_SHANK+(W_HEX/2)) ! Area on top flat of handle...NSLA,,1 ! ...and all corresponding nodesNSEL,R,LOC,Y,L_HANDLE+TOL,L_HANDLE-(3.0*L_ELEM)-TOL ! Reselects nodes at! back end of handle (3 element lengths)SF,ALL,PRES,PDOWN ! PDOWN pressure at all selected nodesALLSEL/TITLE,Boundary conditions on wrench for load step 2NPLOTLSWRITE ! Writes second load stepSAVE ! Save database before solutionLSSOLVE,1,2 ! Initiates solution for load step files 1 and 2!Review the resultsFINISH/POST1SET,1 ! Reads load step 1 resultsPRRSOL ! Reaction solution listing/PBC,DEFA ! No BC symbols 重新安排规格说明/PSF,DEFA ! No surface load symbols 重新安排载荷的显示/EDGE,,1 ! Edges only, no interior element outlines 只显示边缘单元的显示/TITLE,Deformed allen wrench caused by torquePLDISP,2 ! Deformed shape overlaid with undeformed edge plot 显示结构转移/GSAVE,pldisp,gsav ! Saves graphics specifications on pldisp.gsav 保存为此图形文件,稍后再用/PLOPTS,INFO,ON ! Turns on entire legend column 打开边框形式;开启全部的图形圆柱/PLOPTS,LEG1,OFF ! Turns off legend header 关闭图形轮廓线的标题(头部)/ANGLE,,120,YM,1 ! Additional rotation about model Y (to see high stress areas)/TITLE,Stress intensity contours caused by torquePLNSOL,S,INT ! Stress intensity(应力强度) contours 组元应力/GSAVE,plnsol,gsav ! Saves graphics specifications to plnsol.gsavSET,2 ! Reads load step 2 resultsPRRSOL ! Reaction solution listing/GRESUME,pldisp,gsav ! 恢复pldisp文件;Resumes graphics specifications from pldisp.gsav/TITLE,Deformed allen wrench caused by torque and forcePLDISP,2/GRESUME,plnsol,gsav ! Resumes graphics specifications from plnsol.gsav/TITLE,Stress intensity contours caused by torque and forcePLNSOL,S,INTWPOF,,,-0.067 ! 把工作平面在Z方向偏移,达到后面要的截面的位置Offset the working plane for cross-section view从Z轴方向偏移工作平面/TYPE,1,5 ! Capped hidden display 显示剖面/CPLANE,1 ! 以共工作平面来剪切截面 Cutting plane defined to use the WP 把平面切开/VIEW, 1 ,WP ! View will be normal to the WP正切于当前的工作平面/DIST,1,.01 ! Zoom in on the cross section 指定详细的扩大倍数进行查看/TITLE,Cross section of the allen wrench under torque and force loading PLNSOL,S,INT! ***********************************GUI操作后的一些log文件命令流的解释说明***********************************/BATCH/COM,ANSYS RELEASE 11.0SP1 UP20070830 15:05:16 02/20/2009/TITLE,Static Analysis of an Allen Wrench*AFUN,DEG*SET,EXX, 2.07E11*SET,W_HEX, .01*SET,W_FLAT, W_HEX*TAN(30)*SET,L_SHANK, .075*SET,L_HANDLE, .2*SET,L_ELEM, .0075*SET,NO_D_HEX, 2*SET,TOL, 25E-6*SET,BENDRAD, .01/PREP7ET,1,SOLID45ET,2,PLANE42MPTEMP,,,,,,,,MPTEMP,1,0MPDATA,EX,1,,EXX ! 与温度相对应的材料属性MPDATA,PRXY,1,,0.3RPOLY,6,W_FLAT, ! 创建规则的多边形K,7,,,,K,8,,,-L_SHANK,K,9,,L_HANDLE,-L_SHANK,!*/VIEW, 1 ,1,1,1/ANG, 1/REP,FAST!*/ANGLE,1,90,XS,0 ! 不用累积的旋转LSTR, 4, 1 ! 两点定义一条直线LSTR, 7, 8LSTR, 8, 9LFILLT,8,9,BENDRAD, , ! 产生一个倒角圆,并生成三个点SAVEAPLOTFLST,2,1,5,ORDE,1FITEM,2,1LPLOTFLST,3,1,4,ORDE,1FITEM,3,7ASBL,P51X,P51X, , ,KEEP ! 减线从面中CM,BOTAREA,AREA ! 创建一个面的组合FLST,5,3,4,ORDE,3FITEM,5,1FITEM,5,-2FITEM,5,6CM,_Y,LINELSEL, , , ,P51XCM,_Y1,LINECMSEL,,_YLESIZE,_Y1, , ,NO_D_HEX, , , , ,1TYPE, 2MAT, 1REAL,ESYS, 0SECNUM,TSHAP,LINE!*MOPT,AMESH,DEFAMOPT,QMESH,DEFAMOPT,VMESH,DEFAMOPT,TIMP,1MOPT,PYRA,ONMOPT,AORD,0MOPT,SPLIT,1MSHKEY,1MSHMID,0MSHPATTERN,0KEYW,ACCEPT,0!*MSHAPE,0,2DMSHAPE,0,3D!*SAVEFLST,5,2,5,ORDE,2FITEM,5,2FITEM,5,-3CM,_Y,AREAASEL, , , ,P51XCM,_Y1,AREACHKMSH,'AREA'CMSEL,S,_Y!*AMESH,_Y1!*CMDELE,_YCMDELE,_Y1CMDELE,_Y2!*EPLOTTYPE, 1MAT, 1REAL,ESYS, 0SECNUM,TSHAP,LINE!*ESIZE,L_ELEM,0, ! 指定线的份数LPLOTFLST,2,2,5,ORDE,2FITEM,2,2FITEM,2,-3FLST,8,2,4FITEM,8,8FITEM,8,10VDRAG,P51X, , , , , ,P51X/AUTO,1/REP,FASTEPLOTSAVECMSEL,S,BOTAREA ! 选择一个子集FLST,2,2,5,ORDE,2FITEM,2,2FITEM,2,-3ACLEAR,P51X ! 清楚选择单元的几点和单元ALLSEL,ALLEPLOTCMSEL,S,BOTAREALSEL,S,EXTNSLL,S,1FINISHFLST,2,18,1,ORDE,4FITEM,2,1FITEM,2,-10FITEM,2,17FITEM,2,-24/soluD,P51X, , , , , ,ALL, , , , ,LSEL,ALLASEL,S,LOC,Y,BENDRAD,L_HANDLEASEL,R,LOC,X,W_FLAT/2,W_FLATNSLA,S,1NSEL,R,LOC,Y,L_HANDLE+TOL,L_HANDLE-(3.0*L_ELEM)-TOL !**GET,minyval,NODE,,MNLOC,Y, , , ,*GET,maxyval,NODE,,MXLOC,X, , ,,*SET,PTORQ,100/(W_HEX*(MAXYVAL-MINYVAL))ALLSEL,ALLFLST,2,364,1,ORDE,2FITEM,2,1FITEM,2,-364SF,P51X,PRES,PTORQALLSEL,ALLNPLOTSAVELSWRITE,1,*SET,PDOWN,20/(W_FLAT*(MAXYVAL-MINYVAL))ASEL,S,LOC,Z,-(L_SHANK+(W_HEX/2))NSLA,S,1NSEL,R,LOC,Y,L_HANDLE+TOL,L_HANDLE-(3.0*L_ELEM)-TOL ALLSEL,ALLFLST,2,364,1,ORDE,2FITEM,2,1FITEM,2,-364SF,P51X,PRES,PDOWNALLSEL,ALLNPLOTLSWRITE,2,SAVELSSOLVE,1,2,1,FINISH/POST1SET,FIRSTPRRSOL,/PBC,ALL, ,0/REP/EDGE,1,1,45/GLINE,1,0PLDISP,1/GSAVE,'pldisp','gsa',' ' !*/ANGLE,1,120,YM,1/REPLOT/EFACET,1PLNSOL, S,INT, 0,1.0/GSAVE,'plnsol','gsa',' 'SET,NEXTPRRSOL,/GRESUME,'pldisp','gsa',' ' PLDISP,1/GRESUME,'plnsol','gsa',' ' !*/EFACET,1PLNSOL, S,INT, 0,1.0wprot,0,0,-0.067/GRAPHICS,POWER!*/TYPE,1,5/CPLANE,1/SHADE,1,1/HBC,1,0/REPLOT!*/VIEW, 1 ,WP/REP,FAST/REPLOT,RESIZE/VIEW,1,1,2,3/ANG,1/REP,FASTFINISH! /EXIT,NOSAV。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
/PREP7 !进入前处理
ANTYPE,STATIC !设置分析类型为静力结构分析
PSTRES,ON !用于后面的模态分析中考虑预应力(该开关不影响静力分析)
ET,1,LINK10 !选取单元类型1(单向杆单元)
KEYOPT,1,3,0 !设置仅承受拉应力,KEYOPT(3)=0
R,1,306796E-8,543248E-8 !设置实常数,包括绳索截面积(306796E-8),初始应变(543248E-8) MP,EX,1,30E6 !定义材料的弹性模量(1号材料)
MP,DENS,1,73E-5 !定义材料的密度(1号材料)
N,1 ! 定义第1号节点
N,14,100 ! 定义第14号节点
FILL ! 均分填满第2号至第13号节点
E,1,2 !由节点1及节点2生成单元
EGEN,13,1,1 !依序复制生成13个单元
D,ALL,ALL ! 对所有节点施加固定约束
FINISH ! 前处理结束
/SOLU ! 进入求解模块,求解预应力引起的应力状态
SOLVE ! 求解
FINISH ! 退出求解模块
/POST1 ! 进入一般的后处理
ETABLE,STRS,LS,1 !针对LINK10单元,建立单元列表STRS,通过LS及特征号1来获得单元的轴向应力
*GET,STRSS,ELEM,13,ETAB,STRS !针对单元列表STRS, 提取13号单元的应力
FINISH ! 后处理结束
/POST26 ! 进入时间历程后处理,处理支反力
RFORCE,2,1,F,X !将1号节点上的x方向支反力提取,并存储到2号变量中
STORE ! 存储
*GET,FORCE,V ARI,2,EXTREM,VMAX !将2号变量的最大值赋给参数FORCE
/SOLU ! 再次进入求解模块,模态分析
ANTYPE,MODAL ! 模态分析
MODOPT,SUBSP,3 ! 选择子空间迭代法,求3阶模态
MXPAND,3 ! 设定3阶模态扩展
PSTRES,ON ! 用于在模态分析中考虑预应力(还需在前面的静力分析中也同时打开) DDELE,2,UX,13 ! 删除从2号节点到13号节点上的UX约束
DDELE,2,UY,13 !删除从2号节点到13号节点上的UY约束
SOLVE !求解
*GET,FREQ1,MODE,1,FREQ ! 提取第1阶模态共振频率,并赋值给参数FREQ1
*GET,FREQ2,MODE,2,FREQ ! 提取第2阶模态共振频率,并赋值给参数FREQ2
*GET,FREQ3,MODE,3,FREQ ! 提取第3阶模态共振频率,并赋值给参数FREQ3
*STATUS !列出所有参数的实际内容。