CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Is it ok to apply zerogradient boundary condition at the outlet for pressure?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2019, 02:48
Default Is it ok to apply zerogradient boundary condition at the outlet for pressure?
ijaz fazil
Join Date: Apr 2013
Location: Singapore
Posts: 69
Rep Power: 9
er_ijaz is on a distinguished road
I remember reading some notes, zerogradient boundary condition should not be applied at the outlet for pressure.
Outflow condition refers to zerogradient for all properties except pressure.
I'm analysing flow through a pipe in which half of the pipe is water while upper half of the pipe is air.
At the outlet of the pipe I'm concerned about fixing the pressure as the hydrostatic pressure of the water varies with height and since the density changes with two phase, I'm worried of fixing the pressure at the outlet.
Also in openfoam we need to fix p-rgh value and interfoam computes the pressure based on the height.
I noticed in two tutorials of openfoam v4.0 , p_rgh is set as zerogradient in the outlet. I'm also convenient to use zerogradient at the outlet, but my concern is the 'rule' pressure should not be 'zerogradient' at the outlet.
Attached Images
File Type: png p_rgh_outlet_zerogradient2.png (75.4 KB, 8 views)
File Type: png p_rgh_zerogradient_outlet1.png (66.8 KB, 6 views)
er_ijaz is offline   Reply With Quote


interfoam, interfoam hydrostatic, interfoam outlet p_rgh, multiphase

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
The method on dealing with velocity in static pressure outlet boundary condition CFX 2 September 30, 2017 01:33
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
How to set the Heat Flux boundary condition at Outlet creddy_trddc CFX 3 September 21, 2011 07:44
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 03:23

All times are GMT -4. The time now is 11:34.