|
[Sponsors] |
November 20, 2020, 07:24 |
How to abort a running zCFD solver?
|
#1 |
New Member
mitsushi
Join Date: Jun 2014
Posts: 5
Rep Power: 11 |
Hello,
Is there a means to safely abort the solver while it is running? For example, when the solver run is taking longer than expected, or when the simulation result looks well converged based on the monitored values before completing the specified number of cycles.. |
|
November 20, 2020, 08:42 |
Safely stopping zCFD
|
#2 |
New Member
David Standingford
Join Date: Oct 2012
Posts: 3
Rep Power: 13 |
Hi Mitsushi.
Thank you for your question about zCFD. To safely stop the solver while running a steady-state simulation, just change the value for the keyword 'cycles' in the 'time marching' section of the Python input dictionary to be less than the current cycle. On the next output cycle, the file will be re-parsed and the keyword values updated. Thus the solver will complete, producing the normal outputs. For an unsteady simulation, just change the value of the 'total time' keyword in the 'time marching' > 'unsteady' section, for the same effect. The other keywords are listed in the online user guide: https://zcfd.zenotech.com/docs. Best wishes, The zCFD Team. |
|
November 20, 2020, 09:52 |
Thank you, but it did not abort my solver run..
|
#3 |
New Member
mitsushi
Join Date: Jun 2014
Posts: 5
Rep Power: 11 |
Hello David,
Thank you very much! But it did not work .. I am running the naca0012 validation case. The value for the "cycles" keyword was originally 50000 and I changed it to 100, but the solver keeps running beyond 100 cycles. Would you please have a look? Regards, Mitsushi |
|
November 20, 2020, 10:08 |
Safely stopping zCFD
|
#4 |
New Member
David Standingford
Join Date: Oct 2012
Posts: 3
Rep Power: 13 |
Hi Mitsushi - that sounds odd. Could you send us the modified input file?
|
|
November 21, 2020, 01:40 |
It worked!
|
#5 |
New Member
mitsushi
Join Date: Jun 2014
Posts: 5
Rep Power: 11 |
Hi David,
I have tried it again and it worked (i.e. aborted the solver run safely) this time! Thank you very much for your help! Regards, Mitsushi |
|
November 21, 2020, 04:07 |
Safely stopping zCFD
|
#6 |
New Member
David Standingford
Join Date: Oct 2012
Posts: 3
Rep Power: 13 |
Thanks for letting us know. Also - a good way of checking that the control dictionary is OK is to activate the zCFD environment, and then run Python:
(zCFD)> python your_dictionary.py This won't run the solver, but it will check the syntax. Best wishes, The zCFD Team. |
|
November 21, 2020, 08:47 |
|
#7 |
New Member
mitsushi
Join Date: Jun 2014
Posts: 5
Rep Power: 11 |
Thank you!
|
|
Tags |
zcfd |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error while running new solver phaseChangeHeatDyMFoam | sabrinacarson | OpenFOAM Running, Solving & CFD | 4 | July 10, 2018 07:28 |
New solver not running in loop. | silviliril | OpenFOAM Running, Solving & CFD | 2 | May 21, 2018 08:55 |
Running external application in solver | dariodario32 | OpenFOAM Programming & Development | 2 | July 10, 2017 08:52 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
No running solver after successful installation of OF-2.1.x on SGI Altix UV 1000 | sebastian | OpenFOAM Installation | 16 | November 13, 2012 05:10 |