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

totalPressure boundary condition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 15, 2011, 04:03
Default totalPressure boundary condition
  #1
New Member
 
Join Date: Aug 2010
Location: Chennai
Posts: 26
Rep Power: 6
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, 13:17
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
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, 09:26
Default
  #3
New Member
 
Join Date: Aug 2010
Location: Chennai
Posts: 26
Rep Power: 6
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, 12:53
Default
  #4
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 05:05
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 04:23
Domain Imbalance HMR CFX 3 March 6, 2011 21:10
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 21:27.