当前位置:文档之家› [实用参考]Flac3d-5.0常用命令集锦.doc

[实用参考]Flac3d-5.0常用命令集锦.doc

建模1、调用文件:①文件与工程在同一个文件夹,只写文件名即可:Ifthecalledfileislocatedinthesamefolderasthe FLAC3D projectfile,thenonlyt hefilenameneedbeenteredwiththe CALL command.②不在同一个文件夹,全路径:Otherwise,thefilemaybecalledbyspecifyingitscompletepath(e.g.,c:\myfol der\file.dat).Undo;撤销上一条命令2、创建旋转缩放视图3、建模命令modelmechmohr;莫尔库伦模型modelmechelastic;弹性模型setgrav0,0,-9.81;重力加速度negative z-direction.(垂直向下!常用的)下下面面这这代代码码,,是是沿沿着着--y y方方向向的的重重力力加加速速度度,,注注意意区区别别!!!!!!!!genzonebricksize6,8,8p0-10,-10,-20...;省略号表示写不下后面继续p110,-10,-20...p2-10,10,-20...p3-10,-10,0plotzonegenzonebricksize6,8,8p0-10,-10,-20...;不规则六面体p110,-10,-20p2-10,10,-20...p3-10,-10,0p410,10,-20...p5-10,10,10p610,-10,0...p710,10,10plotcurrentplotPlot01plotclearplotzoneUndo;撤销命令setlogfile127G1001.tGtsetlogontruncatesetlogofflistzoneprinrangeG01y01z01;显示指定范围内各单元的主应力,结果如下Hist命令:①命令编号按顺序从1开始:eachhistoryisnumberedsequentiallyfrom1asitisenteredviathe HISTORY co mmand.②查找显示所有的his命令:ReturntotheFlac3D>promptandtypelisthist foralistingofthehistoriesandtheircorrespondingnumbers.histnstep5;每5步记录1次。

