|
[Sponsors] |
November 24, 2009, 18:08 |
How to control the convergence?
|
#1 |
Senior Member
|
Hi Foamers,
One of the limitations of OpenFoam is the lack of a suitable convergence control, to avoid doing calculations after the simulation has already converged. Does anyone know of some code, or form to implement convergence control in OpenFoam, based on pre determined criteria defined by the user? Regards, Titio |
|
August 23, 2011, 04:03 |
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 138
Rep Power: 17 |
Is there really no answer to this important question?
|
|
September 9, 2011, 12:09 |
|
#3 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
There is an answer and it exists in simpleFoam. Specifically, look at the headers initConvergenceCheck.H and convergenceCheck.H int eh simpleFoam solver directory. They can be used in conjunction with the word "convergence" followed by your desired level of convergence (eg. 1e-6 in your SIMPLE subdictionary in fvSolution. There are a few threads on the forum about this. Hope this helps.
Dan |
|
September 21, 2011, 12:16 |
|
#4 |
Senior Member
Join Date: Mar 2009
Posts: 138
Rep Power: 17 |
HI Daniel,
Thanks for the answer, as you said I've found some threads on this topic Camoesas |
|
September 21, 2011, 12:29 |
|
#5 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Also, The convergence control has changed for 2.0.x version of OpenFOAM to something like:
Code:
SIMPLE { nNonOrthogonalCorrectors 2; convergence 1.0e-6;//old way of specifying convergence criteria residualControl//OF 2.0.x { p 1e-5; U 1e-5; "(k|epsilon)" 1e-5; } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convergence of CFX field in FSI analysis | nasdak | CFX | 2 | June 29, 2009 02:17 |
increasing mesh quality is leading to poor convergence | tippo | CFX | 2 | May 5, 2009 11:55 |
Convergence control using reference Cell | titio | OpenFOAM Running, Solving & CFD | 1 | March 6, 2008 05:45 |
maintaining a logarithmic velocity distribution | Morten Andersen | CFX | 1 | January 8, 2007 12:37 |
SST in 2D? | Jesper Sørensen | CFX | 16 | December 23, 2006 09:40 |