找回密码
 注册
Simdroid-非首页
查看: 44|回复: 1

[命令/FISH] set为什么在loop之后定义

[复制链接]
发表于 2011-7-7 15:36:05 | 显示全部楼层 |阅读模式 来自 江苏徐州
gen zone brick size 6 6 6
model 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之后定义?
 楼主| 发表于 2011-7-8 08:14:07 | 显示全部楼层 来自 江苏徐州
Simdroid开发平台
顶顶顶顶顶
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-25 00:32 , Processed in 0.025356 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表