CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

How to control the convergence?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2009, 18:08
Default How to control the convergence?
  #1
Senior Member
 
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 8
titio is on a distinguished road
Send a message via MSN to titio Send a message via Skype™ to titio
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
titio is offline   Reply With Quote

Old   August 23, 2011, 03:03
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 138
Rep Power: 8
camoesas is on a distinguished road
Is there really no answer to this important question?
camoesas is offline   Reply With Quote

Old   September 9, 2011, 11:09
Default
  #3
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
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
chegdan is offline   Reply With Quote

Old   September 21, 2011, 11:16
Default
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 138
Rep Power: 8
camoesas is on a distinguished road
HI Daniel,

Thanks for the answer, as you said I've found some threads on this topic

Camoesas
camoesas is offline   Reply With Quote

Old   September 21, 2011, 11:29
Default
  #5
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
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;
    }
}
chegdan is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 01:17
increasing mesh quality is leading to poor convergence tippo CFX 2 May 5, 2009 10: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


All times are GMT -4. The time now is 01:34.