guozhou 发表于 2004-10-14 20:00:41

【求助】这段fish语句错在哪

这是手册上的例题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

运行总出错,提示"Property "0" not found in zone 1

海底冬天 发表于 2010-11-8 14:55:09

页: [1]
查看完整版本: 【求助】这段fish语句错在哪