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

[流固耦合] hist 变量不发生变化??

[复制链接]
发表于 2009-8-10 20:31:17 | 显示全部楼层 |阅读模式 来自 北京
定义了一个函数:
def fl_time
    ft=.0
    fl_hour=.0
    fl_day=.0
    ft=fltime
    fl_hour=ft/3600
    fl_day=f_hour/24
end
fl_time
his fl_hour
his fltime
结果: fltime变化;fl_hour 却不变,即:fl_hour一直是最初的值,尽管计算进行了许多步。
不知是什么原因,还望各位高人指点下哈!!
发表于 2009-8-10 21:05:26 | 显示全部楼层 来自 四川成都
Simdroid开发平台
HISTORY        var
    causes a history of the FISH variable or function to be taken during stepping. If var is a function, then it will be evaluated every time histories are stored (controlled by HISTORY nstep command);  If var is a FISH variable, then its current value will be taken. Hence, caution should be exercised when using variables (rather than functions) for histories. The history may be plotted in the usual way.
回复 不支持

使用道具 举报

发表于 2009-8-10 21:07:19 | 显示全部楼层 来自 四川成都
HISTORY        var
    causes a history of the FISH variable or function to be taken during stepping. If var is a function, then it will be evaluated every time histories are stored (controlled by HISTORY nstep command);  If var is a FISH variable, then its current value will be taken. Hence, caution should be exercised when using variables (rather than functions) for histories. The history may be plotted in the usual way.
回复 不支持

使用道具 举报

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

本版积分规则

Simapps系列直播

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

GMT+8, 2024-9-25 18:29 , Processed in 0.034372 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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