CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to abort a running zCFD solver?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By dstandingford
  • 1 Post By dstandingford

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2020, 07:24
Default How to abort a running zCFD solver?
  #1
New Member
 
mitsushi
Join Date: Jun 2014
Posts: 5
Rep Power: 11
mitsushi is on a distinguished road
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..
mitsushi is offline   Reply With Quote

Old   November 20, 2020, 08:42
Default Safely stopping zCFD
  #2
New Member
 
David Standingford
Join Date: Oct 2012
Posts: 3
Rep Power: 13
dstandingford is on a distinguished road
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.
mitsushi likes this.
dstandingford is offline   Reply With Quote

Old   November 20, 2020, 09:52
Default Thank you, but it did not abort my solver run..
  #3
New Member
 
mitsushi
Join Date: Jun 2014
Posts: 5
Rep Power: 11
mitsushi is on a distinguished road
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
mitsushi is offline   Reply With Quote

Old   November 20, 2020, 10:08
Default Safely stopping zCFD
  #4
New Member
 
David Standingford
Join Date: Oct 2012
Posts: 3
Rep Power: 13
dstandingford is on a distinguished road
Hi Mitsushi - that sounds odd. Could you send us the modified input file?
dstandingford is offline   Reply With Quote

Old   November 21, 2020, 01:40
Default It worked!
  #5
New Member
 
mitsushi
Join Date: Jun 2014
Posts: 5
Rep Power: 11
mitsushi is on a distinguished road
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
mitsushi is offline   Reply With Quote

Old   November 21, 2020, 04:07
Default Safely stopping zCFD
  #6
New Member
 
David Standingford
Join Date: Oct 2012
Posts: 3
Rep Power: 13
dstandingford is on a distinguished road
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.
mitsushi likes this.
dstandingford is offline   Reply With Quote

Old   November 21, 2020, 08:47
Default
  #7
New Member
 
mitsushi
Join Date: Jun 2014
Posts: 5
Rep Power: 11
mitsushi is on a distinguished road
Thank you!
mitsushi is offline   Reply With Quote

Reply

Tags
zcfd


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:09.