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

pressure in interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2023, 07:36
Default pressure in interFoam
  #1
New Member
 
Join Date: Sep 2022
Posts: 18
Rep Power: 4
newGuyAtCFD is on a distinguished road
interFoam is a solver for 2 incompressible, isothermal immiscible fluids using a VOFmethod.

The pressure is defined as:


Code:
dimensions      [1 -1 -2 0 0 0 0]
Instead of the kinematic pressure seen in incompressible solvers:


Code:
dimensions      [0 2 -2 0 0 0 0];
In the damBreak tutorial, the pressure has a uniform value of 0. When I run the case I get negative values [-11]. What does this mean? -11 Pa in relation to atm pressure?
newGuyAtCFD is offline   Reply With Quote

Old   June 26, 2023, 12:04
Default
  #2
Member
 
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 57
Rep Power: 10
amirhosseintaran is on a distinguished road
Greetings,

interFoam works with a p_rgh, which includes the hydrostatic contribution,
so p_rgh = p - rho*gh;

Altough i didnt understand your question, but hope this helps.
Bests,
amirhosseintaran is offline   Reply With Quote

Old   June 26, 2023, 12:12
Default
  #3
New Member
 
Join Date: Sep 2022
Posts: 18
Rep Power: 4
newGuyAtCFD is on a distinguished road
Quote:
Originally Posted by amirhosseintaran View Post
Greetings,

interFoam works with a p_rgh, which includes the hydrostatic contribution,
so p_rgh = p - rho*gh;

Altough i didnt understand your question, but hope this helps.
Bests,
If you run the dambreak tutorial you will see negative values of p_rgh. What does it mean? -x Pa bellow some reference value?
newGuyAtCFD is offline   Reply With Quote

Old   June 26, 2023, 13:19
Default
  #4
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14
Tobermory will become famous soon enough
Quote:
Originally Posted by newGuyAtCFD View Post
If you run the dambreak tutorial you will see negative values of p_rgh. What does it mean?
It means that the value of p_rgh is less than zero! You can manipulate the value of p_rgh (eg make it positive, or make it equal the static pressure at a certain location) by simply choosing a different reference height, hRef.
Tobermory is offline   Reply With Quote

Old   June 27, 2023, 04:14
Default
  #5
Senior Member
 
Join Date: Dec 2021
Posts: 251
Rep Power: 6
Alczem is on a distinguished road
I think interFoam needs p_rgh to take the hydrostatic effetcs into account, but it does not need "realistic" values for the pressure, simply gradients. I may be wrong though!
Alczem 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
Periodic flow using Cyclic - comparison with Fluent nusivares OpenFOAM Running, Solving & CFD 30 December 12, 2017 06:35
Discharge of Pressure Vessel into Pipe with Regulator gajowni2 System Analysis 0 October 31, 2015 19:57
strange pressure behaviour with symmetricPlane boudary condition - interFoam duongquaphim OpenFOAM Running, Solving & CFD 10 August 20, 2013 15:00
Pressure reference in cyclic interFoam AlmostSurelyRob OpenFOAM 7 February 16, 2011 10:58
interFoam pressure conservation AndrewB OpenFOAM 0 August 27, 2009 00:15


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