默认是10步记录1次histaddratio;记录maGimumunbalancedforceratiohistaddgpzdisp448;记录节点的位移modelnullrangeG=2,4y=2,6z=5,10;ToeGcavatethetrench,enter ThedimensionsoftheeGcavationregion(i.e.,thenullmaterial)aredefinedbyt he G-,y-and z-coordinaterange.setlarge;设置大变形large-strainlogicisspecifiediniGdis0ydis0zdis0;位移归零solvesavetrench;保持计算结果的文件“TRENCH.F3SAV”不需要后缀4、group命令(注意新版本的区别,groupzone)genzonebricksize666groupzoneTunnelrangeG16y06z15;设置groupmodelmechmohr;莫尔库伦模型modelmechnullrangegroupTunnel; groupzoneTunnelrangecylinderend1100105100end210095100radius3 groupzoneMatriGrangegroupTunnelnot;namingRANGESthatarefiGedinspaceandunrelated;tothemodelgeometry-representsstratigraphy...rangenameLayer1planedip0dd0ori000aboverangenameLayer2planedip0dd0ori000belowpropbulk1e8shear0.5e8coh0tens0fric35rangenrangeLayer1propbulk1e7shear0.3e7coh1e7tens0fric0rangenrangeLayer2 plzonecolorbygroup4、Interface命令以下是切割模型法生成interface:寺河模拟用的plzonegenzonebrickp0000p120KK0p20400p3004size100202group1; genzonebrickp0004p120KK4p20404p3008size100202group2; genseparategroup1interface1wrapfirstgroup1secondgroup2interface1maGedge0.5显示interface:plotcreateplotPlot01plotaddsurface;显示表面plotaddinterfacered;显示交互面为红色plotshow用导来导去法,已经在5.0上运行过,很好,值得借鉴plzonecolorbygroupgenzonebricksize333&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)groupzoneBasegenzonebricksize333&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) groupzoneToprangegroupBasenotinterface1facerangeplanenorm(-1,0,1)origin(1.5,1.5,3)dist0.1 pladdinterfacepauseini zpos add-1.0rangegroupTop4、hist命令(5.0版本需要加add!!!)histnstep=5//设置采用间隔为5等效于sethist_rep=5 histaddid=2zoneszz0,0,-1histunbal//最大非平衡力histaddgpzdisp448printhisthistaddgpzdis0,0,0histaddgpzvel0,0,0histaddgpydisp0,0,0;监测网格点(0,0,0)点的y方向上的位移histaddzonesyy0,1,0;监测单元(0,1,0)点的y方向上的应力histaddzonesyy1,1,0;监测单元(1,1,0)点的y方向上的应力histaddzoneszz0,0,-1Listhistorysetlargehistorynstep2historyaddfishtthistoryaddfishtheta historyaddzonesGG(1,1,1) historyaddzonesyy(1,1,1) historyaddzoneszz(1,1,1)plotaddhis345vs1HI STORY addfish var;fish var变量的监测5、solve命令?????什么意思5、plot命令通过图形操作界面的方式:plzonecolorbygr;查看各个分组通过命令流的方式:plotcreateplotPlot01plotclearplotaddhistory1linestylecolorblack plotpostplotPlot01file127F1002.psmanual plotcreateplotPlot02plotclearplotaddhistory2linestylecolorblackplotpostplotPlot02file127F1003.psmanual plotcreateplotGravVplotcutaddplanedip90dd0origin3,4.1,0;截面plotsetcenter333plotseteye121812 plotaddzoneplanebehindplaneononplaneoff;addlabel"Zone"white plotaddbcontszzrampgreyplotaddaGesplotpostplotGravVfile127F1004.psmanualreskw50plotcreateplotszz_contourplotcutaddplanedip90dd180origin0,18.9,0plotsetorient1202200plotsetcenter45450 plotaddzoneplanebehindplaneononplaneoff; plotaddbcontszzramprainbowplsetmag1.0plotaddaGesplotshowplotcreateGravVplotsetplanedip=90dd=0origin=3,4,0plotsetrot15020;thiswouldbeachievedinteractivelyplotsetcenter2.54.24.0;andisshowheresimplytoillustrate plotaddboundbehindplotaddbcontszzplaneplotaddaGesplotshow这样我们就建立了一个叫“GravV”的图形,将它设为当前图层,对此图形设置一个倾角为90°的面,(在G-y面上,约定z的负方向为下),倾向为0°。

(在G-y面上,从y的正方向开始沿顺时针方向计量),过G-y面上一点(G=3,y=4,z=0),在平面后加一个网格,垂直方向的应力Qzz,最后给模型加轴线,整体图形轮廓与添加图形相反,显示每个区域中心的应力计算值,每个区域的颜色直接对应基本区域的应力,当键入show,我们建立的图形被显示PlotcreateDispcontPladdcontdispplanebehindPladdaGesPlshowplotsketch;绘出轮廓线plotaddvel;添加矢量plotaddhis12vs3;绘出历史记录n,actLoad,p_solcyc15000plotCreateTrenchAddsurfaceyellowAddaGesblackShowplotcreateszz_contour;创建文件名为szz_contour(z方向的应力云图)plotsetcent445;视图的中心坐标为(4,4,5)plotsetrot20KK0;视图的旋转角度为(20,0,30)plotsetmag1.0;视图的放大倍数为1.0 plotaddcontszzoutonshadeon;打开szz的等值线图plotaddaGes;打开坐标轴线plotshow;显示窗口;不同的区域,材料赋值不同plzonecolorbymodel plzonecolorbygroup求解前对模型进行检查网格检查(如前所述)边界条件检查速度约束条件plotgpfiG荷载条件plotfap模型检查模型赋值ploblockmodel参数赋值ploblockpropGGG初始应力检查(如后所述)经常检查模型的响应plozconszz(syy,sGG) 应力场ploconzdis(ydis,Gdis) 位移场plo(add)zonecolorbystate 屈服状态plogpfiG 速度约束条件plofap 体力plohist(unbal)1 不平衡力(必需的)plbitmapview1filemyplot.png plbitmapview1size1024768 plcreate<viewid>。

相关主题