CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   continuity Error when using mapFields (http://www.cfd-online.com/Forums/openfoam/105153-continuity-error-when-using-mapfields.html)

samiam1000 July 24, 2012 05:53

continuity Error when using mapFields
 
Dear all,

I am trying to use the mapField command.

Indeed, it works pretty well.

The point is that I get an error when I try to launch the buoyantSimpleFoam command.

The error is the following:

Code:

rduser@slnxepmi05:/OPENFOAM/cases/moving_door_def_flow/0DegStartSimple$ buoyantSimpleFoam
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec  : buoyantSimpleFoam
Date  : Jul 24 2012
Time  : 11:40:20
Host  : "slnxepmi05"
PID    : 24038
Case  : /OPENFOAM/cases/moving_door_def_flow/0DegStartSimple
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading g
Reading thermophysical properties

Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>
Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting RAS turbulence model kEpsilon
kEpsilonCoeffs
{
    Cmu            0.09;
    C1              1.44;
    C2              1.92;
    C3              -0.33;
    sigmak          1;
    sigmaEps        1.3;
    Prt            1;
}

Calculating field g.h

Reading field p_rgh


SIMPLE: convergence criteria
    field p_rgh        tolerance 0.01
    field U        tolerance 0.001
    field h        tolerance 0.001
    field "(k|epsilon|omega)"        tolerance 0.001


Starting time loop

Time = 1

DILUPBiCG:  Solving for Ux, Initial residual = 0.75027308, Final residual = 0.0059180187, No Iterations 1
DILUPBiCG:  Solving for Uy, Initial residual = 0.97031907, Final residual = 0.0078913271, No Iterations 1
DILUPBiCG:  Solving for Uz, Initial residual = 0.82258021, Final residual = 0.0061307245, No Iterations 1
DILUPBiCG:  Solving for h, Initial residual = 0.00024857446, Final residual = 2.2807101e-06, No Iterations 1


--> FOAM FATAL ERROR:
Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Total flux              : 1226.2338
Specified mass inflow  : 1.074375
Specified mass outflow  : 1.0743555
Adjustable mass outflow : 0


    From function adjustPhi(surfaceScalarField& phi, const volVectorField& U,const volScalarField& p
    in file cfdTools/general/adjustPhi/adjustPhi.C at line 118.

FOAM exiting

rduser@slnxepmi05:/OPENFOAM/cases/moving_door_def_flow/0DegStartSimple$

Can anyone help?

Thanks a lot,
Samuele


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