1、ansys心血管建模命令流!血管简易分析模拟!(一) 建立血管!1.参数定义FINISH/CLEAR/FILNAME,Vessel,1 !文件命名/TITLE,Vessel!STEP1 几何参数定义/UNITS,SI !国际单位制!进入前处理/PREP7!STEP2 单元定义ET,1,beam188 !血管外壁ET,2,BEAM4 !软组织!STEP3 定义材料属性MP,EX,1,100 ! 血管外壁弹性模量MP,EX, 2,5000 ! 软组织弹性模量MP,PRXY,1,0.3 !泊松比MP,DENS,1,500 !密度!2.手动插入模型 !3.主拱圈建模!STEP1 建立上弦杆四分之一模型
2、(利用定结点)CSYS,0 !激活原的坐标K,1,-102.000,-64.19402193 !起点K,3,-95.200,-54.12102932K,5,-88.400,-46.22065806K,7,-81.600,-38.34866772K,9,-74.800,-31.70443565K,11,-68.000,-25.63796335K,13,-61.200,-20.14925031K,15,-54.400,-15.23829654K,17,-47.600,-10.90510204K,19,-40.800,-7.14966681K,21,-34.000,-3.971990837K,23,
3、-27.200,-1.372074136K,25,-20.400,0.651916701K,27,-13.600,2.095518534K,29,-6.800,2.9628769335K,31,0,3.250!STEP2 建立下弦杆四分之一模型(利用定结点)K,2,-95.200,-57.37102932K,4,-88.400,-51.42065806K,6,-81.600,-44.84866772K,8,-74.800,-38.20443565K,10,-68.000,-32.13796335K,12,-61.200,-26.64925031K,14,-54.400,-21.73829654
4、K,16,-47.600,-17.40510204K,18,-40.800,-13.64966681K,20,-34.000,-10.471990837K,22,-27.200,-7.872074136K,24,-20.400,-5.849916701K,26,-13.600,-4.405518534K,28,-6.800,-3.5388769335K,30,0,-3.250!STEP3 生成二分之一模型节点KSEL,S,1,29KSYMM,X,ALL !映像 生成二分之一模型节点(生成32-60)LOCAL,11,0,7 !进行移轴CSYS,11 !激活移轴后的坐标KSEL,S,1,60KS
5、YMM,Z,ALL !映像生成另一半节点(生成61-120)ALLSEL,ALLCSYS,0LOCAL,12,0,3.5 !进行移轴CSYS,12 !激活移轴后的坐标KSEL,S,1,60KSYMM,Z,ALL !映像生成辅助线节点(生成121-180)!STEP4 生成上弦杆单元ALLSEL,ALL!type,1 !指定单元类型!mat,1 !指定材料类型!secnum,1 !指定截面类型L,1,3*DO,i,1,14L,2*i+1,2*i+3 !生成上弦杆单元*enddoLATT,1,1,1LESIZE,1,26LESIZE,2,22LESIZE,3,21LESIZE,4,19LESIZE
6、,5,18LESIZE,6,17LESIZE,7,17LESIZE,8,16LESIZE,9,16LESIZE,10,15LESIZE,11,15LESIZE,12,14LESIZE,13,14LESIZE,14,14LESIZE,15,14 *do,i,1,15,1 !指定所选线上单元数LMESH,I *enddo!STEP5 生成下弦杆单元L,1,2*DO,i,1,14L,2*i,2*i+2 !生成下弦杆单元*enddo LATT,1,1,2LESIZE,16,21LESIZE,17,19LESIZE,18,19LESIZE,19,19LESIZE,20,18LESIZE,21,18LES
7、IZE,22,17LESIZE,23,16LESIZE,24,16LESIZE,25,15LESIZE,26,15LESIZE,27,14LESIZE,28,14LESIZE,29,14LESIZE,30,14 *do,i,16,30,1 !指定所选线上单元数LMESH,I *enddo!STEP6 生成腹杆单元*DO,i,2,30L,i,i+1 !生成腹杆单元*enddoLATT,1,1,3LESIZE,31,7LESIZE,32,15LESIZE,33,10LESIZE,34,14LESIZE,35,13LESIZE,36,14LESIZE,37,13LESIZE,38,14LESIZE,
8、39,13LESIZE,40,14LESIZE,41,13LESIZE,42,14LESIZE,43,13LESIZE,44,14LESIZE,45,13 LESIZE,46,15LESIZE,47,13LESIZE,48,15LESIZE,49,13LESIZE,50,16LESIZE,51,13LESIZE,52,16LESIZE,53,13LESIZE,54,17LESIZE,55,13 LESIZE,56,18LESIZE,57,13LESIZE,58,18LESIZE,59,13*do,i,31,59,1 !指定所选线上单元数LMESH,I *enddo!STEP7 生成二分之一模型
9、*DO,i,16,29L,2*i,2*i+2 !生成上弦杆单元*enddoL,60,31LATT,1,1,1LESIZE,60,26LESIZE,61,22LESIZE,62,21LESIZE,63,19LESIZE,64,18LESIZE,65,17LESIZE,66,17LESIZE,67,16LESIZE,68,16LESIZE,69,15LESIZE,70,15LESIZE,71,14LESIZE,72,14LESIZE,73,14LESIZE,74,14*do,i,60,74,1 !指定所选线上单元数LMESH,I *enddoL,32,33*DO,i,16,28L,2*i+1,2*
10、i+3 !生成下弦杆单元*enddoL,59,30 LATT,1,1,2LESIZE,75,21LESIZE,76,19LESIZE,77,19LESIZE,78,19LESIZE,79,18LESIZE,80,18LESIZE,81,17LESIZE,82,16LESIZE,83,16LESIZE,84,15LESIZE,85,15LESIZE,86,14LESIZE,87,14LESIZE,88,14LESIZE,89,14*do,i,75,89,1 !指定所选线上单元数LMESH,I *enddo*DO,i,33,59L,i,i+1 !生成腹杆单元*enddoL,60,30LATT,1,
11、1,3LESIZE,90,7LESIZE,91,15LESIZE,92,10LESIZE,93,14LESIZE,94,13LESIZE,95,14LESIZE,96,13LESIZE,97,14LESIZE,98,13LESIZE,99,14LESIZE,100,13LESIZE,101,14LESIZE,102,13LESIZE,103,14LESIZE,104,13 LESIZE,105,15LESIZE,106,13LESIZE,107,15LESIZE,108,13LESIZE,109,16LESIZE,110,13LESIZE,111,16LESIZE,112,13LESIZE,1
12、13,17LESIZE,114,13 LESIZE,115,18LESIZE,116,13LESIZE,117,18*do,i,90,117,1 !指定所选线上单元数LMESH,I *enddoesel,s,1,1801EGEN,2,1801,ALL,14 !生成二分之一模型单元!STEP9 生成上弦杆纵向连接单元L,1,121L,61,121L,1,123L,61,123*DO,i,1,14 !生成上弦杆纵向连接单元L,2*i+1,60*2+2*i+1L,60+2*i+1,60*2+2*i+1L,2*i+1,60*2+2*i+1+2L,60+2*i+1,60*2+2*i+1+2*ENDDOL
13、,31,151L,91,151LATT,1,1,4LESIZE,118,14LESIZE,119,14LESIZE,120,30LESIZE,121,30LESIZE,122,14LESIZE,123,14LESIZE,124,26LESIZE,125,26LESIZE,126,14LESIZE,127,14LESIZE,128,25LESIZE,129,25LESIZE,130,14LESIZE,131,14LESIZE,132,24 LESIZE,133,24LESIZE,134,14LESIZE,135,14LESIZE,136,23LESIZE,137,23LESIZE,138,14L
14、ESIZE,139,14LESIZE,140,22LESIZE,141,22LESIZE,142,14 LESIZE,143,14LESIZE,144,22LESIZE,145,22LESIZE,146,14LESIZE,147,14LESIZE,148,21LESIZE,149,21LESIZE,150,14LESIZE,151,14LESIZE,152,21 LESIZE,153,21LESIZE,154,14LESIZE,155,14LESIZE,156,21LESIZE,157,21LESIZE,158,14LESIZE,159,14LESIZE,160,20LESIZE,161,20
15、LESIZE,162,14 LESIZE,163,14LESIZE,164,20LESIZE,165,20LESIZE,166,14LESIZE,167,14LESIZE,168,20LESIZE,169,20LESIZE,170,14LESIZE,171,14LESIZE,172,20 LESIZE,173,20LESIZE,174,14LESIZE,175,14LESIZE,176,20LESIZE,177,20LESIZE,178,14LESIZE,179,14*do,i,118,179,1 !指定所选线上单元数LMESH,I *enddo!STEP10 生成下弦杆纵向连接单元 L,1,
16、122L,61,122 *DO,i,1,14 !生成下弦杆纵向连接单元L,2*i,60*2+2*iL,60+2*i,60*2+2*iL,2*i,60*2+2*i+2L,60+2*i,60*2+2*i+2*ENDDOL,30,150L,90,150LATT,1,1,5LESIZE,180,25LESIZE,181,25LESIZE,182,14LESIZE,183,14LESIZE,184,24LESIZE,185,24LESIZE,186,14LESIZE,187,14LESIZE,188,24LESIZE,189,24LESIZE,190,14LESIZE,191,14LESIZE,192,
17、24 LESIZE,193,24LESIZE,194,14LESIZE,195,14LESIZE,196,23LESIZE,197,23LESIZE,198,14LESIZE,199,14LESIZE,200,22LESIZE,201,22LESIZE,202,14 LESIZE,202,14LESIZE,204,22LESIZE,205,22LESIZE,206,14LESIZE,207,14LESIZE,208,21LESIZE,209,21LESIZE,210,14LESIZE,211,14LESIZE,212,21 LESIZE,213,21LESIZE,214,14LESIZE,21
18、5,14LESIZE,216,21LESIZE,217,21LESIZE,218,14LESIZE,219,14LESIZE,220,20LESIZE,221,20LESIZE,222,14 LESIZE,223,14LESIZE,224,20LESIZE,225,20LESIZE,226,14LESIZE,227,14LESIZE,228,20LESIZE,229,20LESIZE,230,14LESIZE,231,14LESIZE,232,20 LESIZE,233,20LESIZE,234,14LESIZE,235,14LESIZE,236,20LESIZE,237,20LESIZE,2
19、38,14LESIZE,239,14*do,i,180,239,1 !指定所选线上单元数LMESH,I *enddo!STEP11 生成上弦杆及下弦杆纵向连接二分之一模型单元*DO,i,16,29 !生成上弦杆纵向连接单元L,2*i,60*2+2*iL,60+2*i,60*2+2*iL,2*i,60*2+2*i+2L,60+2*i,60*2+2*i+2*ENDDOL,60,180L,120,180L,60,151L,120,151LATT,1,1,4LESIZE,240,14LESIZE,241,14LESIZE,242,30LESIZE,243,30LESIZE,244,14LESIZE,2
20、45,14LESIZE,246,26LESIZE,247,26LESIZE,248,14LESIZE,249,14LESIZE,250,25LESIZE,251,25LESIZE,252,14LESIZE,253,14LESIZE,254,24 LESIZE,255,24LESIZE,256,14LESIZE,257,14LESIZE,258,23LESIZE,259,23LESIZE,260,14LESIZE,261,14LESIZE,262,22LESIZE,263,22LESIZE,264,14 LESIZE,265,14LESIZE,266,22LESIZE,267,22LESIZE,
21、268,14LESIZE,269,14LESIZE,270,21LESIZE,271,21LESIZE,272,14LESIZE,273,14LESIZE,274,21 LESIZE,275,21LESIZE,276,14LESIZE,277,14LESIZE,278,21LESIZE,279,21LESIZE,280,14LESIZE,281,14LESIZE,282,20LESIZE,283,20LESIZE,284,14 LESIZE,285,14LESIZE,286,20LESIZE,287,20LESIZE,288,14LESIZE,289,14LESIZE,290,20LESIZE
22、,291,20LESIZE,292,14LESIZE,293,14LESIZE,294,20 LESIZE,295,20LESIZE,296,14LESIZE,297,14LESIZE,298,20LESIZE,299,20*do,i,240,299,1 !指定所选线上单元数LMESH,I *enddoL,32,153L,92,153*DO,i,16,28 !生成下弦杆纵向连接单元L,2*i+1,60*2+2*i+1L,60+2*i+1,60*2+2*i+1L,2*i+1,60*2+2*i+2+1L,60+2*i+1,60*2+2*i+2+1*ENDDOL,59,179L,119,179L,5
23、9,150L,119,150LATT,1,1,5LESIZE,300,25LESIZE,301,25LESIZE,302,14LESIZE,303,14LESIZE,304,24LESIZE,305,24LESIZE,306,14LESIZE,307,14LESIZE,308,24LESIZE,309,24LESIZE,310,14LESIZE,311,14LESIZE,312,24 LESIZE,313,24LESIZE,314,14LESIZE,315,14LESIZE,316,23LESIZE,317,23LESIZE,318,14LESIZE,319,14LESIZE,320,22LE
24、SIZE,321,22LESIZE,322,14 LESIZE,323,14LESIZE,324,22LESIZE,325,22LESIZE,326,14LESIZE,327,14LESIZE,328,21LESIZE,329,21LESIZE,330,14LESIZE,331,14LESIZE,332,21 LESIZE,333,21LESIZE,334,14LESIZE,335,14LESIZE,336,21LESIZE,337,21LESIZE,338,14LESIZE,339,14LESIZE,340,20LESIZE,341,20LESIZE,342,14 LESIZE,343,14
25、LESIZE,344,20LESIZE,345,20LESIZE,346,14LESIZE,347,14LESIZE,348,20LESIZE,349,20LESIZE,350,14LESIZE,351,14LESIZE,352,20 LESIZE,353,20LESIZE,354,14LESIZE,355,14LESIZE,356,20LESIZE,357,20*do,i,300,357,1 !指定所选线上单元数LMESH,I *enddo!(二) 桥面板,共272m/PREP7CSYS,0 !激活原的坐标LOCAL,20,0,-102,4.25,0 !进行移轴CSYS,20 !激活坐标!S
26、TEP1 几何参数设定bw=14 !桥面宽度th=1.88 !加劲桁架高度b1=0.16 !纵向分配梁,纵向斜腹杆,横向内侧竖杆,横向内、外侧斜腹杆截面宽度b2=0.3 !纵向上、下弦杆截面宽度b3=0.2 !纵向竖杆,横向外侧竖杆截面宽度b4=0.18 !横向上、下弦杆截面宽度b8=0.04 !桥面板截面宽度h2=0.2 !纵向上、下弦杆,横向下弦杆截面厚度h3=0.14 !纵向斜腹杆,横向外侧竖杆、内侧竖杆、外侧斜腹杆、内侧斜腹杆截面厚度h4=0.18 !纵向竖杆截面厚度h5=0.24 !横向上弦杆截面厚度 !STEP2 定义实常数!纵向加劲桁架r,6,b2*h2,b2*h2*3/12,b2*3*h2/12,b2,h2 !上、下弦杆r,7,b1*h3,b1*h3*3/12,b1*3*h3/12,b1,h3 !纵向斜腹杆、内侧竖杆、外侧斜腹杆、内侧斜腹杆r,8,b3*h4,b3*h4*3/12,b3*3*h4/12,b3,h4 !纵向竖杆!横向加劲桁架实常数r,9,b4*h5,b4*h5*3/12,b4*3*h5/12,b4,h5 !上弦杆r,10,b4*h2,b4*h2*3/12,b4*3*h2/12,b4,h2 !下弦杆r,11,b3*h3,b3*h3
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1