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/)
-   -   Convergence control based on lift coefficient (https://www.cfd-online.com/Forums/openfoam-solving/225715-convergence-control-based-lift-coefficient.html)

RasmusTJ April 5, 2020 16:56

Convergence control based on lift coefficient
 
Hello Foamers,

I've been following this guide using OpenFOAM v7, but I can't get it to work: https://www.openfoam.com/releases/op...on-control.php

I have searched for others succeeding in using this convergence control, but to no avail.

The Foundation distribution does not seem to have implemented a custom convergence control. Am I overlooking something or would you have to write a script to monitor the solver log and end the simulation?

Thanks in advance! :)

Best regards,
Rasmus

RasmusTJ April 8, 2020 11:11

For future reference I ended up writing a Python script which monitors the solver log file and changes stopAt in controlDict upon convergence.


All times are GMT -4. The time now is 02:10.