# converge condition for simpleFoam

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

 December 17, 2011, 01:41 converge condition for simpleFoam #1 New Member   Emad Tandis Join Date: Sep 2010 Posts: 27 Rep Power: 7 Hello everyone I want to stop simpleFoam solver when solution is converged. As we know this solver is steady state solver. How can I determine converge condition?

 December 17, 2011, 03:24 #2 Senior Member   Alberto Passalacqua Join Date: Mar 2009 Location: Ames, Iowa, United States Posts: 1,895 Rep Power: 26 You can set the convergence criteria per each variables in fvSolution, inside the residualControl sub-dictionary: Code: ```SIMPLE { nNonOrthogonalCorrectors 2; pRefCell 0; pRefValue 0; residualControl { p 1e-5; U 1e-5; nuTilda 1e-5; } }``` Best, __________________ Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image. OpenQBMM - An open-source implementation of quadrature-based moment methods

 December 17, 2011, 08:15 #3 New Member   Emad Tandis Join Date: Sep 2010 Posts: 27 Rep Power: 7 Thanks for your attention. The test case is cavity at Re=10 on 70*70 mesh. I want solution process stops when for example residuals less than 1e-3. But it does not stop. when I set end time =20000 the solution will continue to 20000s and will not stop. Why?

 December 17, 2011, 08:48 #4 Senior Member   Alberto Passalacqua Join Date: Mar 2009 Location: Ames, Iowa, United States Posts: 1,895 Rep Power: 26 What version of OpenFOAM are you using? It should work in 2.0 and newer. __________________ Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image. OpenQBMM - An open-source implementation of quadrature-based moment methods

 December 17, 2011, 08:54 #5 New Member   Emad Tandis Join Date: Sep 2010 Posts: 27 Rep Power: 7 It is version 1.7.1. Do you mean I should update it?

 December 17, 2011, 08:57 #6 Senior Member   Alberto Passalacqua Join Date: Mar 2009 Location: Ames, Iowa, United States Posts: 1,895 Rep Power: 26 The syntax was different in 1.7.x. You can use Code: `convergenceCriterion 1.0e-3;` in fvSolution/SIMPLE subdictionary. The new syntax works only in OpenFOAM 2.0.x. __________________ Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image. OpenQBMM - An open-source implementation of quadrature-based moment methods

 December 17, 2011, 09:16 #7 New Member   Emad Tandis Join Date: Sep 2010 Posts: 27 Rep Power: 7 I used this: SIMPLE { nNonOrthogonalCorrectors 2; pRefCell 0; pRefValue 0; convergenceCriterion 1.0e-1; } But it makes no difference!

 December 17, 2011, 11:05 #8 Senior Member   Alberto Passalacqua Join Date: Mar 2009 Location: Ames, Iowa, United States Posts: 1,895 Rep Power: 26 I cannot reproduce your problem. It should work. __________________ Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image. OpenQBMM - An open-source implementation of quadrature-based moment methods

 December 17, 2011, 12:23 #9 New Member   Emad Tandis Join Date: Sep 2010 Posts: 27 Rep Power: 7 Thanks very much for your time.

 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 nam su FLUENT 2 January 24, 2012 05:48 jannnesss CFX 5 February 25, 2011 17:24 sam FLUENT 2 July 20, 2003 02:19 Matt Umbel Main CFD Forum 0 January 11, 2002 11:06 boing Main CFD Forum 1 January 6, 2002 17:53

All times are GMT -4. The time now is 09:27.