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

buoyantBoussinesqSimpleFoam - continuity error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 3, 2012, 15:37
Question buoyantBoussinesqSimpleFoam - continuity error
  #1
Member
 
Vitor Vasconcelos
Join Date: Jan 2012
Posts: 33
Rep Power: 5
vitors is on a distinguished road
Hello all,

I am new to OpenFoam and I'm trying to solve a simple (at last I think it is...) case in which I have a heated rod inside a pipe. For natural convection it seems ok.

When I try to start a flow (inlet and outlet flows) I get a "continuity error message".

I based the configuration files on "hotRoom" OpenFoam's tutorial case.

The boundary conditions are:

p: inlet -> zeroGradient
outlet -> FixedValue uniform 0;
insideWall -> zeroGradient;
outsideWall -> zeroGradient;

U: inlet -> FixedValue (0 1 0)
outlet -> ZeroGradient (or calculated $internalField;
insideWall -> FixedValue (0 0 0);
outsideWall -> FixedValue (0 0 0);

T: inlet -> FixedValue 300;
outlet -> zeroGradient (or calculated $internalField);
insideWall -> FixedValue 1000;
outsideWall -> FixedValue 300;

So, any suggestions?
Thanks in advance.

Vitor
vitors is offline   Reply With Quote

Old   January 4, 2012, 05:00
Default
  #2
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 359
Rep Power: 11
romant is on a distinguished road
Quote:
Originally Posted by vitors View Post
Hello all,

I am new to OpenFoam and I'm trying to solve a simple (at last I think it is...) case in which I have a heated rod inside a pipe. For natural convection it seems ok.

When I try to start a flow (inlet and outlet flows) I get a "continuity error message".

I based the configuration files on "hotRoom" OpenFoam's tutorial case.

The boundary conditions are:

p: inlet -> zeroGradient
outlet -> FixedValue uniform 0;
insideWall -> zeroGradient;
outsideWall -> zeroGradient;

U: inlet -> FixedValue (0 1 0)
outlet -> ZeroGradient (or calculated $internalField;
insideWall -> FixedValue (0 0 0);
outsideWall -> FixedValue (0 0 0);

T: inlet -> FixedValue 300;
outlet -> zeroGradient (or calculated $internalField);
insideWall -> FixedValue 1000;
outsideWall -> FixedValue 300;

So, any suggestions?
Thanks in advance.

Vitor
For your pressure, you should set the boundary condition to buoyantPressure

for the outlet velocity condition try pressureInletOutletVelocity with value (0 0 0).
__________________
~roman
romant is offline   Reply With Quote

Old   January 4, 2012, 10:02
Default
  #3
New Member
 
andres
Join Date: Jul 2011
Posts: 28
Rep Power: 6
greel is on a distinguished road
I always use this bc in p_rgh

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

outlet
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform 0;
}
greel is offline   Reply With Quote

Old   January 12, 2012, 10:14
Default
  #4
Member
 
Vitor Vasconcelos
Join Date: Jan 2012
Posts: 33
Rep Power: 5
vitors is on a distinguished road
Thanks guys. I got a better result, though not perfect. But with this buoyantPressure BC I'll try to tune my simulation.
vitors is offline   Reply With Quote

Old   September 21, 2012, 04:55
Thumbs up Divergence problem solved by Greel's suggestion
  #5
New Member
 
Ameya Durve
Join Date: Jun 2009
Location: Mumbai
Posts: 8
Rep Power: 8
ameyadurve is on a distinguished road
@ Greel:

Boundary conditions for p_rgh suggested by you worked for my simulation.

I was having a divergence problem for buoyantBoussinesqSimpleFoam that got solved with those boundary conditions.

How good the results are, remains to be seen.

Thanks a lot
Ameya
ameyadurve is offline   Reply With Quote

Old   April 29, 2015, 16:25
Default
  #6
Senior Member
 
rkhr
Join Date: May 2011
Posts: 211
Rep Power: 7
Kanarya is on a distinguished road
How was the results?
I have similar doubts about p and p_rgh boundary conditions in buoyantBoussinesqSimpleFoam solver applied in simple pipe simulation...

thanks!
Quote:
Originally Posted by ameyadurve View Post
@ Greel:

Boundary conditions for p_rgh suggested by you worked for my simulation.

I was having a divergence problem for buoyantBoussinesqSimpleFoam that got solved with those boundary conditions.

How good the results are, remains to be seen.

Thanks a lot
Ameya
Kanarya is offline   Reply With Quote

Reply

Tags
boundary conditions, buoyantboussinesqsf, continuity error

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
error compiling modified applications yvyan OpenFOAM Programming & Development 18 December 17, 2011 15:39
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
attach/detach (valve opening/closing) phsieh2005 OpenFOAM Running, Solving & CFD 2 March 21, 2009 06:18
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 09:10.