finish
/clear
/filname,ddh,1
/units,si
lplot
keyw,pr_struc,1
!界面过滤
/prep7
/title,the ansys of the ddh
/view,1,2,3
/plopots,info,1
!定义相关参数
!!!!!!!!!!!!!!!!!!!!!!!原命令流定义的房子
a1=6.7 !支洞三到房子的距离
a2=210 !大都会的长度
a3=14.5 !大都会到支洞二的距离
c1=8.3 !主洞到大都会的距离
c2=91.7 !大都会的长边
c3=80 !中边
c4=65 !短边
a4=70 !中边和长边的距离
m1=80 写字楼尺寸
m2=40
n1=50 !海逸酒店尺寸
n2=20
f1=12
f2=8
!!!!!!!!!!!!!!!!!!!!!海逸酒店尺寸
h3=5!房子地下层高度
!定义模型的长宽高
x0=300
y0=45
z=180
b0=25 !隧道模型边界的距离
b1=9 !支洞直径
b2=7 !支洞直径
h1=1.24 !主洞仰拱厚度
h5=0.21
h2=1.2
h4=0.1436
h=0.04 !补充
!开始定义相关点
!定义支洞三相关的点
k,1,b0,-h2-h,z
k,2,b0+2.3,-h2-h,z
k,3,b0+5.7,-h2-h,z
k,4,b0+8,-h2-h,z
k,5,b0+8,3.6+h4,z
k,6,b0+4,5.5+0.5,z
k,7,b0,3.6+h4,z
k,8,b0+0.5,0,z
k,9,b0+7.5,0,z
k,10,b0+7.5,3.6,z
k,11,b0+4,3.6+1.9,z
k,12,b0+0.5,3.6,z
k,13,b0+2.3,-h2-3.34,z
k,14,b0+5.7,-h2-3.34,z
k,15,b0+2.7,-h2-0.84,z
k,16,b0+5.3,-h2-0.84,z
k,17,b0+2.7,-h2-2.94,z
k,18,b0+5.3,-h2-2.94,z
!定义主洞相关的点
k,21,0,-h1,b0
k,22,0,-h1,b0+3.4
k,23,0,-h1,b0+6.6
k,24,0,-h1,b0+10
k,25,0,3.8+h5,b0+10
k,26,0,5.9+0.5,b0+5
k,27,0,3.8+h5,b0
k,28,0,0,b0+0.5
k,29,0,0,b0+9.5
k,30,0,3.8,b0+9.5
k,31,0,5.9,b0+5
k,32,0,3.8,b0+0.5
k,33,0,-h1-3.3,b0+3.4
k,34,0,-h1-3.3,b0+6.6
k,35,0,-h1-2.9,b0+3.8
k,36,0,-h1-2.9,b0+6.2
k,37,0,-h1-0.8,b0+3.8
k,38,0,-h1-0.8,b0+6.2
!定义建筑相关的点
k,41,b0+8+a1,15,b0+10+c1
k,42,b0+8+a1,15,b0+10+c1+c3
k,43,b0+8+a1,15,b0+10+c1+m2
k,44,b0+8+a1+m1,15,b0+10+c1
k,45,b0+8+a1+m1,15,b0+10+c1+m2
k,46,b0+8+a1+a4,15,b0+10+c1+c2
k,47,b0+8+a1+a2-f2,15,b0+10+c1
k,48,b0+8+a1+a2-f2,15,b0+10+c1+n1
k,49,b0+8+a1+a2,15,b0+10+c1+c4
k,50,b0+8+a1+a2-n2-f2,15,b0+10+c1
k,51,b0+8+a1+a2-n2-f2,15,b0+10+c1+n1
k,53,b0+8+a1+a2-f2,15,b0+10+c1+f1
k,54,b0+8+a1+a2-f2,15,b0+10+c1+n1-f1
k,55,b0+8+a1+a2-n2-f2*2,15,b0+10+c1+f1
k,56,b0+8+a1+a2-n2-f2*2,15,b0+10+c1+n1-f1
k,57,b0+8+a1+a2,15,b0+10+c1+f1
k,58,b0+8+a1+a2,15,b0+10+c1+n1-f1
k,59,b0+8+a1+a2-n2-f2,15,b0+10+c1+f1
k,60,b0+8+a1+a2-n2-f2,15,b0+10+c1+n1-f1
k,61,b0+8+a1+a2,15,b0+10+c1
!定义支洞二相关的点
k,71,b0+233,-h2-h,z
k,72,b0+2.3+233,-h2-h,z
k,73,b0+5.7+233,-h2-h,z
k,74,b0+8+233,-h2-h,z
k,75,b0+8+233,3.6+h4,z
k,76,b0+4+233,5.5+0.5,z
k,77,b0+233,3.6+h4,z
k,78,b0+0.5+233,0,z
k,79,b0+7.5+233,0,z
k,80,b0+7.5+233,3.6,z
k,81,b0+4+233,3.6+1.9,z
k,82,b0+0.5+233,3.6,z
k,83,b0+2.3+233,-h2-3.34,z
k,84,b0+5.7+233,-h2-3.34,z
k,85,b0+2.7+233,-h2-0.84,z
k,86,b0+5.3+233,-h2-0.84,z
k,87,b0+2.7+233,-h2-2.94,z
k,88,b0+5.3+233,-h2-2.94,z
!!!!!!!!!!!生成隧道轮廓
l,1,2
l,2,3
l,3,4
l,4,5
larc,5,7,6
l,7,1
l,8,9
l,9,10
larc,10,12,11
l,12,8
l,2,13
l,13,14
l,14,3
l,15,16
l,16,18
l,18,17
l,17,15
l,21,22
l,22,23
l,23,24
l,24,25
larc,25,27,26
l,27,21
l,28,29
l,29,30
larc,30,32,31
l,32,28
l,22,33
l,33,34
l,34,23
l,35,36
l,36,38
l,38,37
l,37,35
l,71,72
l,72,73
l,73,74
l,74,75
larc,75,77,76
l,77,71
l,78,79
l,79,80
larc,80,82,81
l,82,78
l,72,83
l,83,84
l,84,73
l,85,86
l,86,88
l,88,87
l,87,85
al,1,2,3,4,5,6
al,7,8,9,10
al,2,11,12,13
al,14,15,16,17
asba,1,2,,,keep
asba,3,4,,,keep
al,18,19,20,21,22,23
al,24,25,26,27
al,19,28,29,30
al,31,32,33,34
asba,3,6,,,keep
asba,7,8,,,keep
al,35,36,37,38,39,40
al,41,42,43,44
al,36,45,46,47
al,48,49,50,51
asba,7,10,,,keep
asba,11,12,,,keep
!!!!!!!!!!生成房子轮廓
a,41,43,45,44
a,50,59,55,56,60,51,48,54,58,57,53,47
a,44,45,43,42,46,49,58,54,48,51,60,56,55,59,50
a,61,47,53,57
!!!!!!!!!!拉伸面成体
voffst,1,z-b0-5,0
voffst,4,z-b0-5,0
voffst,2,-z+b0+5,0
voffst,5,-z+b0+5,0
voffst,7,z-b0-5,0
voffst,12,z-b0-5,0
voffst,10,-z+b0+5,0
voffst,13,-z+b0+5,0
voffst,3,x0,0
voffst,8,-x0,0
voffst,6,-x0,0
voffst,9,-x0,0
vsbv,1,9,,,keep
vsbv,9,2,,,keep
vsbv,5,1,,,keep
vsbv,1,6,,,keep
vsbv,4,12,,,keep
vsbv,12,3,,,keep
vsbv,8,4,,,keep
vsbv,4,7,,,keep
vdele,1
vdele,9
vdele,12
vdele,13
vdele,14
vdele,16
voffst,11,-h3,0
voffst,14,-h3,0
vgen,2,1,,,,-h3,,,,
vgen,2,4,,,,-h3,,,,
!!!!!!!!!!定义围岩
BLOCK,0,x0,10,10+h3,0,z
BLOCK,0,x0,-30,10,0,z
!全体布尔运算 叠分
allsel
vovlap,all,
!!!!压缩编号
numcmp,all
!房子编号1,5,2,17围岩,19,22(上下左右)
!隧道围岩18,16,8(10),7(3),9(11),6(4)(上下主支)
!隧道衬砌21,20,12,14,13,15
!!!!!!!!!!!!!!!!!!!!!!!定义单元
et,1,solid92
et,2,solid95
!开始定义材料
mptemp,,,,,,,,
mptemp,1,0
!!!!砂质泥岩围岩
!围岩4级(1)
mpdata,ex,1,,1.0e9
mpdata,prxy,1,,0.35
mpdata,dens,1,,2500
tb,DP,1,,,
tbmodif,1,1,1.1e6
tbmodif,1,2,35
tbmodif,1,3,
!房子材料(2)
mp,ex,2,5e10
mp,prxy,2,0.2
mp,dens,2,2500
!!!!砂岩围岩(3)
mpdata,ex,3,,1.5e9
mpdata,prxy,3,,0.35
mpdata,dens,3,,2500
tb,DP,3,,,
tbmodif,1,1,1.1e6
tbmodif,1,2,35
tbmodif,1,3,
!主隧道围岩(4)
mpdata,ex,4,,1.0e9
mpdata,prxy,4,,0.35
mpdata,dens,4,,2500
tb,DP,4,,,
tbmodif,1,1,1.1e6
tbmodif,1,2,35
tbmodif,1,3,
!主隧道衬砌围岩(5)
mpdata,ex,5,,1.0e9
mpdata,prxy,5,,0.35
mpdata,dens,5,,2500
tb,DP,5,,,
tbmodif,1,1,1.1e6
tbmodif,1,2,35
tbmodif,1,3,
!主隧道电力隧道围岩(6)
mpdata,ex,6,,1.0e9
mpdata,prxy,6,,0.35
mpdata,dens,6,,2500
tb,DP,6,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!主隧道电力隧道衬砌围岩(7)
mpdata,ex,7,,1.0e9
mpdata,prxy,7,,0.35
mpdata,dens,7,,2500
tb,DP,7,,,
tbmodif,1,1,1.1e6
tbmodif,1,2,35
tbmodif,1,3,
!主隧道初衬混凝土(8)
mpdata,ex,8,,3e10
mpdata,prxy,8,,0.2
mpdata,dens,8,,2500
tb,DP,8,,,
tbmodif,1,1,1.1e6
tbmodif,1,2,54
tbmodif,1,3,
!主隧道电力隧道初衬混凝土(9)
mpdata,ex,9,,3e10
mpdata,prxy,9,,0.2
mpdata,dens,9,,2500
tb,DP,9,,,
tbmodif,1,1,1.1e6
tbmodif,1,2,54
tbmodif,1,3,
!支洞三围岩(10)
mpdata,ex,10,,0.5e9
mpdata,prxy,10,,0.35
mpdata,dens,10,,2500
tb,DP,10,,,
tbmodif,1,1,1.1e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞三衬砌围岩(11)
mpdata,ex,11,,0.5e9
mpdata,prxy,11,,0.35
mpdata,dens,11,,2500
tb,DP,11,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞三电力隧道围岩(12)
mpdata,ex,12,,0.5e9
mpdata,prxy,12,,0.35
mpdata,dens,12,,2500
tb,DP,12,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞三电力隧道衬砌围岩(13)
mpdata,ex,13,,0.5e9
mpdata,prxy,13,,0.35
mpdata,dens,13,,2500
tb,DP,13,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞三初衬混凝土(14)
mpdata,ex,14,,2.5e9
mpdata,prxy,14,,0.35
mpdata,dens,14,,2500
tb,DP,14,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞三电力隧道初衬混凝土(15)
mpdata,ex,15,,2.5e9
mpdata,prxy,15,,0.35
mpdata,dens,15,,2500
tb,DP,15,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞二围岩(16)
mpdata,ex,16,,0.5e9
mpdata,prxy,16,,0.35
mpdata,dens,16,,2500
tb,DP,16,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞二衬砌围岩(17)
mpdata,ex,17,,0.5e9
mpdata,prxy,17,,0.35
mpdata,dens,17,,2500
tb,DP,17,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞二电力隧道围岩(18)
mpdata,ex,18,,0.5e9
mpdata,prxy,18,,0.35
mpdata,dens,18,,2500
tb,DP,18,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞二电力隧道衬砌围岩(19)
mpdata,ex,19,,0.5e9
mpdata,prxy,19,,0.35
mpdata,dens,19,,2500
tb,DP,19,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞二初衬混凝土(20)
mpdata,ex,20,,2.5e9
mpdata,prxy,20,,0.35
mpdata,dens,20,,2500
tb,DP,20,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!支洞二电力隧道初衬混凝土(21)
mpdata,ex,21,,2.5e9
mpdata,prxy,21,,0.35
mpdata,dens,21,,2500
tb,DP,21,,,
tbmodif,1,1,1.2e6
tbmodif,1,2,35
tbmodif,1,3,
!!!!!!!!!!!!!!!!!!!!!!!!!开始划分网格
!隧道划分
allsel
!!!!!!划分主隧道网格
!划分3,4号体
fn=2
lesize,84,,,fn,,,,,1
lesize,93,,,fn,,,,,1
lesize,91,,,fn,,,,,1
lesize,80,,,fn,,,,,1
fn=2
lesize,215,,,fn,,,,,1
lesize,218,,,fn,,,,,1
lesize,213,,,fn,,,,,1
lesize,217,,,fn,,,,,1