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/)
-   -   Disabling SIMPLE convergence check in simpleControl.H (https://www.cfd-online.com/Forums/openfoam-solving/105776-disabling-simple-convergence-check-simplecontrol-h.html)

Mojtaba.a August 8, 2012 17:31

Disabling SIMPLE convergence check in simpleControl.H
 
Hi,
I'm trying to solve 5 equations, which 3 of them are getting solved as coupled and the rest of them are uncoupled (passive scalars). I have added 2 new equations to solve passive scalars into buoyantBoussinesqSimpleFoam. But when I start solving after some reasonable iterations solution stops solving and a messages comes up which says "SIMPLE solution converged in *** iterations". But when I post-process the case my 2 passive scalars haven't reached to steady state conditions. So I want to run case with more iterations.
I tried to find the source code which controls the convergence. the source solver code includes a header file:

#simpleControl.H

I found this file in here:

OpenFOAM-2.0.1/src/finiteVolume/cfdTools/general/solutionControl

inside simpleControl.H I found there is an another header file which controls convergence:

#include "simpleControlI.H"

I want to ask you how can I disable this? after removing the line which includes simpleControlI.H am I supposed to compile my own solver or any other thing at all or nothing will be done?

Any help would be appreciated. Regards,
Mojtaba ~


All times are GMT -4. The time now is 01:44.