|
[Sponsors] |
Stop simulation when time step reaches specified threshold |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 13, 2023, 09:51 |
Stop simulation when time step reaches specified threshold
|
#1 |
New Member
Join Date: Dec 2021
Posts: 27
Rep Power: 4 |
Hello friends!
Does anyone know if it is possible to automatically stop a running simulation if the time step reaches a specified lower bound? E.g. when dt gets as low as 1e-7 s, I'd like for the simulation to stop. This way, I could save valuable computation time on my cluster, since in my case, something must have gone very wrong, if the time step is that small. Best regards Finn |
|
December 13, 2023, 12:00 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,058
Rep Power: 26 |
Hello Finn,
If you are using the OpenCFD branch (openfoam.com) you should be able to do it using the runTimeControl function object: https://doc.openfoam.com/2306/tools/...unTimeControl/ The minTimeStep condition looks like it does what you are looking for. Regards, Yann |
|
December 13, 2023, 12:24 |
|
#3 |
New Member
Join Date: Dec 2021
Posts: 27
Rep Power: 4 |
Exactly what I needed, thanks so much Yann
Best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convergence problem of OF | WUYing | OpenFOAM Running, Solving & CFD | 2 | September 20, 2021 10:09 |
LES, Courant Number, Crash, Sudden | Alhasan | OpenFOAM Running, Solving & CFD | 5 | November 22, 2019 02:05 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |