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

sprayFoam BC for flow with dispersion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2012, 07:17
Default sprayFoam BC for flow with dispersion
  #1
Member
 
Robert
Join Date: Aug 2012
Location: Berlin
Posts: 74
Rep Power: 13
vainilreb is on a distinguished road
Hey,

I set up a case with a small ammonia cloud in a room with an air inlet and an air outlet. The simulation runs for a few steps and then the gas temperature difference increases unreasonably fast. Maybe you can tell me why?

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object p;
}

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

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

internalField uniform 101300;

boundaryField
{
inlet
{
type zeroGradient;
}

outlet
{
type fixedValue;
value uniform 101300;
}

walls
{
type zeroGradient;
}

empty
{
type zeroGradient;
}

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

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volVectorField;
object U;
}

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

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

internalField uniform ( 0 0 0 );

boundaryField
{
inlet
{
type fixedValue;
value uniform ( 1 0 0 );
}

outlet
{
type zeroGradient;
}

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

empty
{
type zeroGradient;
}

}

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

I just a second the temperature difference increases from zero to more than 100 K... I think it's got something to do with the inlet and outlet BC. But I'm not sure WHAT.

Thanks a lot.

Robert
vainilreb is offline   Reply With Quote

Old   August 24, 2012, 03:17
Default
  #2
Member
 
Robert
Join Date: Aug 2012
Location: Berlin
Posts: 74
Rep Power: 13
vainilreb is on a distinguished road
No idea, anyone? Changed the BC from fixedValue to inletOutlet, tried to set up fixed outlet speed and pressure-controlled inlet flow and still got the same problem.
vainilreb 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
sprayFoam crashes lukasfischer OpenFOAM Running, Solving & CFD 3 July 14, 2013 11:08
Stability problem due to turbulent dispersion force in a subcooled boiling model Edy OpenFOAM 7 August 10, 2011 12:00
Turbulent Dispersion for Coal Combustion gravis CFX 2 March 23, 2010 23:56
Question on Dispersion Mike Marcu FLUENT 2 September 14, 2005 19:53
Heavy Gas Dispersion Roued Main CFD Forum 1 December 17, 2001 03:10


All times are GMT -4. The time now is 17:20.