CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Add Convergence Criteria (https://www.cfd-online.com/Forums/openfoam-solving/185168-add-convergence-criteria.html)

Jem01 March 20, 2017 10:31

Add Convergence Criteria
 
Hey, can you tell me how i can add a convergence criteria? I want the Channel395 tutorial to run until Umean <= 10^-6

alexeym March 29, 2017 16:00

Hi,

You have to post question just like in private message, the original message here is not quite clear.

Here is example case that does almost a thing you have asked for:

https://github.com/mrklein/foam-case...stop-upon-umax

It stops simulation upon Umax magnitude. To have Umean, you can either lookup mean velocity field instead of velocity in codeRead or just add averaging code to the coded function object.


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