CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   MultiphaseInterFoam damBreak4phaseFine case (http://www.cfd-online.com/Forums/openfoam-installation/57556-multiphaseinterfoam-dambreak4phasefine-case.html)

hsieh April 12, 2007 17:38

Hi, I ran the damBreak4phas
 
Hi,

I ran the damBreak4phaseFine case in OpenFOAM-1.4 tutorial, ran stopped with an error. Error messages attached.

Pei
------------
oil volume fraction, min, max = 0.1255 0 1
smoothSolver: Solving for alphamercury, Initial residual = 0, Final residual = 0, No Iterations 0
mercury volume fraction, min, max = 0.0423611 0 1
air volume fraction, min, max = 0.749001 0 1
smoothSolver: Solving for alphawater, Initial residual = 0, Final residual = 0, No Iterations 0
water volume fraction, min, max = 0.0831387 0 1
smoothSolver: Solving for alphaoil, Initial residual = 0, Final residual = 0, No Iterations 0
oil volume fraction, min, max = 0.1255 0 1
smoothSolver: Solving for alphamercury, Initial residual = 0, Final residual = 0, No Iterations 0
mercury volume fraction, min, max = 0.0423611 0 1
air volume fraction, min, max = 0.749001 0 1


--> FOAM FATAL IO ERROR : expected 'true' or 'false', found on

file: /home/phsieh/OpenFOAM/phsieh-1.4/run/tutorials/multiphaseInterFoam/damBreak4phas eFine/system/fvSolution::pd::cacheAgglomeration at line 60.

From function operator>>(Istream&, bool&)
in file primitives/bool/boolIO.C at line 72.

FOAM exiting

phsieh@kevin:~/OpenFOAM/phsieh-1.4/run/tutorials/multiphaseInterFoam>

mattijs April 12, 2007 18:25

Looks like FoamX thinks it is
 
Looks like FoamX thinks it is a Switch instead of a bool or vice versa. You'll have to edit it by hand for now.

hsieh April 12, 2007 19:44

Hi, Mattijs, I did not use
 
Hi, Mattijs,

I did not use FoamX. I basically did blockMesh to generate the mesh, then, ran the case as is in the tutorials. What will I have to change to run this case? So many new stuffs in this new version!

Pei

hsieh April 12, 2007 19:50

Hi, Mattijs, Got it! I nee
 
Hi, Mattijs,

Got it! I need to change from "on" to "true" and "off" to "false".

Pei


All times are GMT -4. The time now is 19:50.