各位同道麻烦帮帮忙看看,我在计算安全系数时出现 math error
zero divide
invalid
file:/cyde.cpp
line:1267
会不会是我设置的水位线有问题,十分感谢。
;==================================初始应力计算
new
generate zone brick p0=(-37.675,0,13) p1=(-27.675,0,13)&
p2=(-37.675,1,13) p3=(-37.675,0,26)&
size 10 2 13 group c1
generate zone brick p0=(-27.675,0,13) p1=(-2.425,0,13)&
p2=(-27.675,1,13) p3=(-27.675,0,26)&
size 35 2 13 group c2
generate zone brick p0=(-2.425,0,13) p1=(0,0,13)&
p2=(-2.425,1,13) p3=(-2.425,0,26)&
size 5 2 13 group c3
generate zone brick p0=(-27.675,0,26) p1=(-2.425,0,26)&
p2=(-27.675,1,26) p3=(-20.175,0,29)&
p4=(-2.425,1,26) p5=(-20.175,1,29)&
p6=(-2.425,0,29) p7=(-2.425,1,29)&
size 35 2 6 group c4
generate zone brick p0=(-2.425,0,26) p1=(0,0,26)&
p2=(-2.425,1,26) p3=(-2.425,0,29)&
size 5 2 6 group c5
generate zone brick p0=(-20.175,0,29) p1=(-2.425,0,29)&
p2=(-20.175,1,29) p3=(-11.425,0,34)&
p4=(-2.425,1,29) p5=(-11.425,1,34)&
p6=(-2.425,0,34.36) p7=(-2.425,1,34.36)&
size 35 2 11 group c6
generate zone brick p0=(-2.425,0,29) p1=(0,0,29)&
p2=(-2.425,1,29) p3=(-2.425,0,34.36)&
size 5 2 11 group c7
generate zone brick p0=(-2.425,0,34.36) p1=(0,0,34.36)&
p2=(-2.425,1,34.36) p3=(-1.55,0,34.86)&
p4=(0,1,34.36) p5=(-1.55,1,34.86)&
p6=(0,0,34.86) p7=(0,1,34.86)&
size 5 2 1 group c8
;plot block group
;pause
fix x y range x -37.676 -37.674
fix x y range x -0.01 0.01
fix y range y -0.01 0.01
fix y range y 0.99 1.01
fix x y z range z 12.99 13.01
initial density=1888 range z=13 26
initial density=2800 range x=-2.425 0 z=26 34.86
initial density=2235 range x=-27.675 -2.425 z=26 29
initial density=2215 range x=-20.175 -2.425 z=29 34.36
set gravity 0 0 -9.8
water density 1000
water table face(-37.675 0 29)(-37.675 1 29)(0 1 29)(0 0 29)
ini pp 2.842e5 grad 0 0 -9.8e3 range x -37.675 -0.01 z 26 29
;plot con pp outline on
;plot bcon pp outline on
;====================================初始应力
model mohr
property cohesion 30.1e9 dilation 0 friction 11.34 bulk 3.275e6 shear 1.512e6 tension 2.746e8 &
range z=13 26
property cohesion 1e9 dilation 10 friction 45 bulk 200e6 shear 92.308e6 tension 1e8 &
range x=-2.425 0 z=26 34.86
property cohesion 7.8e9 dilation 0 friction 31.51 bulk 25.69e6 shear 6.46e6 tension 1e8 &
range x=-27.675 -2.425 z=26 29
property cohesion 32.7e9 dilation 0 friction 31.08 bulk 27.728e6 shear 8.227e6 tension 2.53e8 &
range x=-20.175 -2.425 z=29 34.36
hist unbal
plo hist 1
solve
ini xdisp 0 ydisp 0 zdisp 0 ; 位移场清零
ini xvel 0 yvel 0 zvel 0 ;速度场清零
save 5mGRAV.sav
plot add bcon szz
plot show
===============================================安全系数计算
new
restore 5mGRAV.sav
model mohr
property cohesion 30.1e3 dilation 0 friction 11.34 bulk 3.275e6 shear 1.512e6 tension 2.746e6 &
range z=13 26
property cohesion 0 dilation 10 friction 45 bulk 200e6 shear 92.308e6 tension 0 &
range x=-2.425 0 z=26 34.86
property cohesion 7.8e3 dilation 0 friction 31.51 bulk 25.69e6 shear 6.46e6 tension 0 &
range x=-27.675 -2.425 z=26 29
property cohesion 32.7e3 dilation 0 friction 31.08 bulk 27.728e6 shear 8.227e6 tension 2.53e6 &
range x=-20.175 -2.425 z=29 34.36
hist unbal
plo hist 1
;自动求解安全因子
solve fos
save 5mFOS.sav
plot add bcon szz
plot show