CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Automatic Relaxation factors

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Ivan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2015, 13:13
Default Automatic Relaxation factors
  #1
New Member
 
Ivan
Join Date: Aug 2012
Posts: 22
Rep Power: 14
Ivan is on a distinguished road
Dear Foamers,

Although a lot of discussions exist already on relaxation factors in OpenFOAM, something is still confusing to me. If I use a Pimple or a Simple algorithm in my own solver, and set relaxationFactors in the fvSolution file,

1) are these relaxation factors applied for all transport equations in the Pimple/Simple loop or I need to explicitly write phi.relax() in the code?

2) looking into rhoPimpleFoam, the U equation is explicitly relaxed using UEqn.relax(). So I am also wondering, in case this relaxation is automaticly done in the loop, is it done only for fields and not for equations?

3) if phiFinal is not given in relaxtionFactors, does it mean the relaxation factor is not applied even if phi.relax() is explicitly written in the loop?

4) Finally, for same reasons I need to use both 1.6 and 2.1.1 versions on OpenFOAM. Is there a difference regarding my questions above?

Best,

Ivan
Ali hassan likes this.
Ivan is offline   Reply With Quote

Old   June 30, 2016, 04:47
Default
  #2
Senior Member
 
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16
Anne Lincke is on a distinguished road
Hallo Ivan,

you need to explicitly write phi.relax() in the code.

I hope this answers question 1. and 2.

Best,
Anne
Anne Lincke is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Relaxation Factors for Transient solvers philippose OpenFOAM Running, Solving & CFD 19 March 20, 2014 05:39
Purpose of relaxation factors Mohsin FLUENT 5 April 30, 2010 12:57
Relaxation Factors Tim Phoenics 3 June 30, 2004 03:03
relaxation factors zhujianguo Phoenics 1 August 5, 2003 07:17
relaxation factors adjust zhujianguo Phoenics 1 July 15, 2003 12:11


All times are GMT -4. The time now is 04:39.