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

buoyantSimpleFoam divergence

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2011, 14:16
Default buoyantSimpleFoam divergence
  #1
New Member
 
Join Date: Oct 2010
Posts: 5
Rep Power: 6
TomS is on a distinguished road
Hi,

I'm trying to model a buoyant thermal plume from a chimney in a cross flow of air using buoyantSimpleFoam.

My rho min/max values quickly degenerate into nonsense and I'm sure it must be a boundary condition issue. I've trawled the links and tried a lot of different boundary conditions without success.

The relevant b.c.'s etc are below.

I'd be very grateful for any advice/suggestions.

Thanks,

Tom

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 293;

boundaryField
{
pressureOutlet
{
type inletOutlet;
inletValue uniform 293;
value uniform 293;
}
velocityInlet
{
type fixedValue;
value uniform 293;
}
atmosphere
{
type zeroGradient;
}
sea
{
type zeroGradient;
}
funnel_patch0
{
type fixedValue;
value uniform 476;
}
ship_patch0
{
type zeroGradient;
}
}

// ************************************************** *********************** //

FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform (0 15.88 0);

boundaryField
{

velocityInlet
{
type fixedValue;
value uniform (0 15.88 0);
}

pressureOutlet
{
type inletOutlet;
inletValue 0;
value 0;
}

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

funnel_patch0
{
type fixedValue;
value uniform (-2.4248 0 17.3017);
}

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

atmosphere
{
type zeroGradient;
}

}

// ************************************************** *********************** //

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 101325.;

boundaryField
{
pressureOutlet
{
type calculated;
value uniform 101325;
}
velocityInlet
{
// type zeroGradient;

type calculated;
value uniform 101325;
}
atmosphere
{
type calculated;
value uniform 101325;
}
sea
{
type calculated;
value uniform 101325;
}
funnel_patch0
{
type calculated;
value uniform 101325;
}
ship_patch0
{
type calculated;
value uniform 101325;
}
}

// ************************************************** *********************** //

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{

pressureOutlet
{
type buoyantPressure;
gradient uniform 0;
value uniform 101325;
}
velocityInlet
{
type buoyantPressure;
gradient uniform 0;
value uniform 101325;
}
atmosphere
{
type buoyantPressure;
gradient uniform 0;
value uniform 101325;
}
sea
{
type wallBuoyantPressure;
gradient uniform 0;
value uniform 101325;
}
funnel_patch0
{
type buoyantPressure;
gradient uniform 0;
value uniform 101325;
}
ship_patch0
{
type wallBuoyantPressure;
gradient uniform 0;
value uniform 101325;
}
}

// ************************************************** *********************** //

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>;

pRef 101325;

mixture
{
specie
{
nMoles 1;
molWeight 28.96;
}
thermodynamics
{
Cp 1004.4;
Hf 0;
}
transport
{
mu 1.831e-05;
Pr 0.705;
}
}


// ************************************************** *********************** //
TomS 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
UDF divergence of a vector cris FLUENT 3 September 4, 2014 18:06
Divergence problem for species transport model MY FLUENT 3 January 11, 2014 04:46
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 11:34
Role of divergence shekharc Main CFD Forum 7 July 5, 2005 12:08
divergence in MAC Method Maciej Matyka Main CFD Forum 2 December 19, 2000 10:43


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