您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 综合/其它 > flac3d--5.0常用命令集锦
建模1、调用文件:①文件与工程在同一个文件夹,只写文件名即可:IfthecalledfileislocatedinthesamefolderastheFLAC3Dprojectfile,thenonlythefilenameneedbeenteredwiththeCALLcommand.②不在同一个文件夹,全路径:Otherwise,thefilemaybecalledbyspecifyingitscompletepath(e.g.,c:\myfolder\file.dat).Undo;撤销上一条命令2、创建旋转缩放视图3、建模命令modelmechmohr;莫尔库伦模型modelmechelastic;弹性模型setgrav0,0,-9.81;重力加速度negativez-direction.(垂直向下!常用的)下下下面面面这这这代代代码码码,,,是是是沿沿沿着着着---yyy方方方向向向的的的重重重力力力加加加速速速度度度,,,注注注意意意区区区别别别!!!!!!!!!!!!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;撤销命令setlogfile127X1001.txtsetlogontruncatesetlogofflistzoneprinrangex01y01z01;显示指定范围内各单元的主应力,结果如下Hist命令:①命令编号按顺序从1开始:eachhistoryisnumberedsequentiallyfrom1asitisenteredviatheHISTORYcommand.②查找显示所有的his命令:ReturntotheFlac3Dpromptandtypelisthistforalistingofthehistoriesandtheircorrespondingnumbers.histnstep5;每5步记录1次。默认是10步记录1次histaddratio;记录maximumunbalancedforceratiohistaddgpzdisp448;记录节点的位移modelnullrangex=2,4y=2,6z=5,10;Toexcavatethetrench,enterThedimensionsoftheexcavationregion(i.e.,thenullmaterial)aredefinedbythex-,y-andz-coordinaterange.setlarge;设置大变形large-strainlogicisspecifiedinixdis0ydis0zdis0;位移归零solvesavetrench;保持计算结果的文件“TRENCH.F3SAV”不需要后缀4、group命令(注意新版本的区别,groupzone)genzonebricksize666groupzoneTunnelrangex16y06z15;设置groupmodelmechmohr;莫尔库伦模型modelmechnullrangegroupTunnel;groupzoneTunnelrangecylinderend1100105100end210095100radius3groupzoneMatrixrangegroupTunnelnot;namingRANGESthatarefixedinspaceandunrelated;tothemodelgeometry-representsstratigraphy...rangenameLayer1planedip0dd0ori000aboverangenameLayer2planedip0dd0ori000belowpropbulk1e8shear0.5e8coh0tens0fric35rangenrangeLayer1propbulk1e7shear0.3e7coh1e7tens0fric0rangenrangeLayer2plzonecolorbygroup4、Interface命令以下是切割模型法生成interface:寺河模拟用的plzonegenzonebrickp0000p120000p20400p3004size100202group1;genzonebrickp0004p120004p20404p3008size100202group2;genseparategroup1interface1wrapfirstgroup1secondgroup2interface1maxedge0.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.1pladdinterfacepauseinizposadd-1.0rangegroupTop4、hist命令(5.0版本需要加add!!!)histnstep=5//设置采用间隔为5等效于sethist_rep=5histaddid=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,-1Listhistorysetlargehistorynstep2historyaddfishtthistoryaddfishthetahistoryaddzonesxx(1,1,1)historyaddzonesyy(1,1,1)historyaddzoneszz(1,1,1)plotaddhis345vs1HISTORYaddfishvar;fishvar变量的监测5、solve命令?????什么意思5、plot命令通过图形操作界面的方式:plzonecolorbygr;查看各个分组通过命令流的方式:plotcreateplotPlot01plotclearplotaddhistory1linestylecolorblackplotpostplotPlot01file127F1002.psmanualplotcreateplotPlot02plotclearplotaddhistory2linestylecolorblackplotpostplotPlot02file127F1003.psmanualplotcreateplotGravVplotcutaddplanedip90dd0origin3,4.1,0;截面plotsetcenter333plotseteye121812plotaddzoneplanebehindplaneononplaneoff;addlabelZonewhiteplotaddbcontszzrampgreyplotaddaxesplotpostplotGravVfile127F1004.psmanualreskw50plotcreateplotszz_contourplotcutaddplanedip90dd180origin0,18.9,0plotsetorient1202200plotsetcenter45450plotaddzoneplanebehindplaneononplaneoff;plotaddbcontszzramprainbowplsetmag1.0plotaddaxesplotshowplotcreateGravVplotsetplanedip=90dd=0origin=3,4,0plotsetrot15020;thiswouldbeachievedinteractivelyplotsetcenter2.54.24.0;andisshowheresimplytoillustrateplotaddboundbehindplotaddbcontszzplaneplotaddaxesplotshow这样我们就建立了一个叫“GravV”的图形,将它设为当前图层,对此图形设置一个倾角为90°的面,(在x-y面上,约定z的负方向为下),倾向为0°。(在x-y面上,从y的正方向开始沿顺时针方向计量),过x-y面上一点(x=3,y=4,z=0),在平面后加一个网格,垂直方向的应力Qzz,最后给模型加轴线,整体图形轮廓与添加图形相反,显示每个区域中心的应力计算值,每个区域的颜色直接对应基本区域的应力,当键入show,我们建立的图形被显示PlotcreateDispcontPladdcontdispplanebehindPladdaxesPlshowplotsketch;绘出轮廓线plotaddvel;添加矢量plotaddhis12vs3;绘出历史记录n,actLoad,p_solcyc15000plotCreateTrenchAddsurfaceyellowAddaxesblackShowplotcreateszz_contour;创建文件名为szz_contour(z方向的应力云图)plotsetcent445;视图的中心坐标为(4,4,5)plotsetrot20030;视图的旋转角度为(20,0,30)plotsetmag1.0;视图的放大倍数为1.0plotaddcontszzoutonshadeon;打开szz的等值线图plotaddaxes;打开坐标轴线plotshow;显示窗口;不同的区域,材料赋值不同plzonecolorbymodelplzonecolorbygroup求解前对模型进行检查网格检查(如前所述)边界条件检查速度约束条件plotgpfix荷载条件plotfap模型检查模型赋值ploblockmodel参数赋值ploblockprop***初始应力检查(如后所述)经常检查模型的响应plozconszz(syy,sxx)应力场ploconzdis(ydis,xdis)位移场plo(add)zonecolorbystate屈服状态plogpfix速度约束条件plofap体力plohist(unbal)1不平衡力(必需的)plsetmovieactiveonplsetmovieextensionjpgplsetmovieinterval20plsetmovieprefixsihekuangkaiwaplsetmoviesizeixiyplsetnamesihedacai
本文标题:flac3d--5.0常用命令集锦
链接地址:https://www.777doc.com/doc-1225238 .html