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

totalPressure boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2011, 05:03
Default totalPressure boundary condition
  #1
New Member
 
Join Date: Aug 2010
Location: Chennai
Posts: 24
Rep Power: 16
ramhari is on a distinguished road
can any help me to find what 'phip' means


Location : fields/fvFields/derived/totalPressure

////////////////////////////////
if (psiName_ == "none" && rhoName_ == "none")
{
operator==(p0_ - 0.5*(1.0 - pos(phip))*magSqr(Up));
}
////////////////////////////

Thanks,
Hariram
ramhari is offline   Reply With Quote

Old   August 16, 2011, 14:17
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Two lines above that, phip is declared. It appears to be the boundary patch of the phi field.
marupio is offline   Reply With Quote

Old   August 18, 2011, 10:26
Default
  #3
New Member
 
Join Date: Aug 2010
Location: Chennai
Posts: 24
Rep Power: 16
ramhari is on a distinguished road
Thanks@marupio.

But

If I specify total pressure P0 at the inlet, the pressure p can be calculated using

p = P0 / ( 1 + 0.2M^2)^3.5 ( say for air)

what is the neccessity of 'phip' in totalPressure boundary condition. Can u help me : ) ?
ramhari is offline   Reply With Quote

Old   August 18, 2011, 13:53
Default
  #4
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
They are using the pos() function. I think it only adds it if phip is positive (i.e. outward).
marupio is offline   Reply With Quote

Reply

Tags
boundary condition, totalpressure


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
Domain Imbalance HMR CFX 5 October 10, 2016 06:57
Can anyone give me some hint on how to make traction free boundary condition? poplar OpenFOAM 3 January 14, 2015 03:37
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 06:05
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 04:23
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 12:44


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