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

Pressure BCs in buoyantPimpleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jherb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2014, 15:51
Default Pressure BCs in buoyantPimpleFoam
  #1
New Member
 
Ian Dizon
Join Date: May 2014
Posts: 6
Rep Power: 12
superian is on a distinguished road
Hello FOAMers,

I am using buoyantPimpleFoam to simulate a air flow within a furnished room.
isometric.jpg
I have one inlet, one outlet, and some furniture some of which act as heat sources (computers,lights,occupants).

But I am confused when setting pressure boundary conditions at inlet,outlet and walls.

p_rgh:
Quote:
internalField uniform 1e5;

for the walls/furniture:
type zeroGradient;

for inlet:
type zeroGradient;

for outlet:
type fixedValue;
value 1e5;
p:
Quote:
internalField uniform 1e5;

everything else:
type calculated;
value $internalField;
U:
Quote:
inlet:
type fixedValue
value uniform (0 0 0);

outlet:
type zeroGradient;

everything else (0 0 0);
Do these make sense? If not can anyone explain to me how I should set these up?


Thanks in advance,

Ian
superian is offline   Reply With Quote

Old   July 5, 2014, 19:52
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Have a look at the tutorial of buoyantPimpleFoam:
https://github.com/OpenFOAM/OpenFOAM...Foam/hotRoom/0

For the pressures (p_rgh) on the walls you probably want something like fixedFluxPressure.

0 velocity for the inlet does not make sense, because then its a wall.
KDK likes this.
jherb is offline   Reply With Quote

Old   July 7, 2014, 19:04
Default
  #3
New Member
 
Ian Dizon
Join Date: May 2014
Posts: 6
Rep Power: 12
superian is on a distinguished road
Thanks for the reply!

You are right! My inlet should have a value.
It is actually:

type fixedValue
value uniform (0.086 0 0)

Maybe you know more about fixedFluxPressure. From what I understand is that it will calculate pressure based on the mass flow rate normal to the surface. Is this correct?

Also, can this be used as a BC for p_rgh at my inlet as well?
superian is offline   Reply With Quote

Reply


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
Calculating Pressure Drop - BCs spoon OpenFOAM Running, Solving & CFD 1 February 25, 2013 19:47
Pressure BC's for ABL modelling jgpeder OpenFOAM 1 June 9, 2010 15:33
Pressure BCs or Periodic BCs for model of frost on vertical surface? andy.eco FLUENT 2 March 26, 2010 03:02
Average static pressure BCs and aircore in cyclone KM CFX 2 December 17, 2007 21:50
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 23:02


All times are GMT -4. The time now is 12:35.