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

Total pressure boundary condition

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2013, 07:47
Default Total pressure boundary condition
  #1
Pj.
Member
 
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13
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.
http://www.openfoam.org/docs/cpp/

Code:
    myPatch
 {
 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,
Luca
Pj. is offline   Reply With Quote

Old   December 4, 2013, 05:19
Default
  #2
Member
 
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 70
Rep Power: 16
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

Reply

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

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
Pressure Inlet Boundary Condition Prasad FLUENT 6 April 9, 2013 22: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 08:21.