model new
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
Conference of Hohai University graduate students ;
Simple example of vacuum preloading ;
lakewater@126.com ;
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
model title 'vacuum_preloading_by_lakewater'
model configure fluid
zone fluid biot on
;
zone create brick point 0 0 0 0 point 1 5 0 0 point 2 0 2 0 point 3 0 0 20 size 3 1 10 group 'Face'
zone group 'Soft' range position-z 10 18
zone group 'Clay' range position-z 0 10
;
zone cmodel assign mohr-coulomb
zone property bulk 33e6 shear 7e6 cohesion 0 friction 30 range group 'Face'
zone property bulk .83e6 shear .17e6 cohesion 7.0e3 friction 5 range group 'Soft'
zone property bulk 6.66e6 shear 1.42e6 cohesion 8.0e3 friction 20 range group 'Clay'
;
;
zone initialize density 1500
zone fluid cmodel assign isotropic
zone gridpoint initialize fluid-tension -5e5
zone initialize fluid-density 1000
zone gridpoint initialize biot 4e9
zone fluid property permeability 10e-13
zone fluid property biot 1
zone fluid property permeability 10e-10 range group 'Face'
;
zone gridpoint fix velocity-x range position-z -0.1 0.1
zone gridpoint fix velocity-y range position-z -0.1 0.1
zone gridpoint fix velocity-z range position-z -0.1 0.1
zone gridpoint fix velocity-y range position-y -.01 0.01
zone gridpoint fix velocity-y range position-y 1.9 2.1
zone gridpoint fix velocity-x range position-x -.01 .01
zone gridpoint fix velocity-x range position-x 4.9 5.1
;
Stress K0=1
model gravity 0 0 -10
zone initialize stress-zz -400e3 gradient 0 0 20e3
zone initialize stress-yy -400e3 gradient 0 0 20e3
zone initialize stress-xx -400e3 gradient 0 0 20e3
zone gridpoint initialize pore-pressure 200e3 gradient 0 0 -10e3
;
model fluid active off
model cycle 5000
;
zone gridpoint initialize displacement-x 0
zone gridpoint initialize displacement-y 0
zone gridpoint initialize displacement-z 0
zone gridpoint initialize velocity-x 0
zone gridpoint initialize velocity-y 0
zone gridpoint initialize velocity-z 0
fixed pp on the PVD position
fish define fixPP
loop i(1,10)
pv = -80e3 +(i-1)*10e3
zt = 20.1-(i-1)
zb = 20.1-i
command
zone gridpoint fix pore-pressure @pv range position-x -.1 .1 position-z @zb @zt
end_command
end_loop
end
model cycle 5000
;
model fluid active on
zone gridpoint initialize biot 4.3e7 range group 'Soft' not
zone gridpoint initialize biot 9.0e6 range group 'Soft'
;
model mechanical substep 100
model mechanical slave on
model fluid substep 30
model fluid slave off
--- histories ---
fish define day
day=fluid.time.total/24/3600
end
@day
fish history @day
zone history name '2' displacement-z position 2.5 0 20
zone history name '3' displacement-z position 2.5 0 10
;
--- solve to 7776000sec, 3 month ---
model solve unbalanced-maximum 15e3 time-total 7.776e6
图1 运行结果图(触摸板和鼠标都坏了,没法截图,见谅)
首先声明:这不是什么有意义的工作。在2群的小伙伴应该都知道我为什么发这个命令流。
大家对照着书上的原命令,体会一下6.0和3.0在细节上的不一样,如调用函数、变量需要加艾特,求解的收敛准则设置,也可以使用内置的命令转换功能把3.0命令转换为6.0,参见本订阅号第一篇文
>>>
一颗青柠檬,公 众号:FLAC3D小技巧FLAC3D6.0新手向之命令篇(一)
最后还是建议各位初学者认认真真打好基础,步子不要太大了,容易扯着X。