|
[Sponsors] |
February 25, 2011, 08:20 |
simpleFoam Basics
|
#1 |
New Member
Andreas P
Join Date: Sep 2010
Posts: 26
Rep Power: 16 |
Hi everyone!
I'm just starting to use OF and have made some good progress with running a few tutorial cases, but currently I am stuck with some simpleFoam basics... 1.) How do I specify a stopping criterion for the steady state solver? Is it just by Code:
convergence 1e-5 2.) To which residual does the above mentioned convergence statement refer? Velocity residual? Pressure resiual? Turbulence quantities? 3.) Which role does number of time steps play, if I specify this stopping criterion? Will it be the maximum number after which the solver is stopped, even if the desired residual has not been reached? Or doesn't it have an effect at all? 4.) How do I actually monitor the residual? Sure, OF does quite some printing to the console during the solution process. But is that really the only way to obtain convergence history data? In order to plot the residual over iterations, I would have to extract the numbers from stdout by cat/sed whatsoever. I can't really imagine that this is how everyone else does it...? 5.) Where can I find more information on the different solver specific numerical parameters (e.g. like the convergence statement in simpleFoam)? I have already searched this forum quite a bit, but haven't really found satisfying answers... so I'd really appreciate any help! Andreas |
|
February 28, 2011, 09:09 |
|
#2 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 |
Hello,
1,2, 3 and 5) Until I know there is no way to automatically stop a steady running checking the residuals like the "Check convergence" check box in Fluent. You have to set the appropriate number of iterations (pseudo time-steps) in order to reach your desired residuals. One have to set a criterion for each equation residual. 4) You have some utilities to do so in pyFoam package, but a I prefer a simpler way, check this thread Plotting residuals Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Laminar simpleFoam and inviscid simpleFoam | herenger | OpenFOAM Running, Solving & CFD | 7 | July 11, 2013 07:27 |
MPI Error - simpleFoam - Floating Point Exception | scott | OpenFOAM Running, Solving & CFD | 3 | April 13, 2012 17:34 |
simpleFoam ddt Euler ? | Mo-ITB | OpenFOAM Running, Solving & CFD | 2 | June 12, 2010 14:36 |
Naca0012 k-e mpirun gives fpe whereas simpleFoam not | Pierpaolo | OpenFOAM | 1 | May 8, 2010 04:08 |
Error running simpleFoam in parallel | skabilan | OpenFOAM Running, Solving & CFD | 2 | August 29, 2008 10:42 |