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/)
-   -   Time step variation with relaxation (http://www.cfd-online.com/Forums/openfoam-solving/57902-time-step-variation-relaxation.html)

sean_mcintyre February 24, 2009 18:52

Hi, I've been trying to adapt
 
Hi,
I've been trying to adapt rasInterFoam into a steady solver, using relaxation factors, and calling U.relax(), pd,relax(), etc. I've noticed that even in damBreak, if I set the relaxation factors to any value other than 1, for a given CFL, the time step size observed decreases by orders of magnitude. Is there something within the code (perhaps within runTime or another global-type variable) that scales the time step when relaxation is detected?

Thanks,
Sean


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