range name chuzhi group 3
range name weiyan group 19
def excavate
cut=0
loop while cut <=10.0
cut1 =cut+2
cut2=cut-2
;开挖
command
model null range group 3 z cut cut1 ;限定开挖长度
model null range group 8 z cut cut1
model null range group 14 z cut cut1
set hist_rep 1
set large
step 1
his unbal
his gp ydisp 17.464 6.1606 2 ;拱顶节点
his gp xdisp 24.686 1.0216 2 ;上台阶右拱角节点
his gp xdisp 10.243 1.0216 2 ;上台阶左拱角节点
end_command
if cut =10.0
command
set plot jpg
set plot quality 100
plot cont syy
plot hard file 7.jpg
plot cont sxx
plot hard file 8.jpg
plot cont ydis
plot hard file 9.jpg
end_command
end_if
if cut >=2 then
command
model elas range group 3 z cut2 cut
prop bulk=1.167e8 shear=0.875e8 range group 3 z cut2 cut
ini density 2500 range group 3 z cut2 cut
set hist_rep 1
step 1
def relax
relax_coef=0.4
relax_m=1.0-relax_coef
p_gp=gp_head
loop while p_gp # null
if inrange('chuzhi',p_gp) = 1 then
if inrange('weiyan',p_gp) = 1 then
xf=-gp_xfunbal(p_gp)*relax_m
yf=-gp_yfunbal(p_gp)*relax_m
zf=-gp_zfunbal(p_gp)*relax_m
pid=gp_id(p_gp)
command
apply xforce xf range id pid
apply yforce yf range id pid
apply zforce zf range id pid
endcommand
endif
endif
p_gp=gp_next(p_gp)
endloop
end
relax
his unbal
his gp ydisp 17.464 6.1606 2 ;拱顶节点
his gp xdisp 24.686 1.0216 2 ;上台阶右拱角节点
his gp xdisp 10.243 1.0216 2 ;上台阶左拱角节点
end_command
end_if
cut =cut+2
end_loop
command
set plot jpg
set plot quality 100
plot cont syy
plot hard file 10.jpg
plot cont sxx
plot hard file 11.jpg
plot cont ydis
plot hard file 12.jpg
end_command