|
[Sponsors] |
December 13, 2013, 04:42 |
Dynamic endTime/stopAt
|
#1 |
New Member
Join Date: Nov 2013
Posts: 20
Rep Power: 12 |
I am writing a script that runs a series of OF simulations, based on PyFoam. Since they deal with a transient asymptotic issue I basically need them to run until a certain point is reached (something like a>0.99). After that nothing interesting (to me ) happens anymore and it just blocks computing time. The time it takes to get to that point strongly depends on the conditions that vary between simulations in a series, so it is hard to predict what endTime to use.
Now I was wondering if there was a way to break the runner if some value gets to some point? Right now I am using BasicRunner, maybe UtilityRunner can do that, but I don t know how to use that... Does anyone have any experience with that? Would be awesome! |
|
December 13, 2013, 08:53 |
|
#2 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17 |
hello,
I may have a solution, but not tested: use the "functionOjects" capabilities Basically, use "coded" and abortCalculation function. - the job control type "abort" can stop and write (set "action writeNow;") the calculation if "abortCalculation "file is present in the case dir. - in order to write this file, you will need a "coded" function object, in which you can put your stop test and write the abortCalculation file. Hope this help, regards, olivier |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh Problem. | Tom Clark | FLUENT | 10 | June 21, 2021 04:27 |
Dynamic SGS model procedure in Large eddy simulation | mrf6166 | Main CFD Forum | 39 | November 25, 2016 14:13 |
Regarding Negative volume detected in Dynamic mesh | Vinay Morabad | FLUENT | 10 | December 16, 2015 00:31 |
Dynamic Mesh moving interface help | akash.iitb | FLUENT | 0 | August 23, 2010 23:53 |
Dynamic mesh + grid adapt = Crash! (Files included | BillH | FLUENT | 4 | July 24, 2007 15:31 |