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

Boundary condition for transient natural convection

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By JR22
  • 1 Post By nimasam

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 2, 2013, 09:03
Default Boundary condition for transient natural convection
  #1
New Member
 
Eshita Pal
Join Date: Mar 2012
Posts: 6
Rep Power: 14
EshitaPal is on a distinguished road
Hello,

I am using Openfoam 2.2 and trying to simulate natural circulation in a tank with multiple inlets at the bottom and multiple outlets at the top. As I run the transient buoyantBoussinesqPimpleFoam solver, the flow reverses very quickly, and the water starts flowing out of the inlet. Are my boundary conditions appropriate? Thanks.

U file

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{


pipe
{
type fixedValue;
value uniform (0 0 0);
}

inlet1
{
type pressureInletOutletVelocity;
value uniform (-0.1414 0 0);
}
inlet2
{
type pressureInletOutletVelocity;
value uniform (-0.130636565 -0.054111437 0);
}
inlet3
{
type pressureInletOutletVelocity;
value uniform (-0.099984898 -0.099984898 0);
}
outlet
{
type zeroGradient;
}
symmetry
{
type symmetryPlane;
}

wall
{
type fixedValue;
value uniform (0 0 0);
}


}



p_rgh file

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
pipe
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
inlet1
{
type totalPressure;
p0 uniform 51.993; // this is equal to g*(height of the tank)
U U;
phi phi;
rho rhok;
psi none;
gamma 1;
value uniform 0;
}
inlet2
{
type totalPressure;
p0 uniform 51.993;
U U;
phi phi;
rho rhok;
psi none;
gamma 1;
value uniform 0;
}
inlet3
{
type totalPressure;
p0 uniform 51.993;
U U;
phi phi;
rho rhok;
psi none;
gamma 1;
value uniform 0;
}
outlet
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
symmetry
{
type symmetryPlane;
}


wall
{
type buoyantPressure;
rho rhok;
value uniform 0;
}



}
Attached Images
File Type: jpg tank_with_inlet_outlets.jpg (31.2 KB, 162 views)
EshitaPal is offline   Reply With Quote

 

Tags
boundary condition, natural convection, p_rgh


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
mixed inflow/outflow downstream boundary condition question peob OpenFOAM Running, Solving & CFD 3 February 3, 2017 10:54
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 04:13
natural convection boundary condition thomasyangfly FLOW-3D 3 September 11, 2012 10:14
Boundary condition for natural convection Ank OpenFOAM 16 July 30, 2012 04:26
boundary condition in natural ventilation modrio FLUENT 2 August 11, 2005 12:29


All times are GMT -4. The time now is 07:58.