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

InterFoam - Pressure

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2021, 10:53
Default InterFoam - Pressure
  #1
Member
 
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 57
Rep Power: 6
Miguel Hernandez is on a distinguished road
Hello everyone,
I am studying the interFoam solver, I am asking the more experienced ones the difference between p and p_rgh.

Is p the total pressure?
Is p_rgh = p - rho g h ? and so, is p_rgh the dynamic component of the pressure?

Thanks, regards.
Miguel Hernandez is offline   Reply With Quote

Old   September 29, 2021, 05:42
Default
  #2
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 86
Rep Power: 7
2538sukham is on a distinguished road
I think if you see, pd or p_rgh are actually calculated as pd (or p_rgh) = p - rho*g*h . so its the pressure minus the hydrostatic term. please refer to Rusche thesis to learn how pressure is discretized and solved. If you study the interFoam code, you will find that pressure is reconstructed. Atleast this is much what i know. cheers
2538sukham is offline   Reply With Quote

Old   September 29, 2021, 11:25
Default
  #3
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16
mAlletto will become famous soon enough
By decomposing the pressure in this way the definition of the boundary conditions is easier. A constant p value at the exit cannot be applied for cases where the gravity place a role. Gower you can apply a constant p_rgh value
mAlletto is offline   Reply With Quote

Old   October 1, 2021, 19:24
Default
  #4
New Member
 
Anup Singh
Join Date: Mar 2020
Posts: 22
Rep Power: 7
Anup Singh is on a distinguished road
Yes, p is the total pressure.
P_rgh is the reduced pressure which is exactly the way you have defined.
But if you need a better explanation then there are other threads where it has been already discussed or refer to ferziger and peric.
You can also see its transformation from the following link where Hydrostatic pressure effects has been discused.
https://www.openfoam.com/documentati...orm-p-rgh.html
For its uses and understanding of interfoam: you can refer to the thesis of Henrik Rusche which explains it in great detail while following the framework of openfoam making it easier to understand.
Hope it helps
Anup Singh is offline   Reply With Quote

Old   October 2, 2021, 07:09
Default
  #5
Member
 
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 57
Rep Power: 6
Miguel Hernandez is on a distinguished road
Quote:
Originally Posted by Anup Singh View Post
Yes, p is the total pressure.
P_rgh is the reduced pressure which is exactly the way you have defined.
But if you need a better explanation then there are other threads where it has been already discussed or refer to ferziger and peric.
You can also see its transformation from the following link where Hydrostatic pressure effects has been discused.
https://www.openfoam.com/documentati...orm-p-rgh.html
For its uses and understanding of interfoam: you can refer to the thesis of Henrik Rusche which explains it in great detail while following the framework of openfoam making it easier to understand.
Hope it helps


Thank you for the replay.

Now there is a thing I do not understand.
In a simulation I’m currently working on, in paraFoam I have always p_rgh greater then p... Is it possible?
Miguel Hernandez is offline   Reply With Quote

Old   October 2, 2021, 07:27
Default
  #6
New Member
 
Anup Singh
Join Date: Mar 2020
Posts: 22
Rep Power: 7
Anup Singh is on a distinguished road
Well, I am not entirely sure of the possibility but I also get it in my simulations.
If you wish to confirm your assumption then define another variable in parafoam as PP = p_rgh + rho g h
and see whether it is equal to p.
Also if you take a look at the equation then you will realize that even though you are adding (rho g h) to p_rgh. The contribution of g is -9.81 m/s2 which in scalar format equates to a negative contribution.
Anup Singh 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
Periodic flow using Cyclic - comparison with Fluent nusivares OpenFOAM Running, Solving & CFD 30 December 12, 2017 05:35
Discharge of Pressure Vessel into Pipe with Regulator gajowni2 System Analysis 0 October 31, 2015 18:57
strange pressure behaviour with symmetricPlane boudary condition - interFoam duongquaphim OpenFOAM Running, Solving & CFD 10 August 20, 2013 14:00
Pressure reference in cyclic interFoam AlmostSurelyRob OpenFOAM 7 February 16, 2011 09:58
interFoam pressure conservation AndrewB OpenFOAM 0 August 26, 2009 23:15


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