新浪博客

[转载]flac3d500 plot命令详细

2018-08-21 15:10阅读:
原文作者:猪冰龙

1、plot zones and gridpoint velocities directly, simply type
plot zone velocity
2、plot line
color color
specifies the color of the line.
on/off turns line drawing for this option on or off.
style
specifies the linestyle used.
width i
specifies 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 text
Not all of the following keywords ar
e available in all contexts.
color color
specifies which color the text will be drawn in.
family string
specifies 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 Myplot
plot text on text
plot text 'this is my plot';(怎样显示文字?不会)
5、保存图片
plot create plot GravV
;plot cut add plane dip=90 dd=0 origin=3,4,0
plot cut add plane origin=119,90,110 nor 0 1 0
plot set orient 120, 220, 0
plot set center 45, 45, 0
plot add zone plane behindplane onplane off
plot add bcont szz
plot add axes
plot post view GravV filename '103F1068'
plot post filename '721F01F3-fft-input.ps' manual
plot post view GravV filename 'GravV.ps' manual

plot post plot Plot01 file 127F1017.ps manual
上面保存的是.ps的图片,不容易打开,我知道用photoshop可以打开,麻烦。下面保存为bitmap图片:
plot create plot GravV
plot add zone
plot add geom location addlabel 'Polygon' lightcyan
plot set movieextension bmp;(bmp or jpeg/jpg/png/ppm/xbm/xpm);设置输出图片类型
实际用时我用:plot set movieextension bmp或 plot set movieextension png
plot bitmap filename 'GravV.png' size 1024 768;输出图片,名为GravV.png,并控制大小


6、显示cad保存的.dxf多面图元在flac3d500中并在左面bar上加Polygon字样
plot add geom location addlabel 'Polygon' lightcyan
7、切片
plot cut add plane name string origin x y z nor x y z
plot set movieextension bmp(or jpeg/jpg/png/ppm/xbm/xpm)
plot cut add plane origin x y z nor x y z ;plot cut add plane origin 5100 -9460 -40 nor 1 0 0
8、显示不同破坏准则的模型单元体
plot bcontour property propname young
9、显示单元
plot add sel geom
10、按组显示单元体
plot add zone colorby group addlabel 'Default' rgb (255,255,255) addlabel 'Count 1' rgb (160,160,160) lighting off range z 0 3.9

plot add zgroup
11、显示cad图元:
plot add geometry contour
12、显示坐标轴
plot add axes
13、显示模型表面szz应力云图,力都用下面的命令
plot add isozone szz
---
显示内部竖直压应力:
pl zcon szz
14、显示模型表面的z向位移,只要是位移或速度或加速度都用下面的
plot add isosurface zdis
15、显示块体的表面szz
plot bcontour szz
16、显示锚杆力
plot add sel cabblock force line width 4

plot cont disp ramp grey reverse on trans 50 backface on
plot add sel cabblock force line width 5 ramp grey reverse on
17、清除视图
plot clear
18、改变hist线属性
plot add hist 1 linestyle color black
19、用刚才视图窗口
plot current plot Plot01
plot clear
plot zone colorby model
20、range 的用法
; --- range definitions ---
range name drift x -39.63 0 y -19.51 -15.24 z -1.57 2.09
range name room x -14.63 -9.14 y -15.24 15.24 z -1.57 3.92
range name bhole cylinder end1 0 0 0 end2 -9.14 0 0 rad 0.46
range name empty union nrange drift nrange room nrange bhole
model mech null range nrange empty
solve
save wipe1_a
21、切片
plot create plot DispCont1
plot set job on
plot set center (0,0,0) eye (-2,0,0) orientation (90,90,0)
plot cut add plane origin (-0.1,0,0) normal (1,0,0) caption on
plot add cont disp ramp grey reverse on wireframe off fill &
plane onplane on &
maximum 0.1 minimum 0 interval 0.01

plot create plot Model1
plot set job on
plot set center (-18,-6,-23) eye (60,-72,62) orientation (130,-50,0)
plot cut add plane origin (0,0,0) normal (0,0,1) caption on
plot add zone colorby uniform addlabel 'Zone' white &
plane onplane on behindplane on &
backface off

