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

如何进行暂停后再继续算?

[复制链接]
发表于 2008-10-31 21:13:16 | 显示全部楼层 |阅读模式 来自 山东东营
我让我的模型计算到一个时刻,比如从0s时刻计算到了5s时,我通过progress-solve problem弹出框暂停计算,然后在求解域设置中修改了一个参数,这个时候我希望模型从5s开始接着算下去,而不是重新从0s时刻计算,这个过程该怎么操作,我在solver parameters里把时间项改为5:0.001:10 即开始时刻改为5s,这样是可以保证模型从5s时接着计算下去,但是最后的结果却和教程中的结果完全不同了,如果不修改时间项,即时间项还是0:0.001:10 ,通过点击restart 按钮,但是这样做,计算却不是从5s开始接着算下去,请各位好友给予指点。
发表于 2008-10-31 21:22:37 | 显示全部楼层 来自 黑龙江哈尔滨
Simdroid开发平台
原帖由 huaihuaibhdh 于 2008-10-31 21:13 发表
我让我的模型计算到一个时刻,比如从0s时刻计算到了5s时,我通过progress-solve problem弹出框暂停计算,然后在求解域设置中修改了一个参数,这个时候我希望模型从5s开始接着算下去,而不是重新从0s时刻计算,这个过 ...


哦? 不应该啊。如果你得到了5s的解,restart肯定是从5s开始计算的。

你拿模型库的例子做个试验看看,如果还是这样的话,把这个模型库里的例子发上来看看。

你改一下initial value的那个设置(选第二个)看看;

不是有一个store solution选项,试过这个了吗?

[ 本帖最后由 TBE_Legend 于 2008-10-31 21:23 编辑 ]
回复 不支持

使用道具 举报

发表于 2008-10-31 21:30:14 | 显示全部楼层 来自 黑龙江哈尔滨
如果你restart,不是从5s开始,说明你的5s肯定是没有保存的。

看一个解保存了没有,要看他out了没有,不要看那个进度条。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

发表于 2008-10-31 22:16:05 | 显示全部楼层 来自 黑龙江哈尔滨
en, 试了下,你得 吧时间改一下就行了,把初始时间改为5s。再restart就好了。



For a transient analysis that is not time invariant (where there is an explicit dependence on time in the equations), note that you probably want to change the time list in the Times edit field before restarting the solver.

[ 本帖最后由 TBE_Legend 于 2008-11-1 10:48 编辑 ]
回复 不支持

使用道具 举报

 楼主| 发表于 2008-11-1 09:51:11 | 显示全部楼层 来自 山东东营
我让模型计算到5s时暂停,然后什么参数也不修改,只是把初始时间修改为5s,这样计算是从5s开始计算的,但是结果和中间没有暂停一直计算出来的结果相差很大,可以说完全不是一个结果了。你可以试试你的模型。
回复 不支持

使用道具 举报

发表于 2008-11-1 10:09:10 | 显示全部楼层 来自 黑龙江哈尔滨
结果是一样的。

按求解器时间输入结果;
暂停;
sotre;
update;
restart;

[ 本帖最后由 TBE_Legend 于 2008-11-1 10:17 编辑 ]
回复 不支持

使用道具 举报

 楼主| 发表于 2008-11-1 11:24:50 | 显示全部楼层 来自 山东东营
能否把你的具体操作步骤说一下,我又尝试了一下,比如还是先求解到5s,然后暂停,这个时候,我在solver manager里点击store solution 从弹出列表里只选择5s(是否只选择这个5s),再在初始值栏里选择stored solution项(初始值栏,你是选择的第几项),在不同时间的解项里选择5s,这个时候再回到solve parameters里,把初始时刻改为5s(初始值你是否改为5s),然后点击solve求解(我不是点击的restart),这个时候的结果和中间不出现暂停的结果一样。
回复 不支持

使用道具 举报

 楼主| 发表于 2008-11-1 15:05:24 | 显示全部楼层 来自 山东东营
我的QQ:327823403,如果可以QQ讨论,因为还有一些问题,比如你在solver parameters里把计算的开始时间改为5s,即使你已经在solver manager里保存了5s前所有已经计算的解,但是再计算后直到结束,这个时候在后处理时,却无法显示5s前的求解结果了。
回复 不支持

使用道具 举报

发表于 2009-4-13 18:29:42 | 显示全部楼层 来自 北京大兴

RE: 如何进行暂停后再继续算?

我的QQ:327823403,如果可以QQ讨论,因为还有一些问题,比如你在solver parameters里把计算的开始时间改为5s,即使你已经在solver manager里保存了5s前所有已经计算的解,但是再计算后直到结束,这个时候在后处理时 ...
huaihuaibhdh 发表于 2008-11-1 15:05

我最近也被这个问题所困扰,如何保存我所需要的解作为其他方程的初始值?计算完其他方程之后又如何能够在后处理中反映上一次计算的结果,也就是您说的5s前的结果如何显示出来?
回复 不支持

使用道具 举报

发表于 2010-4-6 11:11:07 | 显示全部楼层 来自 广东深圳
手册上写得很清楚了:
Click the Restart button on the Main toolbar or choose Restart from the Solve menu. Either action restarts the analysis using the current solution as an initial value, the current values of variables not solved for, and the linearization point. In other words, the solver operates as if you had selected the Current solution option in the Solver Manager dialog box. Restarting the solution process is helpful, for example, for using a stationary solver to first compute a good initial value for a nonlinear or transient analysis, or for interrupting and continuing a transient simulation. For a transient analysis that is not time invariant (where there is an explicit dependence on time in the equations), note that you probably want to change the time list in the Times edit field before restarting the solver.
回复 不支持

使用道具 举报

发表于 2010-4-23 11:21:10 | 显示全部楼层 来自 陕西西安
被忽悠了。。。
回复 不支持

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-2 15:16 , Processed in 0.044280 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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