set为什么在loop之后定义
gen zone brick size 6 6 6model elas
prop bulk 1e8 shear 7e7
fix x range x -0.1 0.1
def superstep
loop ns (1,n_steps)
x_stress = stress_inc
command
apply sxx add x_stress range x 5.9 6.1 y 0 6 z 0 2
step 100
end_command
end_loop
end
set n_steps = 100 stress_inc = -1e3
hist zone sxx 6 0 0
plot create sxx_hist
plot add hist 1
plot show
superstep
请问一下set为什么在loop之后定义? 顶顶顶顶顶
页:
[1]