隧道ANSYS建模命令流!0 自己做的,挺简单的,可以作为入门例题!
/BATCH
/FILNAME,MODEL
/TITLE,SUI DAO
/PREP7
!
ET,1,MESH200,6
ET,2,SOLID45
!
!CHEN QI HNT
MP,EX,1,3.1E7
MP,PRXY,1,0.20
MP,DENS,1,2.5
!
!TU
MP,EX,2,3.6E6
MP,PRXY,2,0.32
MP,DENS,2,2.1
!
!
MP,EX,3,2.5E4
MP,PRXY,3,0.42
MP,DENS,3,1.93
!
!
MP,EX,4,5.0E4
MP,PRXY,4,0.41
MP,DENS,4,1.95
!
!
MP,EX,5,2.5E5
MP,PRXY,5,0.415
MP,DENS,5,1.99
!
!
MP,EX,6,1.5E6
MP,PRXY,6,0.36
MP,DENS,6,2.05
!
!NEI QUAN CHEN QI DIAN
K, 1, 0, 0, 0
K, 2, -2.17, -0.581450, 0
K, 3, -4.449623, -3.099586, 0
K, 4, -4.929819, -5.330000, 0
K, 5, -4.449777, -7.950000, 0
K, 6, -3.999777, -8.985145, 0
K, 7, 0, -9.595064, 0
!FANG XIANG DIAN
K, 8, 0, -4.340000, 0
! NEI QUAN CHEN QI XIAN
LARC,1,2,8,4.34
LARC,2,3,8,5.54
LARC,3,4,8,5.41
LARC,4,5,8,7.39
L,5,6
LARC,6,7,8,13.42
! WAI QUAN CHEN QI DIAN
K, 9, 0, 0.500565, 0
K, 10, -2.695326, -0.221558, 0
K, 11, -5.406743, -3.217082, 0
K, 12, -5.861642, -5.330000, 0
K, 13, -5.769452, -6.565253, 0
K, 14, -5.368784, -9.234565, 0
K, 15, 0, -10.295064, 0
!WAI QUAN CHEN QI XIAN
LARC,9,10,8,5.39
LARC,10,11,8,6.59
LARC,11,12,8,5.14
LARC,12,13,8,8.32
L,13,14
LARC,14,15,8,14.12
!*DIAN
K, 16, 0, 0.700565, 0
K, 17, -2.795326, -0.048353, 0
K, 18, -5.589023, -3.134779, 0
K, 19, -6.061642, -5.330000, 0
K, 20, -5.967236, -6.594941, 0
K, 21, -5.549810, -9.375898, 0
K, 22, 0, -10.495064, 0
!*XIAN
LARC,16,17,8,5.59
LARC,17,18,8,6.79
LARC,18,19,8,5.34
LARC,19,20,8,8.52
L,20,21
LARC,21,22,8,14.32
!** DIAN
K, 23, 0, 1.700565, 0
K, 24, -3.295326, 0.817673, 0
K, 25, -6.500427, -2.723265, 0
K, 26, -7.061642, -5.330000, 0
K, 27, -6.956158, -6.743379, 0
K, 28, -6.457161, -10.067777, 0
K, 29, 0, -11.495064, 0
!** XIAN
LARC,23,24,8,6.59
LARC,24,25,8,7.79
LARC,25,26,8,6.34
LARC,26,27,8,9.52
L,27,28
LARC,28,29,8,15.32
! ***DIAN
K, 30, 0, 3.700565, 0
K, 31, -4.295326, 2.549724, 0
K, 32, -8.323233, -1.900236, 0
K, 33, -9.061642, -5.330000, 0
K, 34, -8.934001, -7.040257, 0
K, 35, -8.281573, -11.386834, 0
K, 36, 0, -13.495064, 0
! *** XIAN
LARC,30,31,8,8.59
LARC,31,32,8,9.79
LARC,32,33,8,8.34
LARC,33,34,8,11.52
L,34,35
LARC,35,36,8,17.32
! ZHONG JIAN XIAN
L,1,9
L,9,16
L,16,23
L,23,30
L,7,15
L,15,22
L,22,29
L,29,36
!!!!!!!!
L,2,10
L,10,17
L,17,24
L,24,31
L,4,12
L,12,19
L,19,26
L,33,26
L,6,14
L,14,21
L,21,28
L,28,35
!!!!!!!!
!!!!!!!!!!!!!!!!
LCOMB,2,3
LCOMB,8,9
LCOMB,14,15
LCOMB,20,21
LCOMB,26,27
LCOMB,4,5
LCOMB,10,11
LCOMB,16,17
LCOMB,22,23
LCOMB,28,29
!!!!!!!!!!!!!!!!
!****dian
K, 37, 0, 40.500565, 0
K, 38, -50, 40.500565, 0
K, 39, -50, -5.33, 0
K, 40, -50, -59.499435, 0
K, 41, 0, -59.499435, 0
!****XIAN
L,30,37
L,31,38
L,33,39
L,35,40
L,41,36
L,37,38
L,38,39
L,39,40
L,40,41
ALLSEL
NUMCMP,ALL
!
!!!!XING CHENG MIAN
AL,38,1,7,30
AL,7,31,13,39
AL,13,32,19,40
AL,19,25,33,41
AL,25,3,5,17
!
AL,2,38,8,42
AL,8,43,14,39
AL,14,40,20,44
AL,20,41,26,45
AL,26,5,21,9
!
AL,4,42,10,46
AL,10,43,16,47
AL,16,44,22,48
AL,22,45,28,49
AL,28,9,23,11
!
AL,6,46,12,34
AL,12,47,18,35
AL,18,48,24,36
AL,24,49,29,37
AL,29,11,27,15
!
!!!!
!!!!
LSEL,S,,,30
LSEL,A,,,38
LSEL,A,,,42
LSEL,A,,,46
LSEL,A,,,34
LESIZE,ALL,,,1
!
LSEL,S,,,31
LSEL,A,,,39
LSEL,A,,,43
LSEL,A,,,47
LSEL,A,,,35
LESIZE,ALL,,,1
!
LSEL,S,,,32
LSEL,A,,,40
LSEL,A,,,44
LSEL,A,,,48
LSEL,A,,,36
LESIZE,ALL,,,1
!
LSEL,S,,,33
LSEL,A,,,41
LSEL,A,,,45
LSEL,A,,,49
LSEL,A,,,37
LESIZE,ALL,,,1
!
LSEL,S,,,3
LSEL,A,,,5
LSEL,A,,,9
LSEL,A,,,11
LESIZE,ALL,,,10,8
!
LSEL,S,,,15
LESIZE,ALL,,,10,0.125
!
LSEL,S,,,1
LSEL,A,,,7
LSEL,A,,,13
LSEL,A,,,19
LSEL,A,,,25
LSEL,A,,,17
LESIZE,ALL,,,4
!
LSEL,S,,,2
LSEL,A,,,8
LSEL,A,,,14
LSEL,A,,,20
LSEL,A,,,26
LSEL,A,,,21
LESIZE,ALL,,,5
!
LSEL,S,,,4
LSEL,A,,,10
LSEL,A,,,16
LSEL,A,,,22
LSEL,A,,,28
LSEL,A,,,23
LESIZE,ALL,,,5
!
LSEL,S,,,6
LSEL,A,,,12
LSEL,A,,,18
LSEL,A,,,24
LSEL,A,,,29
LSEL,A,,,27
LESIZE,ALL,,,5
!
ALLSEL
TYPE,1
AMESH,ALL
!
ARSYM,X,ALL
NUMMRG,KP
NUMMRG,NODE
NUMMRG,ALL
NUMCMP,ALL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