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

PIMPLE algorithm relaxation Factors

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

Like Tree15Likes
  • 2 Post By Mojtaba.a
  • 6 Post By fumiya
  • 6 Post By Mojtaba.a
  • 1 Post By fumiya

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2013, 15:45
Default PIMPLE algorithm relaxation Factors
  #1
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 15
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
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
immortality and jadidi.cfd like this.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   April 6, 2013, 01:31
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
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
fumiya is offline   Reply With Quote

Old   April 6, 2013, 05:55
Default
  #3
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 15
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by fumiya View Post
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/

especially
  • keyword "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.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   April 6, 2013, 08:26
Default
  #4
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
Hi Mojtaba,

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

Quote:
Originally Posted by Mojtaba.a View Post
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
Mojtaba.a likes this.
fumiya is offline   Reply With Quote

Old   April 6, 2013, 16:47
Default
  #5
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 15
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
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.

p^{new}=p^{old}+\alpha_{p}*(p^p-p^{old})
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 and time accuracy Mike Main CFD Forum 7 May 21, 2005 13:41
Relaxation Factors Tim Phoenics 3 June 30, 2004 03:03
relaxation factors adjust zhujianguo Phoenics 1 July 15, 2003 12:11


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