flac3d 5.0常用命令集锦
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
建 模
1、调用文件:
①文件与工程在同一个文件夹,只写文件名即可:If the called file is located in the same folder as the FLAC3D project file, then only the file name need be entered with the CALL command.
②不在同一个文件夹,全路径:Otherwise, the file may be called by specifying its complete path (e.g., c:\myfolder\file.dat ).
Undo ;撤销上一条命令
2、创建 旋转 缩放视图
3、建模命令
model mech mohr ;莫尔库伦模型
model mech elastic ;弹性模型
set grav 0, 0, -9.81 ; 重力加速度 negative z -direction. (垂直向下!常用的)
下下面面这这代代码码,,是是沿沿着着--y y 方方向向的的重重力力加加速速度度,,注注意意区区别别!!!!!!!!
gen zone brick size 6,8,8 p0 -10, -10, -20 ... ;省略号表示写不下后面继续
p1 10, -10, -20 ...
p2 -10, 10, -20 ...
p3 -10, -10, 0
plot zone
gen zone brick size 6,8,8 p0 -10, -10, -20 ... ;不规则六面体
p1 10, -10, -20 p2 -10, 10, -20 ...
p3 -10, -10, 0 p4 10, 10, -20 ...
p5 -10, 10, 10 p6 10, -10, 0 ...
p7 10, 10, 10
plot current plot Plot01
plot clear
plot zone
Undo ;撤销命令
set logfile 127X1001.txt
set log on truncate
set log off
list zone prin range x 0 1 y 0 1 z 0 1 ;显示指定范围内各单元的主应力,结果如下
Hist命令:
①命令编号按顺序从1开始:each history is numbered sequentially from 1 as it is entered via the HISTORY command.
②查找显示所有的his命令:Return to the Flac3D> prompt and type
list hist
for a listing of the histories and their corresponding numbers.
hist nstep 5 ;每5步记录1次。默认是10步记录1次
hist add ratio ; 记录maximum unbalanced force ratio
hist add gp zdisp 4 4 8 ;记录节点的位移
model null range x=2,4 y=2,6 z=5,10 ;To excavate the trench,enter
The dimensions of the excavation region (i.e., the null material) are defined by the x-, y- and z-coordinate range.
set large ; 设置大变形large-strain logic is specified
ini xdis 0 ydis 0 zdis 0 ;位移归零
solve
save trench ; 保持计算结果的文件“TRENCH.F3SA V”不需要后缀
4、group命令(注意新版本的区别,group zone)
gen zone brick size 6 6 6
group zone Tunnel range x 1 6 y 0 6 z 1 5 ;设置group
model mech mohr ; 莫尔库伦模型model mech null range group Tunnel ;
group zone Tunnel range cylinder end1 100 105 100 end2 100 95 100 radius 3 group zone Matrix range group Tunnel not
; naming RANGES that are fixed in space and unrelated
; to the model geometry - represents stratigraphy...
range name Layer1 plane dip 0 dd 0 ori 0 0 0 above
range name Layer2 plane dip 0 dd 0 ori 0 0 0 below
prop bulk 1e8 shear 0.5e8 coh 0 tens 0 fric 35 range nrange Layer1
prop bulk 1e7 shear 0.3e7 coh 1e7 tens 0 fric 0 range nrange Layer2
pl zone colorby group
4、Interface命令
以下是切割模型法生成interface:寺河模拟用的
pl zone
gen zone brick p0 0 0 0 p1 200 0 0 p2 0 40 0 p3 0 0 4 size 100 20 2 group 1 ; gen zone brick p0 0 0 4 p1 200 0 4 p2 0 40 4 p3 0 0 8 size 100 20 2 group 2 ; gen separate group 1
interface 1 wrap first group 1 second group 2
interface 1 maxedge 0.5
显示interface: