CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Total pressure boundary condition

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

LinkBack Thread Tools Display Modes
Old   November 13, 2013, 07:47
Default Total pressure boundary condition
Join Date: Mar 2013
Posts: 68
Rep Power: 4
Pj. is on a distinguished road
Hi everybody,

I'm looking for a way to impose the total pressure as inlet boundary condition, instead than a velocity.

My first try was to set the inlet with a fixedValue in both pressure and velocity, but this way the simulation gives bad results: even if i'm working with an incompressible flow, the flow rate decrease during the simulation. This should be obviously impossible in incompressible flow, but it happens.

After some research I found a pressure boundary condition called, indeed, totalPressure.

 type            totalPressure;
 U               U;
 phi             phi;
 rho             none;
 psi             none;
 gamma           1.4;
 p0              uniform 1e5;
The problem is that I don't know what to write in the 0/U myPatch subDict. Should i set a fixedValue? Shouldn't it be free to vary (increasing when p decrease and vice versa) ?

What kind of BC do I have to set in the U file?
Do you have other advices about this topic?

Thank you very much,
Pj. is offline   Reply With Quote

Old   December 4, 2013, 05:19
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 58
Rep Power: 7
Thangam is on a distinguished road
for a start you may want to look at pressureInletOutletVelocity b.c for your velocity at the outlet...I guess this is self adapting based on the pressure...I guess some more details on the case could be more helpful...
Thangam is offline   Reply With Quote


boundaries condition, inlet boundary condition, pressure bc, total pressure

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
Pressure Inlet Boundary Condition Prasad FLUENT 6 April 9, 2013 21:32
Fluent natural ventilation pressure boundary condition pierresandre FLUENT 24 November 8, 2011 15:32
Total pressure boundary condition maritozzo OpenFOAM Running, Solving & CFD 2 January 31, 2011 04:03
Total pressure boundary condition maritozzo OpenFOAM Running, Solving & CFD 0 December 10, 2005 13:56
Total pressure boundary condition bartold OpenFOAM Pre-Processing 0 November 7, 2005 09:45

All times are GMT -4. The time now is 20:40.