- 积分
- 5
- 注册时间
- 2003-12-25
- 仿真币
-
- 最后登录
- 1970-1-1
|
这是手册上的例题fish beginner's guide的Example 1.9 Applying a nonlinear initial distribution of moduli
new
gen zone brick p0 (0,0,0) p1 (-10,0,0) p2 (0,10,0) p3 (0,0,-10)
model elas
def install
pnt = zone_head
loop while pnt # null
z_depth = -z_zcen(pnt)
y_mod = y_zero + cc * sqrt(z_depth)
z_prop(pnt, ’shear’) = y_mod / (2.0*(1.0+P_ratio))
z_prop(pnt, ’bulk’) = y_mod / (3.0*(1.0-2.0*P_ratio))
pnt = z_next(pnt)
end_loop
end
set p_ratio=0.25 y_zero=1e7 cc=1e8
install
运行总出错,提示"roperty "0" not found in zone 1 |
|