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

continuity Error when using mapFields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2012, 06:53
Default continuity Error when using mapFields
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
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
samiam1000 is offline   Reply With Quote

Old   November 20, 2017, 15:40
Default
  #2
New Member
 
Bhanu
Join Date: May 2014
Posts: 10
Rep Power: 12
mugabe2204 is on a distinguished road
Hi Samuele,

Were you able to resolve this ? I have the same issue.

Especially I want to convert the fixed Value ( zero) pressure outlet to fixed flux pressure or zerogradient and I have the simulation being run. When I tried to map to the test cases with new boundary conditions, it gives the same error.

Thanks in advance.

Cheers
mugabe2204 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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 22:49.