flac3d5.0常用命令集锦
- 格式:pdf
- 大小:5.28 MB
- 文档页数:29
1、FLAC3D常见命令:1. FLAC3D是有限元程序吗?答:不是!是有限差分法。
2. 最先需要掌握有哪些?答:需要掌握gen, ini, app, plo, solve等建模、初始条件、边界条件、后处理和求解。
3. 怎样看模型的样子?答:plo blo gro可以看到不同的group的颜色分布4. 怎样看模型的边界情况?答:plo gpfix red5. 怎样看模型的体力分布?答:plo fap red6. 怎样看模型的云图?答:位移:plo con dis (xdis, ydis, zdis)应力:plo con sz (sy, sx, sxy, syz, sxz)7. 怎样看模型的矢量图?答:plo dis (xdis, ydis, zdis)8. 怎样看模型有多少单元、节点?答:pri info9. 怎样输出模型的后处理图?答:File/Print type/Jpg file,然后选择File/Print,将保存格式选择为jpe文件10. 怎样调用一个文件?答:File/call或者call命令10. 如何施加面力?答:app nstress11. 如何调整视图的大小、角度?答:综合使用x, y, z, m, Shift键,配合使用Ctrl+R,Ctrl+Z等快捷键12. 如何进行边界约束?答:fix x ran (约束的是速度,在初始情况下约束等效于位移约束)13. 如何知道每个单元的ID?答:用鼠标双击单元的表面,可以知道单元的ID和坐标14. 如何进行切片?答:plo set plane ori (点坐标) norm (法向矢量)plo con sz plane (显示z方向应力的切片)15. 如何保存计算结果?答:save +文件名.16. 如何调用已保存的结果?答:rest +文件名;或者File / Restore17. 如何暂停计算?答:Esc18. 如何在程序中进行暂停,并可恢复计算?答:在命令中加入pause命令,用continue进行继续19. 如何跳过某个计算步?答:在计算中按空格键跳过本次计算,自动进入下一步20. Fish是什么东西?答:是FLAC3D的内置语言,可以用来进行参数化模型、完成命令本身不能进行的功能21. Fish是否一定要学?答:可以不用,需要的时候查Mannual获得需要的变量就可以了22. FLAC3D允许文件格式有哪些?答:无所谓,只要是文本文件,什么后缀都可以23. 如何调用一些可选模块?答:config dyn (fluid, creep, cppudm)24 .如何在圆柱体四周如何施加约束条件?答:可以用fix ... ran cylinder end1 end2 radius r1 cylinder end1 end2 radius r2 not,其中r225.如何能把一个PLOT的图像数据导出来以便用其他软件绘图?答:用set log on 命令,把数据导出来,转到excel里处理一下,然后用surfer或者什么作图软件绘制就行了。
(新)Flac3D5.0笔记FLAC3D5.0导入dat、txt文件的方法FLAC3D5.0导入.sav文件的方法输入命令流:Restore 文件名.savFLAC3D5.0导入.f3prj文件的方法页脚内容1视图窗口关闭后,如何再次呈现?输入命令plot zone页脚内容2当命令流输错可从这里撤销页脚内容3点亮相应命令流后才可撤销透明度的调整保存项目文件页脚内容4保存文件的重命名做切片页脚内容5倾向和倾角法向和过一个点删除切片Ctrl+R为查看模型后还原显示接触面,双击I nterface显示接触面页脚内容6接触面属性项被激活后,可以更改属性隐藏网格显示输出网格页脚内容7如果点击了透明,将不显示Information 只要不点击透明,则显示Information 页脚内容8等同于点击显示节点坐标页脚内容9fish简介@之前要有(空格)之前加@是Flac3D3.0和5.0区别而在之间没有(空格)按下列步骤取消fish语言前要加@页脚内容10点击fish页脚内容11软件的刷新如何显示软件最终的安全系数显示软件节点.查看应力及最大剪应力的步骤页脚内容12查看位移云图的步骤页脚内容13输出云图页脚内容14设置出图边宽设置分辨率可设为1080 Reflect镜像restore调用之前的计算结果Origin原点normal法向量(该点与原点的坐标差)页脚内容15对于结构单元如桩,若点击Zone将不出现任何模型按如下步骤才可显示使用该命令后保存的文件与说建模的文件保存在同一文件夹页脚内容16查看约束反力的步骤查看分组的步骤位移云图的显示颜色相反如何调整页脚内容17连接两个不同尺寸的单元页脚内容18页脚内容19。
flac常用命令(FLAC common commands)FLAC3D common commands1. What are the first commands you need to master? Answer: commands such as gen, ini, app, PLO, solve, such as modeling, initial conditions, boundary conditions, postprocessing, and solving are required.2. How do I output the post-processing diagram of the model? Answer: File/Print, type/Jpg, file, and then select File/Print, save the format as JPE file.3. How do I call a file? Answer: File/call or call command 4, how to exert surface force? Answer: app nstress 5, how to adjust the size and angle of view? Answer: use x, y, Z, m, Shift keys, and use Ctrl+R, Ctrl+Z and other shortcut keys together. 6, how to carry out boundary constraints? Answer: fix x ran (the constraint is speed, in the initial case, the constraint is equivalent to the displacement constraint). 7, how do you know the ID of each unit? Answer: double-click the surface of the cell with the mouse to know the ID and coordinates of the unit. 8, how to slice? Answer: PLO, set, plane, ori (point coordinates), norm (normal vector), PLO, con, SZ, plane (showing the slice of the stress in the direction of the z) 9, how to save the result of calculation? Answer: save + file name 10, how to call saved results? Answer: rest + file name; or File / Restor 11, how to pause the calculation? Answer: Esc 12, how to pause in the program, and can restore the calculation? Answer: add the pause command to the command and proceed with continue. In our step by step solution, we want to get the result of a certain process, not wait until all the requests are finished, and then we can correct the error when the distribution is wrong, not wait for the result to come out. 13, how do you skip a calculation step? Answer: in the calculation, press the space bar to skip thiscalculation, automatically go to the next 14, Fish what is it? Does Fish have to learn? Answer: it's the built-in language of FLAC3D that can be used to parameterize models and perform commands that cannot be performed by themselves. Fish doesn't have to learn. When you need it, check Mannual and get the variables you need. What is the command file format allowed by 15 and FLAC3D? Answer: does not matter, as long as it is a text file, what suffix can be. 16. How do I call some optional modules? Answer: config dyn (fluid, creep, cppudm) 17, how to impose constraints around the cylinder? You can use fix, ran, cylinder, end1, end2, radius, R1, cylinder, end1, end2, radius, R2, not, R219, about DD, dip dip-direction angle, measured in: the global xy-plane clockwise from the positive y-axis from y to X is the shaft clockwise turn angle; dip dip angle, measured in the negative Z-direction from the global xy-plane this is the angle between the XY plane and Z axis; dip the angle between the reference plane and the XY plane symmetry, symmetry plane and XY angle reference plane is a ray projection in the XY plane; DD refers to the positive direction of axis Y clockwise direction steering angle (clockwise) projection to the normal direction is determined in the XY plane, and then determine the dip. Refers to dip XY from the plane to the plane defined by the angle. 20, range command: 1 spherical range, is a center, part of the different radius between the force applied to the sphere, with the constraint, command, command: range annulus center XYZ radius R1 R2 (Center) (two radius), want to express is spherical, r1r2 value difference can be small, such as the radius 2.9 3.1 when the range is a radius of 3 plane. The order of force is applied to the torus of a cylinder, exerting forceor restraint.范围缸end1 XYZ end2 XYZ半径R(端是表示柱体断面的中心点坐标)范围平面以上表示的是Z大于0的上部结构范围面吹表示的是Z小于0的下部结构范围DD DIP B XYZ表示的是走向角度起源,倾向角度B 的面DD表示,当面与xoy面相交时的垂线与Y轴正向的夹角,顺为正,说白话,就是面的指向方向面是朝那个方向的意思。
1. apply(缩写:app)可用来定义边界条件及初始条件:1)添加应力格式1:apply szz -0.3395e6 range z -0.1 0.1格式1:apply szz -0.3395e6 range group pile格式3:apply szz -0.3395e6 range z -0.1 0.1 group pile格式4:apply nstress 数值range z 2.9 3.1(或3)x 1 2 y 1 22)以一定速度施加位移边界格式1:apply yvel -1e5 range y -1.9 2.1 ;施加y方向速度-1e5/step3)添加边界条件格式:apply szz <数值> grad <梯度> range <范围>示例1:apply szz -1e9 grad 0 0 8.3e5 range z 0 120示例2:apply szz -0.6e6 range z 0.05 0.15 group pile注:<数值>是梯度方向坐标0点的数值,可通过定义坐标范围的上下值与梯度计算得到。
2. range(缩写:ran)通过range功能,可以使命令作用在一定指定范围的目标上;如果一个命令没有使用range来确定范围,则命令对整个模型有效。
1)利用坐标指定一定的范围格式1:range z 0 1格式2:range z 2.9 3.1 x 1 2 y 1 22)利用分组来指定范围格式:range group 13)以上两种的复合格式:range z -0.1 0.1 group pile4)利用id号来指定一定的范围格式:range id 0 10该命令后跟起始id和结束id,这里的id可以是实体单元、网格、结构单元、接触面和节点的编号。
例:model elastic range id 1 10 ;指定id为1到10的单元为各向同性弹性本构。
1、怎样查看模型?答:plot grid 可以查看网格,plot grid num 可以查看节点号。
2、请问在圆柱体四周如何施加约束条件?答:可以用fix ... ran cylinder end1 end2 radius r1 cylinder end1 end2 radius r2 not,其中r2<r1,其实就是选择range的时候选两个圆柱的差,即得到边界。
命令流如下:fix x range end1 1 0 0 end2 1 4 0 rad 1 end1 1 0 0 end2 1 4 0 rad 13、怎么能把一个PLOT的图像数据导出来以便用其他软件绘图?答:用set log on 命令,把数据导出来,转到excel里处理一下,然后用surfer或者什么作图软件绘制就行了。
4、用命令建立模型后,如何显示点的坐标?答:使用plo blo gro gpnum on命令5、关于gauss_dev对性质进行高斯正态分布的问题?答:根据手册上的说明:下面的命令设定一个平均摩擦角为40度,标准方差是±5%。
则命令如下:prop friction 40 gauss_dev 2 问题:请问gauss_dev 2中的2是如何计算的?如果把±5%改为±10%,则命令应如何写?40×5%=26、 reflect问题问:gen zone radbrick &p0 (0,0,0) p1 (10,0,0) p2 (0,10,0) p3 (0,0,10) &size 3,5,5,7 &ratio 1,1,1,1.5 &dim 1 4 2 fill plot surfgen zone reflect dip 0 dd 90 (对xy面做镜像)gen zone reflect dip 90 dd 90 (对yz面做镜像)(1)dd表示y轴正向顺时针到那条射线的夹角,dip表示对称参照面与xy平面的夹角,对称参照面与xy平面的夹角在xy平面的投影是一条射线。
FLAC3D常见命令与使用技巧1、FLAC3D常见命令:1.FLAC3D是有限元程序吗?答:不是!是有限差分法。
2.最先需要掌握的命令有哪些?答:需要掌握gen, ini, app, plo, solve等建模、初始条件、边界条件、后处理和求解的命令。
3.怎样看模型的样子?答:plo blo gro可以看到不同的group的颜色分布4.怎样看模型的边界情况?答:plo gpfix red5.怎样看模型的体力分布?答:plo fap red6.怎样看模型的云图?答:位移:plo con dis (xdis, ydis, zdis)应力:plo con sz (sy, sx,sxy, syz, sxz)7.怎样看模型的矢量图?答:plo dis (xdis, ydis, zdis)8.怎样看模型有多少单元、节点?答:pri info9.怎样输出模型的后处理图?答:File/Print type/Jpg file,然后选择File/Print,将保存格式选择为jpe文件10.怎样调用一个文件?答:File/call或者call命令10.如何施加面力?答:app nstress11.如何调整视图的大小、角度?答:综合使用x, y, z, m, Shift键,配合使用Ctrl+R,Ctrl+Z等快捷键12.如何进行边界约束?答:fix x ran(约束的是速度,在初始情况下约束等效于位移约束)13.如何知道每个单元的ID?答:用鼠标双击单元的表面,可以知道单元的ID和坐标14.如何进行切片?答:plo set plane ori (点坐标) norm (法向矢量) plo con sz plane (显示z方向应力的切片)15.如何保存计算结果?答:save +文件名.16.如何调用已保存的结果?答:rest +文件名;或者File / Restore17.如何暂停计算?答:Esc18.如何在程序中进行暂停,并可恢复计算?答:在命令中加入pause命令,用continue进行继续19.如何跳过某个计算步?答:在计算中按空格键跳过本次计算,自动进入下一步20. Fish是什么东西?答:是FLAC3D的内置语言,可以用来进行参数化模型、完成命令本身不能进行的功能21. Fish是否一定要学?答:可以不用,需要的时候查Mannual获得需要的变量就可以了22.FLAC3D允许的命令文件格式有哪些?答:无所谓,只要是文本文件,什么后缀都可以23.如何调用一些可选模块?答:config dyn (fluid, creep, cppudm)24 .如何在圆柱体四周如何施加约束条件?答:可以用fix ... ran cylinder end1 end2 radius r1 cylinder end1 end2radius r2 not,其中r225.如何能把一个PLOT的图像数据导出来以便用其他软件绘图?答:用set log on命令,把数据导出来,转到excel里处理一下,然后用surfer或者什么作图软件绘制就行了。
flac3d常用命令师姐整理。
pl sel rec sres my surfx 0 1 0 ra y 0 24 scale=0.05pl add fap ra cyl end1 0 0 -17 end2 0 42 -17 r 3.1pl add sel geom id on;查局部坐标pr sel node local ra id=1pr sel rec surfpl sel geom node off nodesys on scale=0.06pl sel geom node off surfsys on scale=0.06pl sel pile fo fx; 看桩轴力pl bl gr id on ra y 20 21;查看zoneIDpl sur gp on ra y 20 24 ;监测点位移,找点gpidpl sel geom cid on ra y 22 24 ;监测衬砌内力,找衬砌cidpl sel geom cid on node off ra y 21 23 ;监测桩号,找桩cidpl bl state shear-n ;看屈服pl add gpfix ;查固定边界条件pl add su magf 10 ;变形后位移pr gp disp ra id=12067;查看某点位移pl bcon prop bu;无刚度错误错误pr sel node link ra id ;找node连接的link号pr sel link tar ra id ;找link的目标节点pr sel link sou ra id ;找link的源节点pr sel link attachpr sel link c lind k;查link的刚度pr sel rec sr my;pl sel disp magf 100;pl sel pile fo fx;pl sel pile mo my;pl con zdis。
FLAC3D5.0导入dat、txt文件的方法
FLAC3D5.0导入.sav文件的方法
输入命令流:Restore 文件名.sav
FLAC3D5.0导入.f3prj文件的方法
视图窗口关闭后,如何再次呈现?输入命令plot zone
当命令流输错可从这里撤销
点亮相应命令流后才可撤销
透明度的调整
保存项目文件
保存文件的重命名
做切片
倾向和倾角
法向和过一个点
删除切片
Ctrl+R为查看模型后还原
显示接触面,双击I nterface显示接触面
接触面属性项被激活后,可以更改属性隐藏网格显示
输出网格
如果点击了透明,将不显示Information
只要不点击透明,则显示Information
等同于
点击显示节点坐标
fish简介
之前要有(空格)之前加是Flac3D3.0和5.0区别而在之间没有(空格)
按下列步骤取消fish语言前要加
点击fish
软件的刷新如何显示软件最终的安全系数
显示软件节点.
查看应力及最大剪应力的步骤
查看位移云图的步骤
输出云图
设置出图边宽
设置分辨率可设为1080 Reflect镜像restore调用之前的计算结果
Origin原点normal法向量(该点与原点的坐标差)
对于结构单元如桩,若点击Zone将不出现任何模型
按如下步骤才可显示
使用该命令后保存的文件与说建模的文件保存在同一文件夹
查看约束反力的步骤
查看分组的步骤
位移云图的显示颜色相反如何调整
连接两个不同尺寸的单元。
1、模型建好如何检验所建模型是否有问题注意:第一步建模一定不要建太大的模型,可以建非常小的模型,确保模型的准确性,这样可以尽快开始后边的步骤,等后边计算分析步骤快速做完验证没有大问题,再将准确的模型建好换上,重新计算得到更加准确的结果。
2、如何检验应力边界、位移边界、加载速率等是否准确Plot add gpfix:看位移边界Plo add fap:看应力边界,看加载方向是否准确Plot add vel:看速率,加载速率是否准确3、如何查看运算结果Plo con szz outline on:看z向应力云图,并显示边界网格Plo add disp:看位移Plo con zdisp outline on magf 5:看z向位移云图,变形扩大5倍Plo add bo :添加边界Plo blo state:看是否屈服Plo add stensor:查看大主应力方向Plo con smin:小主应力Plo con smax:大主应力Plo con ssi(shear strain increment):查看剪切应变增量云图Plo bcont smin:查看单元小主应力4、如何做切面并查看切面结果在编辑“Edit“菜单中设置切面位置,在上述3命令后加上plane(pl)即可。
如:Plo con smin pl:查看切面小主应力5、后处理将模型导入到tecplot中做切面,加等值线等,对结果进一步处理,得到更漂亮的一些结果。
其他重要命令总结:1、如何在圆柱体四周如何施加约束条件?可以用fix ... ran cylinder end1 end2 radius r1 cylinder end1 end2 radius r2 not,其中r2<r1,其实就是选择range的时候选两个圆柱的差,即得到边界。
2、如何能把一个PLOT的图像数据导出来以便用其他软件绘图?答:用set log on 命令,把数据导出来,转到excel里处理一下,然后用surfer 或者什么作图软件绘制就行了。
1. apply(缩写:app)可用来定义边界条件及初始条件:1)添加应力格式1:apply szz -0.3395e6 range z -0.1 0.1格式1:apply szz -0.3395e6 range group pile格式3:apply szz -0.3395e6 range z -0.1 0.1 group pile格式4:apply nstress 数值range z 2.9 3.1(或3)x 1 2 y 1 22)以一定速度施加位移边界格式1:apply yvel -1e5 range y -1.9 2.1 施; 加y 方向速度-1e5/step3)添加边界条件格式:apply szz <数值> grad <梯度> range <范围>示例1:apply szz -1e9 grad 0 0 8.3e5 range z 0 120 示例2:apply szz -0.6e6 range z 0.05 0.15 group pile 注:<数值>是梯度方向坐标0 点的数值,可通过定义坐标范围的上下值与梯度计算得到。
2. range(缩写:ran)通过range功能,可以使命令作用在一定指定范围的目标上;如果一个命令没有使用range 来确定范围,则命令对整个模型有效。
1)利用坐标指定一定的范围格式1:range z 0 1格式2:range z 2.9 3.1 x 1 2 y 1 22)利用分组来指定范围格式:range group 13)以上两种的复合格式:range z -0.1 0.1 group pile4)利用id 号来指定一定的范围格式:range id 0 10该命令后跟起始id 和结束id,这里的id 可以是实体单元、网格、结构单元、接触面和节点的编号。
例:model elastic range id 1 10 ;指定id 为1到10的单元为各向同性弹性本构。
5)命名一个范围(需要先命名这个范围)格式:range name <自己起一个名字> <范围> 示例:range name intersected_zones x 5 8 y 3 7 引用这个范围的格式:内容+range nrange <自己起的那个名字> 示例:range nrangeintersected_zone6)命名一个柱形范围格式:同4)示例1:range name bhole cylinder end10 0 0 end2 -9.14 0 0 rad 0.46示例2:range name interface1 cylinder end1 0 0 0 end2 0 0 -0.9 radius 0.36 &cylinder end1 0 0 0 end2 0 0 -0.9 radius 0.34 not 7)any 和notAny 跟在range 命令后表示“和”的意思,即使若干个定义的范围同时起效;not 跟在range后表示“除了”的意思,即除此之外的范围示例1:group wall range group 1 any group 2 any ;把组 1 和组 2 定义为新组,组名为wall示例2:group wall range group 1 not ;把除了组 1 之外的所有部分定义为新组,组名为wall.示例3:range name interface1 cylinder end1 0 0 0 end2 0 0 -0.9 radius 0.36 &cylinder end1 0 0 0 end2 0 0 -0.9 radius 0.34 not3. set 用来设置重力、收敛标准、给某些变量赋值1)设置重力格式:set gravity 0 0 -102)设置收敛标准格式1:set mech ratio <value> :用R 无量纲值确定收敛标准(默认10e-5)格式2:set mech force <value> ;绝对收敛标准,体系最大不平衡力小于某一临界值,此局限性较大。
FLAC3D5.0详细命令1、plot zones and gridpoint velocities directly, simply type plot zone velocity2、plot linecol or colorspecifies the color of the line.on/off turns line drawing for this option on or off.stylespecifies the linestyle used.widthispecifies the width of the line. This value must be between 0 and 10. A value of 0 indicates the smallest possible line (1 pixel).3、plot textNot all of the following keywords are available in all contexts. col orcolorspecifies which color the text will be drawn in.fa mily stringspecifies the name of the font family (for instance, “Ar- ial”or “Times New Roman”). (Note that underscores must be used in place of spaces in the name.)on/off turns text drawing on or off.4、plot create plot Myplotplot text on textplot text "this is my plot";(怎样显示文字?不会)5、保存图片plot create plot GravV;plot cut add plane dip=90 dd=0 origin=3,4,0plot cut add plane origin=119,90,110 nor 0 1 0plot set orient 120, 220, 0plot set center 45, 45, 0plot add zone plane behindplaneonplane offplot add bcontszzplot add axesplot post view GravV filename "103F1068"plot post filename "721F01F3-fft-input.ps" manualplot post view GravV filename "GravV.ps" manualplot post plot Plot01 file 127F1017.ps manual上面保存的是.ps的图片,不容易打开,我知道用photoshop可以打开,麻烦。
Flac 3D 常用命令总结new 不退出flac3d,新建一个新的分析计算任务generate 简写为ge 产生网格zone 简写为zo 指示为3维网格体brick 简写为b 指示为长方形的网格体size x y z 指示长方形网格体在x、y和z轴所划分的网格数plot 显示,输入之后回车会出现plot base/0 可以输入plot的任何子命令(add添加条目(surface 网格体颜色、axes 坐标系颜色)等),若回到flac3d命令状态,则按一次回车或输入qiut按x ,y,z 小写字母可以旋转当前视图中的X,Y ,Z 轴,相应的大写字母则方向相反。
m 放大,M缩小。
Ctrl+G可以切换彩色图和灰色图。
Model 简写为mo 定义材料模型Mohr 简写为moh 指摩尔-库伦模型Property 简写为pro 定义模型的材料参数,材料参数包括:密度density 简写为de,体积模量bulk简写为bu,切变模量shear 简写为sh,内摩擦角friction 简写为fric,内聚力cohesion 简写为c 抗拉强度tension 简写为ten等Set 用于设置模拟条件或控制条件,如重力加速度gravity,mechanical 设置静态力学分析的有关参数简写为mec,force 最大不平衡力简写为fo等。
比如set mechanical force 50Initial 简写为in 初始化网格的相关值。
Fix 保持网格节点指定参数(速度、压力、温度等)的值不变。
Range 指定范围History 简写为h 采样或记录迭代时模型中变量的值,检验采样记录时可以在plot子命令中输入history 1 、history 2等,忘记编号时可以输入print history就可以看到什么记录号对应什么变量或参数Nstep 简写为n 迭代次数,默认值等于10,ubalance 简写为unb 最大不平衡力,gp 采样网格节点的有关值,zdisplacement简写为zdis z轴方向的位移Solve 简写为so 控制相关过程的自动时间步一般等值线图(包括位移、速度、应力、压力、温度等),可以在一个新的视图中显示,首先要在plot子命令中新创建一个视图,可以输入“create 视图名”,回车,继续输入add contour/bcontour disp/szz…(contour为在当前视图中显示等值线图简写为con ,bcontour 绘制指定区的等值线图简写为bcon,disp 指定为位移量等值线图,szz 指定为应力等值线图)任意剖面上的等值线图,可以在刚创建的视图中再创建一个视图然后输入剖面参数,比如“set plane dip 90 dd 0 origin 3 4 0”(plane 简写为p 设置一个剖平面,dip 为剖面倾角,dd 为剖面的倾向,origin 简写为o 为剖面中的一点)Boundary 简写为bo 在视图中增加面的边界线框Behind 简写为be 为当前视图后面要转换视图则在plot子命令中输入“current 视图名”、show开挖把网格体的材料模型设置成空(null)模型即可,命令如下:Model null range x y zSet large 把材料设置成大变形求解时计算不收敛则用step命令,step 步数节点的ID号和重心的全局坐标可以由下面的命令得到:Print gp position单元体的ID号和重心的全局坐标可由如下的命令得到:Print zone所有命令大小写一样,都可以附带若干个关键字和有关的值,格式如下:Command 〈keyword value…〉[keyword,value…]…命令、关键字、数字可以用数个空格隔开,也可以用(),=隔开,;为注释符,;开始到行末都是注释一个简单的命令行只能至多80个字符(包括注释),如果超过80个字符则在行末输入&,每个命令最多含1024个字符。
FLAC3D常见命令与使用技巧1.基本命令:- !new: 创建一个新的FLAC3D模型- !zone generate: 通过定义边界和离散网格参数生成岩石模型- zone struct properties: 设置岩石模型的物理性质,如弹性模量、泊松比等- zone gridpoint initialize: 初始化模型中的网格节点- zone cmodel assign: 在指定区域内分配一种材料模型- zone face apply stress: 在模型表面施加一定的应力条件- zone solve: 求解模型,得到模型的应力应变分布2.材料模型:- zone cmodel initialize: 初始化材料模型的参数- zone cmodel property assign: 为材料模型分配属性- zone cmodel model assign: 为材料模型指定模型类型3.自定义模型:- zone cmodel new: 创建一个自定义材料模型- zone cmodel property new: 创建一个自定义的材料模型属性- zone cmodel property set: 设置材料模型属性的值- zone cmodel initialize: 初始化材料模型的参数4.辅助命令:- zone gridpoint fix: 固定指定区域的网格节点- zone gridpoint value prescribe: 为指定区域的网格节点预设值- zone gridpoint stress initialize: 初始化模型中的网格节点应力- zone gridpoint velocity assign: 为指定区域的网格节点分配速度- zone gridpoint delete: 删除指定区域的网格节点5.使用技巧:-使用脚本:可通过编写脚本,将一系列命令自动执行,提高工作效率-模型可视化:FLAC3D提供了强大的可视化功能,可以实时观察模型行为-使用参数化模型:可以通过设定参数的方式进行模型设置,便于修改和调整-多个窗口:可以同时打开多个FLAC3D窗口,方便对不同模型进行比较和分析-参考案例:可以参考软件自带的案例,了解不同类型的建模和分析方法这些是FLAC3D的一些常见命令和使用技巧,希望对用户在使用该软件时有所帮助。
1、怎样查看模型?答:plot grid 可以查看网格,plot grid num 可以查看节点号。
2、请问在圆柱体四周如何施加约束条件?答:可以用fix ... ran cylinder end1 end2 radius r1 cylinder end1 end2 radius r2 not,其中r2<r1,其实就是选择range的时候选两个圆柱的差,即得到边界。
命令流如下:fix x range end1 1 0 0 end2 1 4 0 rad 1 end1 1 0 0 end2 1 4 0 rad 13、怎么能把一个PLOT的图像数据导出来以便用其他软件绘图?答:用set log on 命令,把数据导出来,转到excel里处理一下,然后用surfer或者什么作图软件绘制就行了。
4、用命令建立模型后,如何显示点的坐标?答:使用plo blo gro gpnum on命令5、关于gauss_dev对性质进行高斯正态分布的问题?答:根据手册上的说明:下面的命令设定一个平均摩擦角为40度,标准方差是±5%。
则命令如下:prop friction 40 gauss_dev 2 问题:请问gauss_dev 2中的2是如何计算的?如果把±5%改为±10%,则命令应如何写?40×5%=26、 reflect问题问:gen zone radbrick &p0 (0,0,0) p1 (10,0,0) p2 (0,10,0) p3 (0,0,10) &size 3,5,5,7 &ratio 1,1,1,1.5 &dim 1 4 2 fill plot surfgen zone reflect dip 0 dd 90 (对xy面做镜像)gen zone reflect dip 90 dd 90 (对yz面做镜像)(1)dd表示y轴正向顺时针到那条射线的夹角,dip表示对称参照面与xy平面的夹角,对称参照面与xy平面的夹角在xy平面的投影是一条射线。
FLAC3D5.0导入dat、txt文件的方法
FLAC3D5.0导入.sav文件的方法
输入命令流:Restore 文件名.sav
FLAC3D5.0导入.f3prj文件的方法
视图窗口关闭后,如何再次呈现?输入命令plot zone
当命令流输错可从这里撤销
点亮相应命令流后才可撤销
透明度的调整
保存项目文件
保存文件的重命名
做切片
倾向和倾角
法向和过一个点
删除切片
Ctrl+R为查看模型后还原
显示接触面,双击I nterface显示接触面
接触面属性项被激活后,可以更改属性
隐藏网格显示
输出网格
如果点击了透明,将不显示Information
只要不点击透明,则显示Information
等同于
点击显示节点坐标
fish简介
@之前要有(空格)之前加@是Flac3D3.0和5.0区别
而在之间没有(空格)
按下列步骤取消fish语言前要加@
点击fish
软件的刷新
如何显示软件最终的安全系数
显示软件节点.
查看应力及最大剪应力的步骤
查看位移云图的步骤
输出云图
设置出图边宽
设置分辨率可设为1080 Reflect镜像restore调用之前的计算结果
Origin原点normal法向量(该点与原点的坐标差)
对于结构单元如桩,若点击Zone将不出现任何模型
按如下步骤才可显示
使用该命令后保存的文件与说建模的文件保存在同一文件夹
查看约束反力的步骤
查看分组的步骤
位移云图的显示颜色相反如何调整
连接两个不同尺寸的单元。
建 模1、调用文件:①文件与工程在同一个文件夹,只写文件名即可:If the called file is located in the same folder as the FLAC3D project file, then only the file name needbe 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, 0plot zonegen 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, 10plot current plot Plot01plot clearplot zoneUndo ;撤销命令set logfile 127X1001.txtset log on truncateset log offlist 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 typelist histfor a listing of the histories and their corresponding numbers.hist nstep 5 ;每5步记录1次。
默认是10步记录1次hist add ratio ; 记录maximum unbalanced force ratiohist add gp zdisp 4 4 8 ;记录节点的位移model null range x=2,4 y=2,6 z=5,10 ;To excavate thetrench,enterThe 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 specifiedini xdis 0 ydis 0 zdis 0 ;位移归零solvesave trench ; 保持计算结果的文件“TRENCH.F3SAV”不需要后缀4、group命令(注意新版本的区别,group zone)gen zone brick size 6 6 6group zone Tunnel range x 1 6 y 0 6 z 1 5 ;设置groupmodel 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 aboverange name Layer2 plane dip 0 dd 0 ori 0 0 0 belowprop bulk 1e8 shear 0.5e8 coh 0 tens 0 fric 35 range nrange Layer1prop bulk 1e7 shear 0.3e7 coh 1e7 tens 0 fric 0 range nrange Layer2pl zone colorby group4、Interface命令以下是切割模型法生成interface:寺河模拟用的pl zonegen 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 1interface 1 wrap first group 1 second group 2interface 1 maxedge 0.5显示interface:plot create plot Plot01plot add surface;显示表面plot add interface red;显示交互面为红色plot show用导来导去法,已经在5.0上运行过,很好,值得借鉴pl zone colorby groupgen zone brick size 3 3 3 &p0 (0,0,0) p1 (3,0,0) p2 (0,3,0) p3 (0,0,1.5) &p4 (3,3,0) p5 (0,3,1.5) p6 (3,0,4.5) p7 (3,3,4.5)group zone Basegen zone brick size 3 3 3 &p0 (0,0,2.5) p1 (3,0,5.5) p2 (0,3,2.5) p3 (0,0,7) &p4 (3,3,5.5) p5 (0,3,7) p6 (3,0,7) p7 (3,3,7)group zone Top range group Base notinterface 1 face range plane norm (-1,0,1) origin (1.5,1.5,3) dist 0.1pl add interfacepauseini zpos add -1.0 range group Top4、hist命令(5.0版本需要加add)hist nstep=5 //设置采用间隔为5 等效于set hist_rep=5hist add id =2 zone szz 0,0,-1hist unbal //最大非平衡力hist add gp zdisp 4 4 8print histhist add gp zdis 0,0,0hist add gp zvel 0,0,0hist add gp ydisp 0,0,0;监测网格点(0,0,0)点的y 方向上的位移hist add zone syy 0,1,0;监测单元(0,1,0)点的y 方向上的应力hist add zone syy 1,1,0;监测单元(1,1,0)点的y 方向上的应力hist add zone szz 0,0,-1List historyset largehistory nstep 2history add fish tthistory add fish thetahistory add zone sxx (1,1,1)history add zone syy (1,1,1)history add zone szz (1,1,1)plot add his 3 4 5 vs 1HI STORY add fish var ;fish var变量的监测5、solve命令什么意思5、plot命令通过图形操作界面的方式:pl zone colorby gr ;查看各个分组通过命令流的方式:plot create plot Plot01plot clearplot add history 1 linestyle color blackplot post plot Plot01 file 127F1002.ps manualplot create plot Plot02plot clearplot add history 2 linestyle color blackplot post plot Plot02 file 127F1003.ps manualplot create plot GravVplot cut add plane dip 90 dd 0 origin 3,4.1,0 ;截面plot set center 3 3 3plot set eye 12 18 12plot add zone plane behindplane on onplane off ;addlabel "Zone" whiteplot add bcont szz ramp greyplot add axesplot post plot GravV file 127F1004.ps manualres kw50plot create plot szz_contourplot cut add plane dip 90 dd 180 origin 0,18.9,0 plot set orient 120 220 0plot set center 45 45 0plot add zone plane behindplane on onplane off ; plot add bcont szz ramp rainbowpl set mag 1.0plot add axesplot showplot create GravVplot set plane dip=90 dd=0 origin=3,4,0plot set rot 15 0 20 ;this would be achieved interactivelyplot set center 2.5 4.2 4.0 ;and is show here simply to illustrateplot add bound behindplot add bcont szz planeplot add axesplot show这样我们就建立了一个叫“Grav V”的图形,将它设为当前图层,对此图形设置一个倾角为90°的面,(在x-y面上,约定z的负方向为下),倾向为0°。