;modeling and assigning groups
model new
zone create brick size 6 6 6 group 'brick'
zone group 'hist' range position-x 0 1 position-y 0 1 position-z 5 6
zone face skin
;assigning cmodel and properties
zone cmodel assign elastic
zone prop bulk 1e9 shear 0.5e9 dens 1800
;setting boundary conditions
zone face apply velocity-normal 0 range group 'West' or 'East'
zone face apply velocity-normal 0 range group 'South' or 'North'
zone face apply velocity-normal 0 range group 'Bottom'
;setting history lists
history interval 1
zone history name = 'def' stress-zz zoneid 181
zone history name = 'con' stress-zz zoneid 181 method constant
zone history name = 'ave' stress-zz zoneid 181 method average
zone history name = 'idw' stress-zz zoneid 181 method i-d-w
zone history name = 'poly' stress-zz zoneid 181 method polynomial
;solving initial equilibrium
model gravity 9.81
model solve
;setting plot range
zone hide range group 'brick'
;getting hist values
hist list series 'def' begin 260
hist list series 'con' begin 260
hist list series 'ave' begin 260
hist list series 'idw' begin 260
hist list series 'poly' begin 260
图1 模型分组图
图3 181号单元竖向应力云图(Volumetric Averaging)
自重应力场求解完成后,通过编写fish函数提取了181号单元在四种不同插值方式下的竖向应力值,同时采用zone.stress.zz()函数提取了181号单元的竖向应力值,命令流如下:
;getting values of stress-zz
fish def z_szz
z = zone.find(181)
pos = zone.pos(z)
zone.field.name = 'stress-zz'
zone.field.method.name = 'constant'
szz_con = zone.field.get(pos)
zone.field.method.name = 'average'
szz_ave = zone.field.get(pos)
zone.field.method.name = 'i-d-w'
szz_idw = zone.field.get(pos)
zone.field.method.name = 'polynomial'
szz_poly = zone.field.get(pos)
szz_default = zone.stress.zz(z)
end
@z_szz
list @szz_con
list @szz_ave
list @szz_idw
list @szz_poly
list @szz_default
181号单元的竖向应力监测值、fish提取值以及0.5倍云图上下限之和见下表:
表1 181号单元竖向应力结果表
History | Fish | 0.5倍云图上下限之和 | |
Default | -8.829491e3 | -8.829490903701801e3 | — |
Constant | -8.829491e3 | -8.829490903701801e3 | -8.8295e3 |
Volumetric Averaging | -1.324576e4 | -1.324576372109776e4 | -1.324575e4 |
Inv. Distance Weighting | -1.893555e4 | -1.893554502058338e4 | -1.90175e4 |
Polynomial Extrapolation | -8.830432e3 | -8.830431780820745e3 | -8.82947265e3 |
======总结======
1、在FLAC3D6.0中,采用history监测单元变量时,应依据后处理习惯指定插值方式,即云图显示中的插值方式应与history的插值方式对应;
2、本文给出了提取不同插值方式下的单元变量值的fish模版;
3、对于某一特定单元,可将单元变量值取为该单元云图上下限之和的0.5倍。