# simpleFoam Basics

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 25, 2011, 08:20 simpleFoam Basics #1 New Member   Andreas P Join Date: Sep 2010 Posts: 26 Rep Power: 9 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` in system/fvSolution? Or are there any more options like that? 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: 438 Rep Power: 17 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

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post herenger OpenFOAM Running, Solving & CFD 7 July 11, 2013 06:27 scott OpenFOAM Running, Solving & CFD 3 April 13, 2012 16:34 Mo-ITB OpenFOAM Running, Solving & CFD 2 June 12, 2010 13:36 Pierpaolo OpenFOAM 1 May 8, 2010 03:08 skabilan OpenFOAM Running, Solving & CFD 2 August 29, 2008 09:42

All times are GMT -4. The time now is 00:15.