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

MultiphaseInterFoam question

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2007, 14:45
Default Often after the simulation has
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Often after the simulation has started, I find that the minimum volume fraction for a certain phase has a negative value which I guess comes from using the limitedLimitedLinear scheme. For instance, here is a transcript of the log file:

Courant Number mean: 0.0003676463941223166 max: 0.1433804123149916
deltaT = 5.902777777777798e-05
Time = 0.01246875

smoothSolver: Solving for alphawater, Initial residual = 5.367012678397666e-07, Final residual = 1.657007202694921e-09, No It
erations 1
water volume fraction, min, max = 0.500000013666753 -2.476129830158727e-05 1.000241328781609
smoothSolver: Solving for alphaoil, Initial residual = 0.0005141524902777194, Final residual = 1.115623990538466e-09, No Iter
ations 3
oil volume fraction, min, max = 0.001774934415791225 -0.0002436711866175406 1.000002660725418
air volume fraction, min, max = 0.4982250519173831 -0.0001213547565864747 1.000021713925952

Is there a way to prevent negative volume fractions such as -0.0002436711866175406 and -0.0001213547565864747 by using a different scheme? Or would grid refinement cause the problem to go away?

My current fvSchemes file reads:

ddtSchemes
{
default Euler;
}

gradSchemes
{
default Gauss linear;
grad(U) Gauss linear;
grad(gamma) Gauss linear;
}

divSchemes
{
div(rho*phi,U) Gauss upwind;
div(phi,alpha) Gauss limitedLimitedLinear 1.0 -0.00001 1.00001;
div(phic,alpha) Gauss interfaceCompression; //upwind;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default yes;
}
msrinath80 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MultiphaseInterFoam virginie_e OpenFOAM Running, Solving & CFD 1 July 21, 2009 03:37
Possible bug in multiphaseInterFoam msrinath80 OpenFOAM Bugs 16 March 25, 2008 20:09
Problems with tutorialcase multiphaseInterFoam damBreak4phaseFine jfb OpenFOAM Bugs 2 February 29, 2008 06:20
MultiphaseInterFoam damBreak4phaseFine case hsieh OpenFOAM Installation 3 April 12, 2007 19:50
DPM question lee FLUENT 0 September 5, 2004 21:06


All times are GMT -4. The time now is 05:06.