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

trouble with the boundary conditions(natural convection)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 29, 2012, 06:01
Default trouble with the boundary conditions(natural convection)
  #1
Ank
Member
 
ankur
Join Date: May 2012
Location: India
Posts: 50
Rep Power: 5
Ank is on a distinguished road
Hey guys,

I am using Openfoam 2.0, I am simulating a cylinder with some tubes inside it carrying steam. My cylinder is open from bottom and top so that air enters from bottom and goes out from the top by getting heated up by the steam. I am using buoyantBoussinesqPimpleFoam solver. I am pasting my boundary conditions here,

0/U:

internalField uniform (0 0 0);

boundaryField
{

inlet
{
type zeroGradient;


}

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

outlet
{
type zeroGradient;

}

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

symmetry
{
type symmetryPlane;
}

}


0/p_rgh:

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;

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

outlet
{
type buoyantPressure;
rho rhok;
value uniform 0;

}

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

symmetry
{
type symmetryPlane;
}
}


0/p:

boundaryField
{

inlet
{
type calculated;
value $internalField;

}
pipe
{
type calculated;
value $internalField;
}

outlet
{
type calculated;
value $internalField;
}

wall
{
type calculated;
value $internalField;
}

symmetry
{
type symmetryPlane;
}

}

0/T:

internalField uniform 300;

boundaryField
{

inlet
{
type zeroGradient;
}
pipe
{
type fixedValue;
value uniform 413;
}
outlet
{
type zeroGradient;
}
wall
{
type zeroGradient;
}

symmetry
{
type symmetryPlane;
}
}

all other parameters are zeroGradient at inlet and outlet, and fixed value at the walls.
I am getting a good flow patters and velocity vectors are in right direction but I am getting a problem with the temperature and it is going below 298 K for air, which is non physical for this case.

Can you please help me in choosing the right boundary conditions. I am attaching some snapshots with this thread.

Thank You
Attached Images
File Type: jpg U.jpg (51.5 KB, 41 views)
Ank is offline   Reply With Quote

Old   September 30, 2012, 14:04
Default
  #2
Senior Member
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 103
Rep Power: 8
tian is on a distinguished road
Hi,

I think you should set the temperatur field for the inlet condition also.

I test it with a similar case and it was working...

Bye
Thomas
Attached Images
File Type: jpg Cylinder-HVACTool.jpg (78.5 KB, 33 views)
Attached Files
File Type: gz Cylinder.hvac.gz (77.4 KB, 10 views)
tian is offline   Reply With Quote

Old   October 1, 2012, 03:47
Default
  #3
Ank
Member
 
ankur
Join Date: May 2012
Location: India
Posts: 50
Rep Power: 5
Ank is on a distinguished road
Hey thanks for your reply,
can you please tell me what other boundary conditions you used for the pressure velocity, k , epsilon etc..I cant see your attachment properly.

Ankur
Ank is offline   Reply With Quote

Old   October 1, 2012, 07:04
Default
  #4
Senior Member
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 103
Rep Power: 8
tian is on a distinguished road
Hi Ankur,

i used the HVAC Tool to build a similar case quickly (file ending *.hvac). I take your BC. I only changed the inlet BC as fixedValue for temperature.

Bye
Thomas
tian is offline   Reply With Quote

Old   October 1, 2012, 07:28
Default
  #5
Ank
Member
 
ankur
Join Date: May 2012
Location: India
Posts: 50
Rep Power: 5
Ank is on a distinguished road
hey thanks alot again..
I used pressureInletOutletVelocity also along with the fixed temperature bc..is it right to use it here? Now my temperature is coming in the right range..

Thanks
Ankur
Ank is offline   Reply With Quote

Old   October 2, 2012, 12:46
Default
  #6
New Member
 
Eric
Join Date: Aug 2010
Posts: 14
Rep Power: 7
tunkers is on a distinguished road
Hello Ankur, You might find this thread helpful:

hotRoom tutorial with atmosphere boundary condition
tunkers is offline   Reply With Quote

Old   October 3, 2012, 03:50
Default
  #7
Ank
Member
 
ankur
Join Date: May 2012
Location: India
Posts: 50
Rep Power: 5
Ank is on a distinguished road
hey Thanks Eric, I will run a test case with this BC also, I have not given total pressure ever as my BC. I am running with atmospheric on inlet and zeroGradient on outlet. For k and epsilon i have given zeroGradient on inlet and outlet.
Ank is offline   Reply With Quote

Reply

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
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
domain imbalance for enrgy equation happy CFX 14 September 6, 2012 01:54
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 02:54


All times are GMT -4. The time now is 02:44.