|
[Sponsors] |
How to stop transient solver when steady state is reached? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
james freak
Join Date: Jan 2020
Posts: 14
Rep Power: 7 ![]() |
Hi,
If I am running a simulation with a transient solver for lets say 1s and the steady state solution is reached at 0.1s, how to tell the solver to stop and not spend a lot of time computing things I'm not interested in ? Is there a way to automatically do that, for example with a condition on residuals? Thank you. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
Hi,
You can use codedFunctionObject for this purpose. Take residuals function object (example of how to get residual values) and abort (example of how to stop simulation) as an inspiration and make your own. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
james freak
Join Date: Jan 2020
Posts: 14
Rep Power: 7 ![]() |
ok thank you I will try that
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Ruiyan Chen
Join Date: Jul 2016
Location: Hangzhou, China
Posts: 162
Rep Power: 10 ![]() |
Monitoring the residuals as pointed out by Alexey can do the trick, but I do think you have to think more about it. Sometimes, just by monitoring the residuals is not enough, and would even give you wrong indication. What I normally do is to set up several probes inside the domain (you can do this during run time) and monitor pressure and velocity there. If the probe values become stable, it's a good indication that the simulation may have reached steady-state. Or you can monitor minimum and maximum values of say pressure, temperature and so on, if their values become stable, it's a good sign as well.
But keep in mind, these still can not tell you the whole picture. If you have walls, typically what people do is to monitor the forces applied by the fluid on the wall, they are better indications of whether the flow has reached steady-state. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Steady state vs. transient while modelling solidification/melting in FLUENT | Cedric1998 | FLUENT | 2 | October 16, 2019 05:12 |
Simulation time for steady state solution using transient solver | spelletier | Main CFD Forum | 1 | June 26, 2019 04:08 |
Effect of initial condition for steady state vs Transient | prasa | ANSYS | 0 | August 22, 2018 04:45 |
cannot set exact 'endtime' in controlDict when using a steady state solver | minecraftgp | OpenFOAM Running, Solving & CFD | 4 | July 24, 2018 05:13 |
accelarate simulation using steady state solver | tjliang | OpenFOAM Running, Solving & CFD | 0 | October 7, 2016 14:42 |