CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   field versus equation under relaxation factors (http://www.cfd-online.com/Forums/openfoam-solving/104770-field-versus-equation-under-relaxation-factors.html)

mihaipruna July 15, 2012 18:20

field versus equation under relaxation factors
 
what do the equation relaxation factors do. I noticed if I set any equation under relaxation factor to under 0.9 in rhoSimplecFoam I get a floating point error during the first time step.
For instance, the values below do work but anything lower in equation under-relaxation factors will cause a crash when calculating h.

relaxationFactors

{

fields

{

p 0.30000;

rho 0.3000;
U 0.3;

}

equations

{

U 0.90000;

h 0.90000;

k 0.90000;

omega 0.90000;

}

}

hcl734 February 1, 2016 06:08

Quote:

Under-relaxation works by limiting the amount which a variable changes from one iteration to the next, either by modifying the solution matrix and source prior to solving for a field or by modifying the field directly.
http://cfd.direct/openfoam/user-guide/fvsolution/


All times are GMT -4. The time now is 11:03.