|
[Sponsors] |
Can we restart the simulation from a different time in OpenFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 20, 2016, 17:08 |
how iteration number is calculated in steady state calculation?
|
#21 |
Member
Jeff
Join Date: May 2016
Posts: 44
Rep Power: 10 |
Hi Foamers
this is quite a silly question but I am at loss: If I run a simulation with a simple algorithm with: startFrom startTime; startTime 0; stopAt endTime; endTime 1000; deltaT 1; the log file state as expected that it will run for 1000 iterations ( no convergence criteria) When I continue the simulation ( after remapping on a finer mesh) startFrom startTime; startTime 1000; stopAt endTime; endTime 2000; deltaT 1; The log file then report that it will run for 2000 iterations while 1000 will be expected. what do i miss? Thanks JF Last edited by jf_vt; May 20, 2016 at 18:52. |
|
May 20, 2016, 18:06 |
|
#22 |
New Member
Matthias
Join Date: Jun 2011
Posts: 8
Rep Power: 15 |
sorry, my reply was nonsense
Last edited by aeroMatze; May 20, 2016 at 18:08. Reason: too late |
|
May 21, 2016, 19:09 |
|
#23 |
Senior Member
|
@jf_vt
Since your message lacks exact OpenFOAM message, I suppose it is something like: Code:
SIMPLE: no convergence criteria found. Calculations will run for 2000 steps. Code:
if (residualControl_.empty()) { Info<< algorithmName_ << ": no convergence criteria found. " << "Calculations will run for " << mesh_.time().endTime().value() << " steps." << nl << endl; } ... Maybe it is worth reporting bug (http://bugs.openfoam.org), since for SIMPLE mesh_.time().endTime().value() can be changed to mesh_.time().endTime().value() - mesh_.time().startTime().value(). Yet simpleFoam simulations without convergence criterion is something ridiculous. |
|
May 21, 2016, 19:21 |
|
#24 |
Member
Jeff
Join Date: May 2016
Posts: 44
Rep Power: 10 |
Thanks
Sorry for the lack of accuracy in my message (As you can easily guess I am pretty new to the forum) but you get it right of course.. As for interrest running simple without convergence algorithm, I agree with you in general but at the moment I am investigating convergence speed while inserting remeshing and field mapping in the process ( this is research not sure where it leads) but in a simplified form: I run a cas for 1000 step remesh it finer, map fields and run it for another 1000 step ... and so forth... and compare solution quality vs cputime if i run on the finer mesh all the time. I dont need convergence test for that and this is why I stumbled on this and found it annoying in the context of the work described above. I reported it as a (small) bug Thanks for your reply JF |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
(chtMultiRegionFoam) reducing gravity increase the simulation time ! | openfoam1 | OpenFOAM | 7 | March 10, 2010 10:41 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 10:15 |
influence of time step in insationary simulation | Sascha Behrens | FLUENT | 0 | December 1, 2005 10:08 |