|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Emad Tandis
Join Date: Sep 2010
Posts: 16
Rep Power: 4 ![]() |
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? |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,877
Rep Power: 23 ![]() |
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 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. GeekoCFD 32bit - The 32bit edition of GeekoCFD. GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats. |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Emad Tandis
Join Date: Sep 2010
Posts: 16
Rep Power: 4 ![]() |
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?
|
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,877
Rep Power: 23 ![]() |
What version of OpenFOAM are you using? It should work in 2.0 and newer.
__________________
Alberto 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. GeekoCFD 32bit - The 32bit edition of GeekoCFD. GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats. |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Emad Tandis
Join Date: Sep 2010
Posts: 16
Rep Power: 4 ![]() |
It is version 1.7.1. Do you mean I should update it?
|
|
|
|
|
|
|
|
|
#6 |
|
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,877
Rep Power: 23 ![]() |
The syntax was different in 1.7.x. You can use
Code:
convergenceCriterion 1.0e-3;
__________________
Alberto 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. GeekoCFD 32bit - The 32bit edition of GeekoCFD. GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats. |
|
|
|
|
|
|
|
|
#7 |
|
New Member
Emad Tandis
Join Date: Sep 2010
Posts: 16
Rep Power: 4 ![]() |
I used this:
SIMPLE { nNonOrthogonalCorrectors 2; pRefCell 0; pRefValue 0; convergenceCriterion 1.0e-1; } But it makes no difference! |
|
|
|
|
|
|
|
|
#8 |
|
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,877
Rep Power: 23 ![]() |
I cannot reproduce your problem. It should work.
__________________
Alberto 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. GeekoCFD 32bit - The 32bit edition of GeekoCFD. GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats. |
|
|
|
|
|
|
|
|
#9 |
|
New Member
Emad Tandis
Join Date: Sep 2010
Posts: 16
Rep Power: 4 ![]() |
Thanks very much for your time.
|
|
|
|
|
|
![]() |
| Thread Tools | |
| 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 |