plot create plot Model2
plot set job on
plot set center (-30,1.5,-7) eye (94,-102,86) orientation (130,-50,0)
plot add zone colorby uniform addlabel 'Zone' white

plot create plot Model3
plot set job on
plot set center (-94,53,-56) eye (6,-4,10) orientation (120,-60,0)
plot cut add plane origin (0,0,0) normal (0,0,1) caption on
plot add zone colorby uniform addlabel 'Zone' white &
plane onplane on behindplane on &
backface off
22、清零
initial xdisp 0 ydisp 0 zdisp 0
initial xvel 0 yvel 0 zvel 0
23、历史
history add id 1 gp pp 2 18 1 ;i=3, j=19
history add id 2 gp pp 10 8 1 ;i=12, j=9
history add id 3 gp pp 15 21 1 ;i=17, j=22
history add id 4 gp pp 15 39 1 ;i=17, j=40
history add id 5 fltime
24、求解
; --- reach new steady-state fluid flow ---
set fluid time=0.0
set fluid on mech on
set mech force 0 ratio 1e-4
set fluid substep 100
set mech substep 50 auto ; mechanical cycles are slaved to fluid cycles
solve age 5e9
25、删除单元体
delete zone range x 0 10 z 38 40
26、打锚杆
; install horizontal strut
sel beam id 2 begin 0 1 40 end 10 1 40 nseg 1
sel beam id 2 property density 3000.0 emod 4.0E9 nu 0.30 &
xcarea 1.0 xciy=0.083 xciz=0.083 xcj=0.0


;list sel node pos range x -0.1 0.1 y 0.9 1.1 z 39.9 40.0
;list sel node pos range x 9.9 10.1 y 0.9 1.1 z 39.9 40.0


; beam node on plane of symmetry free to move in z
sel node fix x y xr yr zr range id 154
;list sel node fix range id 154


sel join beam id 2 liner id 1
; get the link id of the beam node that is connected to the liner
;list sel node link range id 155


;list sel link attach range id 308
; set up a pin connection
sel link attach xrdir free range id 308
sel link attach yrdir free range id 308
sel link attach zrdir free range id 308
27、组的定义
; (wall is impermeable)
group zone wall range x @_x1 @_x2 y 0 @_y2 z @_z1 @_z3
group zone wall range x 0 @_x1 y @_y1 @_y2 z @_z1 @_z3
prop poro 0 range group wall
28、历史显示
;disp contours
plot create plot disp_cont
plot set job on
plot set viewtitle text 'Displacement contours [m]' on
plot add contour displacement ramp greyscale ...
minimum 0.0 ...
maximum 1.0e-2 ...
interval 1.0e-3 reversed on
plot set orientation (58.295,231.78,-2.0495) &
center (37.193,22.662,35.162) &
eye (-66.413,-58.915,116.62) &
radius 64.203
;plot 20
; histories
plot create plot disp_hist
plot set job on
plot set viewtitle text 'Displacements histories near mid-height of the wall' on
plot add his 100 linestyle color hsv (0,0,225) ...
101 linestyle color hsv (0,0,150) ...
102 linestyle color hsv (0,0,75) ...
103 linestyle color hsv (0,0,0) ...
xaxis min 0.0 ...
label 'Steps [-]' ...
yaxis label 'Displacement [m]'
29、保存模型、组、结构体、位移云图等到图片
plot post plot model filename '167F0005-model.ps' manual
plot post plot groups filename '167F0006-layers.ps' manual
plot post plot sel_geom filename '167F0019-sels.ps' manual

plot post plot disp_cont filename '167F0014-disp5.ps' manual
plot post plot disp_hist filename '167F0020-hist.ps' manual
plot post plot tiebacks_forces filename '167F0010-forces5.ps' manual
30、显示单元体在面的法线方向那侧
plot zgroup plane frontplane
31、显示塑性区
plot zone colorby state
[转载]flac3d500 <wbr>plot命令详细
32、显示单元体在plane的一侧
按类型显示单元:plot zone colorby type;he geometric type of the zone (brick, tetra,wedge, etc.)
plot zone plane b;Objects in back (opposite the normal(s)) ofthe current cutting plane are shown.


我的更多文章

下载客户端阅读体验更佳

APP专享