|
[Sponsors] |
December 17, 2011, 00:41 |
converge condition for simpleFoam
|
#1 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 15 |
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, 02:24 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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; } }
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
December 17, 2011, 07:15 |
|
#3 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 15 |
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, 07:48 |
|
#4 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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 in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
December 17, 2011, 07:54 |
|
#5 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 15 |
It is version 1.7.1. Do you mean I should update it?
|
|
December 17, 2011, 07:57 |
|
#6 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
The syntax was different in 1.7.x. You can use
Code:
convergenceCriterion 1.0e-3;
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
December 17, 2011, 08:16 |
|
#7 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 15 |
I used this:
SIMPLE { nNonOrthogonalCorrectors 2; pRefCell 0; pRefValue 0; convergenceCriterion 1.0e-1; } But it makes no difference! |
|
December 17, 2011, 10:05 |
|
#8 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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 in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
December 17, 2011, 11:23 |
|
#9 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 15 |
Thanks very much for your time.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pressure oulet condition | nam su | FLUENT | 2 | January 24, 2012 04:48 |
CFX problems with supersonic inlet condition - Inlet values in CFX-Post are wrong | jannnesss | CFX | 5 | February 25, 2011 16:24 |
How to resolve boundary condition problem? | sam | FLUENT | 2 | July 20, 2003 02:19 |
Pressure Boundary Condition | Matt Umbel | Main CFD Forum | 0 | January 11, 2002 10:06 |
The Boundary Condition about the Flat Plate | boing | Main CFD Forum | 1 | January 6, 2002 16:53 |