安庆长江铁路大桥ANSYS建模命令流
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
secnum,5
*do,a,1,25,1
E,8*25+i+a,8*25-1+i+a
*enddo
*do,b,1,2*25,1
E,30*25+i+b,30*25-1+i+b
*enddo
*do,c,1,2*25,1
E,49*25+i+c,49*25-1+i+c
*enddo
name(9)='Sec_2'
name(10)='Sec_3'
name(11)='Sec_4'
name(12)='Sec_5'
name(13)='Sec_6'
name(14)='Sec_7'
name(15)='Sec_8'
name(16)='Sec_9'
name(17)='Sec_10'
/nerr,0
!将参数读入数据库
finish
/clear
/PREP7
!单元类型编号
et,1,beam44
et,2,shell63
et,3,link8
!材料类型编号 Q420/Q370/拉索-1,混凝土C40/C50-2,刚臂-3
mp,ex,1,2.1e11
mp,prxy,1,0.3
secnum,12
*do,a,1,25,1
E,8*25-1+i+a,8*25+i+a
*enddo
*do,b,1,2*25,1
E,30*25-1+i+b,30*25+i+b
*enddo
*do,c,1,2*25,1
E,49*25-1+i+c,49*25+i+c
*enddo
*enddo
!6截面
type,1
mat,1
secnum,6
*do,a,1,3*25,1
E,i+3*25+a,i+3*25-1+a
*enddo
*do,b,1,3*25,1
E,32*25+i+b,32*25-1+i+b
*enddo
*do,c,1,3*25,1
secread,name(i),,,mesh
*enddo
!将ta_sec参数读入数据库
!读取自定义截面并编号
*dim,name2,char,15
name2(1)='ta_1'
name2(2)='ta_2'
name2(3)='ta_3'
name2(4)='ta_4'
name2(5)='ta_5'
name(18)='Sec_11'
name(19)='Sec_12'
name(20)='Sec_13'
name(21)='Sec_14'
name(22)='Sec_15'
name(23)='Sec_16'
name(24)='Sec_x2'
*do,i,1,24,1
sectype,i,beam,mesh,
!刚臂的截面
SECTYPE, 100, BEAM, CSOLID, , 0
SECOFFSET, CENT
SECDATA,0.06,0,0,0,0,0,0,0,0,0
r,1,
r,2,0.016,
!拉索截面控制
!7-349
r,3,134.31e-4,
!7-301
r,4,115.84e-4,
SECDATA,0.6,1.4,0.032,0.018,0,0,0,0,0,0
SECTYPE, 29, BEAM, T, T_max, 0
SECOFFSET, USER, 0, 2.1
SECDATA,0.6,2.1,0.032,0.016,0,0,0,0,0,0
SECTYPE, 31, BEAM, HREC, , 0
!7-283
r,5,108.91e-4,
!7-241
r,6,100.000e-4,
finish
!开始建立模型
/prep7
!*********************************************
!
!
!xiaXianGan
!
!
!*********************************************
*enddo
*do,c,1,1*25,1
E,21*25-1+i+c,21*25+i+c
*enddo
*do,d,1,1*25,1
E,58*25-1+i+d,58*25+i
E,61*25-1+i+e,61*25+i+e
*enddo
*do,f,1,2*25,1
E,46*25+i+c,46*25-1+i+c
*enddo
*do,d,1,1*25,1
E,i+76*25+d,i+76*25-1+d
*enddo
*do,e,1,7*25,1
E,87*25+i+e,87*25-1+i+e
*enddo
!5截面
type,1
mat,1
secnum,14
*do,a,1,3*25,1
E,i-1+a,i+a
*enddo
*do,b,1,11*25,1
E,35*25-1+i+b,35*25+i+b
*enddo
*do,c,1,8*25,1
E,77*25-1+i+c,77*25+i+c
*enddo
SECTYPE, 27, BEAM, I, , 0
SECOFFSET, USER, 0, 0.584
SECDATA,0.240,0.240,0.6,0.016,0.016,0.012,0,0,0,0
SECTYPE, 28, BEAM, T, T_nin, 0
SECOFFSET, USER, 0, 1.4
SECOFFSET, CENT
SECDATA,0.548,0.500,0.016,0.016,0.016,0.016,0,0,0,0
SECTYPE, 32, BEAM, I, , 0
SECOFFSET, CENT
SECDATA,0.560,0.560,0.500,0.028,0.028,0.016,0,0,0,0
E,74*25-1+i+f,74*25+i+f
*enddo
*do,g,1,1*25,1
E,85*25-1+i+g,85*25+i+g
*enddo
!1截面
type,1
mat,1
secnum,8
*do,a,1,2*25,1
E,19*25-1+i+a,19*25+i+a
name2(6)='ta_6'
name2(7)='ta_7'
name2(8)='ta_8'
name2(9)='ta_9'
name2(10)='ta_10'
name2(11)='ta_11'
name2(12)='ta_12'
name2(13)='ta_13'
name2(14)='ta_14'
*dim,name,char,24
name(1)='Sec_1a'
name(2)='Sec_2a'
name(3)='Sec_3a'
name(4)='Sec_4a'
name(5)='Sec_5a'
name(6)='Sec_6a'
name(7)='Sec_7a'
name(8)='Sec_1'
E,7*25-1+i+a,7*25+i+a
*enddo
*do,b,1,5*25,1
E,12*25-1+i+b,12*25+i+b
*enddo
*do,c,1,4*25,1
E,22*25-1+i+c,22*25+i+c
*enddo
*do,d,1,4*25,1
E,54*25-1+i+d,54*25+i+d
mat,1
secnum,7
*do,a,1,3*25,1
E,i+a,i-1+a
*enddo
*do,b,1,11*25,1
E,35*25+i+b,35*25-1+i+b
*enddo
*do,c,1,8*25,1
E,77*25+i+c,77*25-1+i+c
*enddo
*do,b,1,2*25,1
E,59*25-1+i+b,59*25+i+b
*enddo
*do,c,1,1*25,1
E,86*25-1+i+c,86*25+i+c
*enddo
!左边桁
*elseif,i,eq,(94*25+1)*2+1,then
!7截面
type,1
*SET,j,-14
*do,i,1,(94*25+1)*2,94*25+1
n,i,0,j,0
n,94*25+i,1363.000,j,0
FILL,i,94*25+i,94*25-1,,1,,,
!中桁
*if,i,eq,94*25+2,then
!7截面
type,1
mat,1
mp,dens,1,7850
mp,alpx,1,1e-5
mp,ex,2,3.5e7
mp,prxy,2,0.16
mp,dens,2,2500
mp,alpx,2,1e-5
mp,ex,3,1e15
mp,prxy,3,1
mp,dens,3,0
mp,alpx,3,0
!读取自定义截面并编号
!6截面
type,1
mat,1
secnum,13
*do,a,1,3*25,1
E,i+3*25-1+a,i+3*25+a
*enddo
*do,b,1,3*25,1
E,32*25-1+i+b,32*25+i+b
*enddo
*do,c,1,3*25,1
*do,d,1,2*25,1
E,72*25+i+d,72*25-1+i+d
*enddo
!4截面
type,1
mat,1
secnum,4
*do,a,1,3*25,1
E,9*25+i+a,9*25-1+i+a
*enddo
*do,b,1,4*25,1
E,26*25+i+b,26*25-1+i+b
*do,i,1,14,1
sectype,40+i,beam,mesh,
secread,name2(i),,,mesh
*enddo
SECTYPE, 26, BEAM, HREC, , 0
SECOFFSET, USER, 0.1, 0.266
SECDATA,0.2,0.266,0.006,0.006,0.006,0.006,0,0,0,0
*enddo
*do,e,1,5*25,1
E,63*25-1+i+e,63*25+i+e
*enddo
!2截面
type,1
mat,1
secnum,9
*do,a,1,1*25,1
E,6*25-1+i+a,6*25+i+a
*enddo
*do,b,1,2*25,1
E,17*25-1+i+b,17*25+i+b
*enddo
*do,c,1,3*25,1
E,51*25+i+c,51*25-1+i+c
*enddo
*do,d,1,4*25,1
E,68*25+i+d,68*25-1+i+d
*enddo
!3截面
type,1
mat,1
secnum,3
*do,a,1,1*25,1
*do,d,1,2*25,1
E,72*25-1+i+d,72*25+i+d
*enddo
!4截面
type,1
mat,1
secnum,11
*do,a,1,3*25,1
E,9*25-1+i+a,9*25+i+a
*enddo
*do,b,1,4*25,1
E,26*25-1+i+b,26*25+i+b
E,46*25-1+i+c,46*25+i+c
*enddo
*do,d,1,1*25,1
E,i+76*25-1+d,i+76*25+d
*enddo
*do,e,1,7*25,1
E,87*25-1+i+e,87*25+i+e
*enddo
!5截面
type,1
mat,1
*enddo
*do,c,1,3*25,1
E,51*25-1+i+c,51*25+i+c
*enddo
*do,d,1,4*25,1
E,68*25-1+i+d,68*25+i+d
*enddo
!3截面
type,1
mat,1
*do,a,1,25,1
E,8*25+i+a,8*25-1+i+a
*enddo
*do,b,1,2*25,1
E,30*25+i+b,30*25-1+i+b
*enddo
*do,c,1,2*25,1
E,49*25+i+c,49*25-1+i+c
*enddo
name(9)='Sec_2'
name(10)='Sec_3'
name(11)='Sec_4'
name(12)='Sec_5'
name(13)='Sec_6'
name(14)='Sec_7'
name(15)='Sec_8'
name(16)='Sec_9'
name(17)='Sec_10'
/nerr,0
!将参数读入数据库
finish
/clear
/PREP7
!单元类型编号
et,1,beam44
et,2,shell63
et,3,link8
!材料类型编号 Q420/Q370/拉索-1,混凝土C40/C50-2,刚臂-3
mp,ex,1,2.1e11
mp,prxy,1,0.3
secnum,12
*do,a,1,25,1
E,8*25-1+i+a,8*25+i+a
*enddo
*do,b,1,2*25,1
E,30*25-1+i+b,30*25+i+b
*enddo
*do,c,1,2*25,1
E,49*25-1+i+c,49*25+i+c
*enddo
*enddo
!6截面
type,1
mat,1
secnum,6
*do,a,1,3*25,1
E,i+3*25+a,i+3*25-1+a
*enddo
*do,b,1,3*25,1
E,32*25+i+b,32*25-1+i+b
*enddo
*do,c,1,3*25,1
secread,name(i),,,mesh
*enddo
!将ta_sec参数读入数据库
!读取自定义截面并编号
*dim,name2,char,15
name2(1)='ta_1'
name2(2)='ta_2'
name2(3)='ta_3'
name2(4)='ta_4'
name2(5)='ta_5'
name(18)='Sec_11'
name(19)='Sec_12'
name(20)='Sec_13'
name(21)='Sec_14'
name(22)='Sec_15'
name(23)='Sec_16'
name(24)='Sec_x2'
*do,i,1,24,1
sectype,i,beam,mesh,
!刚臂的截面
SECTYPE, 100, BEAM, CSOLID, , 0
SECOFFSET, CENT
SECDATA,0.06,0,0,0,0,0,0,0,0,0
r,1,
r,2,0.016,
!拉索截面控制
!7-349
r,3,134.31e-4,
!7-301
r,4,115.84e-4,
SECDATA,0.6,1.4,0.032,0.018,0,0,0,0,0,0
SECTYPE, 29, BEAM, T, T_max, 0
SECOFFSET, USER, 0, 2.1
SECDATA,0.6,2.1,0.032,0.016,0,0,0,0,0,0
SECTYPE, 31, BEAM, HREC, , 0
!7-283
r,5,108.91e-4,
!7-241
r,6,100.000e-4,
finish
!开始建立模型
/prep7
!*********************************************
!
!
!xiaXianGan
!
!
!*********************************************
*enddo
*do,c,1,1*25,1
E,21*25-1+i+c,21*25+i+c
*enddo
*do,d,1,1*25,1
E,58*25-1+i+d,58*25+i
E,61*25-1+i+e,61*25+i+e
*enddo
*do,f,1,2*25,1
E,46*25+i+c,46*25-1+i+c
*enddo
*do,d,1,1*25,1
E,i+76*25+d,i+76*25-1+d
*enddo
*do,e,1,7*25,1
E,87*25+i+e,87*25-1+i+e
*enddo
!5截面
type,1
mat,1
secnum,14
*do,a,1,3*25,1
E,i-1+a,i+a
*enddo
*do,b,1,11*25,1
E,35*25-1+i+b,35*25+i+b
*enddo
*do,c,1,8*25,1
E,77*25-1+i+c,77*25+i+c
*enddo
SECTYPE, 27, BEAM, I, , 0
SECOFFSET, USER, 0, 0.584
SECDATA,0.240,0.240,0.6,0.016,0.016,0.012,0,0,0,0
SECTYPE, 28, BEAM, T, T_nin, 0
SECOFFSET, USER, 0, 1.4
SECOFFSET, CENT
SECDATA,0.548,0.500,0.016,0.016,0.016,0.016,0,0,0,0
SECTYPE, 32, BEAM, I, , 0
SECOFFSET, CENT
SECDATA,0.560,0.560,0.500,0.028,0.028,0.016,0,0,0,0
E,74*25-1+i+f,74*25+i+f
*enddo
*do,g,1,1*25,1
E,85*25-1+i+g,85*25+i+g
*enddo
!1截面
type,1
mat,1
secnum,8
*do,a,1,2*25,1
E,19*25-1+i+a,19*25+i+a
name2(6)='ta_6'
name2(7)='ta_7'
name2(8)='ta_8'
name2(9)='ta_9'
name2(10)='ta_10'
name2(11)='ta_11'
name2(12)='ta_12'
name2(13)='ta_13'
name2(14)='ta_14'
*dim,name,char,24
name(1)='Sec_1a'
name(2)='Sec_2a'
name(3)='Sec_3a'
name(4)='Sec_4a'
name(5)='Sec_5a'
name(6)='Sec_6a'
name(7)='Sec_7a'
name(8)='Sec_1'
E,7*25-1+i+a,7*25+i+a
*enddo
*do,b,1,5*25,1
E,12*25-1+i+b,12*25+i+b
*enddo
*do,c,1,4*25,1
E,22*25-1+i+c,22*25+i+c
*enddo
*do,d,1,4*25,1
E,54*25-1+i+d,54*25+i+d
mat,1
secnum,7
*do,a,1,3*25,1
E,i+a,i-1+a
*enddo
*do,b,1,11*25,1
E,35*25+i+b,35*25-1+i+b
*enddo
*do,c,1,8*25,1
E,77*25+i+c,77*25-1+i+c
*enddo
*do,b,1,2*25,1
E,59*25-1+i+b,59*25+i+b
*enddo
*do,c,1,1*25,1
E,86*25-1+i+c,86*25+i+c
*enddo
!左边桁
*elseif,i,eq,(94*25+1)*2+1,then
!7截面
type,1
*SET,j,-14
*do,i,1,(94*25+1)*2,94*25+1
n,i,0,j,0
n,94*25+i,1363.000,j,0
FILL,i,94*25+i,94*25-1,,1,,,
!中桁
*if,i,eq,94*25+2,then
!7截面
type,1
mat,1
mp,dens,1,7850
mp,alpx,1,1e-5
mp,ex,2,3.5e7
mp,prxy,2,0.16
mp,dens,2,2500
mp,alpx,2,1e-5
mp,ex,3,1e15
mp,prxy,3,1
mp,dens,3,0
mp,alpx,3,0
!读取自定义截面并编号
!6截面
type,1
mat,1
secnum,13
*do,a,1,3*25,1
E,i+3*25-1+a,i+3*25+a
*enddo
*do,b,1,3*25,1
E,32*25-1+i+b,32*25+i+b
*enddo
*do,c,1,3*25,1
*do,d,1,2*25,1
E,72*25+i+d,72*25-1+i+d
*enddo
!4截面
type,1
mat,1
secnum,4
*do,a,1,3*25,1
E,9*25+i+a,9*25-1+i+a
*enddo
*do,b,1,4*25,1
E,26*25+i+b,26*25-1+i+b
*do,i,1,14,1
sectype,40+i,beam,mesh,
secread,name2(i),,,mesh
*enddo
SECTYPE, 26, BEAM, HREC, , 0
SECOFFSET, USER, 0.1, 0.266
SECDATA,0.2,0.266,0.006,0.006,0.006,0.006,0,0,0,0
*enddo
*do,e,1,5*25,1
E,63*25-1+i+e,63*25+i+e
*enddo
!2截面
type,1
mat,1
secnum,9
*do,a,1,1*25,1
E,6*25-1+i+a,6*25+i+a
*enddo
*do,b,1,2*25,1
E,17*25-1+i+b,17*25+i+b
*enddo
*do,c,1,3*25,1
E,51*25+i+c,51*25-1+i+c
*enddo
*do,d,1,4*25,1
E,68*25+i+d,68*25-1+i+d
*enddo
!3截面
type,1
mat,1
secnum,3
*do,a,1,1*25,1
*do,d,1,2*25,1
E,72*25-1+i+d,72*25+i+d
*enddo
!4截面
type,1
mat,1
secnum,11
*do,a,1,3*25,1
E,9*25-1+i+a,9*25+i+a
*enddo
*do,b,1,4*25,1
E,26*25-1+i+b,26*25+i+b
E,46*25-1+i+c,46*25+i+c
*enddo
*do,d,1,1*25,1
E,i+76*25-1+d,i+76*25+d
*enddo
*do,e,1,7*25,1
E,87*25-1+i+e,87*25+i+e
*enddo
!5截面
type,1
mat,1
*enddo
*do,c,1,3*25,1
E,51*25-1+i+c,51*25+i+c
*enddo
*do,d,1,4*25,1
E,68*25-1+i+d,68*25+i+d
*enddo
!3截面
type,1
mat,1