# PIMPLE algorithm relaxation Factors

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

April 5, 2013, 14:45
PIMPLE algorithm relaxation Factors
#1
Senior Member

Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 291
Rep Power: 9
Hi guys.
I am using pimpleFoam for my case and I noticed that there are two keywords defined for relaxationFactors in fvsolution. fields and equations.

Quote:
 relaxationFactors { fields { } equations { "U.*" 0.9; "k.*" 0.7; "epsilon.*" 0.7; } }
What are the differences between these two? there is no such a thing in SIMPLE algorithm.

Bests
__________________
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"

April 6, 2013, 00:31
#2
Senior Member

Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 217
Blog Entries: 1
Rep Power: 11
Hi Mojtaba,

Quote:
 there is no such a thing in SIMPLE algorithm.
You can also find the keywords defined in the tutorials of simpleFoam.

Quote:
 What are the differences between these two?
Regarding your questions, you might want to read the Ph.D. thesis of Dr. Jasak:
http://www.h.jasak.dial.pipex.com/

especially
• keyword "equations": eq. (3.95) and (3.96) on page 115
• keyword "fields": eq. (3.145) on page 149

Hope this helps,
Fumiya

April 6, 2013, 04:55
#3
Senior Member

Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 291
Rep Power: 9
Quote:
 Originally Posted by fumiya Hi Mojtaba, You can also find the keywords defined in the tutorials of simpleFoam. Regarding your questions, you might want to read the Ph.D. thesis of Dr. Jasak: http://www.h.jasak.dial.pipex.com/ especiallykeyword "equations": eq. (3.95) and (3.96) on page 115 keyword "fields": eq. (3.145) on page 149 Hope this helps, Fumiya
Thank you Fumiya,
as I could get,
• under-relaxation factors which are placed in keyword "equations" are the general factors which are used to under relax the system of algebraic equations created by the discretisation.
• under-relaxation factors which are placed in keyword "fields" are used to under relax new pressure equations. as in Dr.Jasak Thesis:
Quote:
 In order to obtain a better approximation of the “correct” pressure field, it would be necessary to solve the pressure equation again
therefore another relaxation factors for p and U are defined.

So for instance is it ok to say:

Quote:
 relaxationFactors { fields { U 0.7 p 0.3 } equations { "U.*" 0.9; "k.*" 0.7; "epsilon.*" 0.7; } }
Bests.
__________________
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"

April 6, 2013, 07:26
#4
Senior Member

Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 217
Blog Entries: 1
Rep Power: 11
Hi Mojtaba,

Quote:
 Originally Posted by Mojtaba.a therefore another relaxation factors for p and U are defined.
I think you understand correctly.

Quote:
Originally Posted by Mojtaba.a
So for instance is it ok to say:

Quote:
 relaxationFactors { fields { U 0.7; p 0.3; } equations { "U.*" 0.9; "k.*" 0.7; "epsilon.*" 0.7; } }
I think you should put U 0.7; in the equations dictionary, because the variable U is solved in UEqn.

Hope this helps,
Fumiya

April 6, 2013, 15:47
#5
Senior Member

Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 291
Rep Power: 9
Quote:
 I think you should put U 0.7; in the equations dictionary, because the variable U is solved in UEqn.
Yes you are right. I thought there is an another relaxation factor envolved in new pressure equation, but there is not.

__________________
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post philippose OpenFOAM Running, Solving & CFD 19 March 20, 2014 05:39 Mohsin FLUENT 5 April 30, 2010 11:57 Mike Main CFD Forum 7 May 21, 2005 12:41 Tim Phoenics 3 June 30, 2004 02:03 zhujianguo Phoenics 1 July 15, 2003 11:11