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

Continuity error cannot be removed by adjusting the outflow. Please check the velocit

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2015, 03:17
Default Continuity error cannot be removed by adjusting the outflow. Please check the velocit
  #1
New Member
 
Warning
Join Date: Jan 2015
Posts: 15
Rep Power: 11
range_rover is on a distinguished road
Hey guys

I am very new to openfoam, when i am using icofoam solver i have been facing this continuity error ,i am having an inflow in horizontal and outflow in vertical. i tried my ways to get over it , i am not able to can any body help me on this.

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 : 376.432
Specified mass inflow : 20
Specified mass outflow : 7220
Adjustable mass outflow : 0


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

FOAM exiting

P-file

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

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}

outlet
{

type zeroGradient;
}

walls
{
type zeroGradient;
}
}


U-file

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

internalField uniform (0 0 0);

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

outlet
{
type fixedValue;
value uniform (0 0 20);

}

walls
{
type fixedValue;
value uniform (0 0 0);
}
}
range_rover is offline   Reply With Quote

Old   January 20, 2015, 03:36
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

It looks like area of the outlet is around 180 time greater than area of the inlet. Can you post screenshot of your mesh?
alexeym is offline   Reply With Quote

Old   January 20, 2015, 03:41
Default
  #3
New Member
 
Warning
Join Date: Jan 2015
Posts: 15
Rep Power: 11
range_rover is on a distinguished road
Yeah, you are true

I just figured it out, i adjusted my boundary conditions and it worked fine

thanks for your reply
range_rover is offline   Reply With Quote

Old   August 13, 2016, 07:50
Default
  #4
Member
 
alex
Join Date: Feb 2016
Location: chennai
Posts: 48
Rep Power: 10
crusen mind is on a distinguished road
hi when i run simulation i am getting this error




PHP Code:
FOAM FATAL ERROR
[
5Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Total flux              11.8087
Specified mass inflow   
1.42626
Specified mass outflow  
0.0135246
Adjustable mass outflow 
1.56994e-21 
crusen mind is offline   Reply With Quote

Old   August 13, 2016, 08:56
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
This error tells you that it is not possible to adjust your fluxes. This happens if you define your problem weakly. So check your BC and make sure that you have physical BC.
E.g. (just one of a lot of examples)

  • if you define U and p to zeroGradient everywhere, think about how many solutions would be valid that the momentum is fulfilled
  • It is like setting pressure and velocity at the inlet, the outlet can now get a lot of valid results based on velocity / pressure (just for incompressible / low Mach)
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   August 16, 2016, 02:42
Default
  #6
Member
 
alex
Join Date: Feb 2016
Location: chennai
Posts: 48
Rep Power: 10
crusen mind is on a distinguished road
now i have increased my domain size, and i will use the boundary condition given in the propeller tutorial case.

Last edited by crusen mind; August 17, 2016 at 00:27.
crusen mind is offline   Reply With Quote

Old   August 16, 2016, 03:15
Default
  #7
Member
 
alex
Join Date: Feb 2016
Location: chennai
Posts: 48
Rep Power: 10
crusen mind is on a distinguished road
I am getting this error
PHP Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.0                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  4.0-665f1db4c1f1
Exec   
pimpleDyMFoam -parallel
Date   
Aug 16 2016
Time   
12:42:08
Host   
"velan-OptiPlex-9020"
PID    3993
Case   : /home/velan/prop
nProcs 
8
Slaves 

7
(
"velan-OptiPlex-9020.3994"
"velan-OptiPlex-9020.3995"
"velan-OptiPlex-9020.3996"
"velan-OptiPlex-9020.3997"
"velan-OptiPlex-9020.3998"
"velan-OptiPlex-9020.3999"
"velan-OptiPlex-9020.4000"
)

Pstream initialized with:
    
floatTransfer      0
    nProcsSimpleSum    
0
    commsType          
nonBlocking
    polling iterations 
0
sigFpe 
Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking Monitoring run-time modified files using timeStampMaster
allowSystemOperations 
Allowing user-supplied system call operations

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

Create mesh 
for time 0

Selecting dynamicFvMesh solidBodyMotionFvMesh
Selecting solid
-body motion function rotatingMotion
Applying solid body motion to cellZone innersmallcyclinder

PIMPLE
no residual control data foundCalculations will employ 2 corrector loops

Reading field p

Reading field U

Reading
/calculating face flux field phi

AMI
Creating addressing and weights between 3324 source faces and 3324 target faces
AMI
Patch source sum(weightsmin/max/average 111
AMI
Patch target sum(weightsmin/max/average 111
Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
kEpsilonCoeffs
{
    
Cmu             0.09;
    
C1              1.44;
    
C2              1.92;
    
C3              -0.33;
    
sigmak          1;
    
sigmaEps        1.3;
}

No MRF models present

Reading
/calculating face velocity Uf

No finite volume options present

Courant Number mean
4.99969e-06 max0.00139283
Reading surface description
:
    
zNormal
    isoQ
    propeller

forces forces
:
    
Not including porosity effects

Starting time loop

Courant Number mean
4.95019e-06 max0.00137904
deltaT 
1.17647e-05
Time 
1.17647e-05

AMI
Creating addressing and weights between 3324 source faces and 3324 target faces
AMI
Patch source sum(weightsmin/max/average 0.9994071.00220.999993
AMI
Patch target sum(weightsmin/max/average 0.9991511.002160.999983
PIMPLE
iteration 1
smoothSolver
:  Solving for UxInitial residual 1, Final residual 4.38333e-08No Iterations 1
smoothSolver
:  Solving for UyInitial residual 1, Final residual 4.70697e-08No Iterations 1
smoothSolver
:  Solving for UzInitial residual 1, Final residual 4.26061e-08No Iterations 1
[2#0  Foam::error::printStack(Foam::Ostream&)[3] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
 
at ??:?
[
3#1  Foam::sigFpe::sigHandler(int)[2] #1  Foam::sigFpe::sigHandler(int) at ??:?
[3#2  ? at ??:?
[2#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
[2#3   in "/lib/x86_64-linux-gnu/libc.so.6"
Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Fielddouble> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const[3#3  Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
[3#4  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
[2#4  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
[3#5  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[2#5  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[3#6  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
[2#6  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
[3#7  Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
[3#8   at ??:?
[2#7  ?Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
[3#9  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[3#10   at ??:?
[2#8  ?? at ??:?
[velan-OptiPlex-9020:03996] *** Process received signal ***
[
velan-OptiPlex-9020:03996SignalFloating point exception (8)
[
velan-OptiPlex-9020:03996Signal code:  (-6)
[
velan-OptiPlex-9020:03996Failing at address0x3e800000f9c
[velan-OptiPlex-9020:03996] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7fcf7703ecb0]
[
velan-OptiPlex-9020:03996] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fcf7703ec37]
[
velan-OptiPlex-9020:03996] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7fcf7703ecb0]
[
velan-OptiPlex-9020:03996] [ 3] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5FieldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h+0xb6) [0x7fcf78211976]
[
velan-OptiPlex-9020:03996] [ 4] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0xe81) [0x7fcf78215ed1]
[
velan-OptiPlex-9020:03996] [ 5] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5FieldIdEERKS2_h+0x48b) [0x7fcf782179ab]
[
velan-OptiPlex-9020:03996] [ 6] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11e) [0x7fcf7b0e0afe]
[
velan-OptiPlex-9020:03996] [ 7pimpleDyMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x108) [0x466888]
[
velan-OptiPlex-9020:03996] [ 8pimpleDyMFoam() [0x425ce9]
[
velan-OptiPlex-9020:03996] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fcf77029f45]
[
velan-OptiPlex-9020:03996] [10pimpleDyMFoam() [0x4273a7]
[
velan-OptiPlex-9020:03996] *** End of error message ***
 
at ??:?
[
2#9  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[2#10  ? at ??:?
[velan-OptiPlex-9020:03995] *** Process received signal ***
[
velan-OptiPlex-9020:03995SignalFloating point exception (8)
[
velan-OptiPlex-9020:03995Signal code:  (-6)
[
velan-OptiPlex-9020:03995Failing at address0x3e800000f9b
[velan-OptiPlex-9020:03995] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7fe0d3628cb0]
[
velan-OptiPlex-9020:03995] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fe0d3628c37]
[
velan-OptiPlex-9020:03995] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7fe0d3628cb0]
[
velan-OptiPlex-9020:03995] [ 3] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5FieldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h+0xb6) [0x7fe0d47fb976]
[
velan-OptiPlex-9020:03995] [ 4] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0xe81) [0x7fe0d47ffed1]
[
velan-OptiPlex-9020:03995] [ 5] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5FieldIdEERKS2_h+0x48b) [0x7fe0d48019ab]
[
velan-OptiPlex-9020:03995] [ 6] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11e) [0x7fe0d76caafe]
[
velan-OptiPlex-9020:03995] [ 7pimpleDyMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x108) [0x466888]
[
velan-OptiPlex-9020:03995] [ 8pimpleDyMFoam() [0x425ce9]
[
velan-OptiPlex-9020:03995] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fe0d3613f45]
[
velan-OptiPlex-9020:03995] [10pimpleDyMFoam() [0x4273a7]
[
velan-OptiPlex-9020:03995] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 3996 on node velan-OptiPlex-9020 exited on signal 8 (Floating point exception).
-------------------------------------------------------------------------- 

Last edited by crusen mind; August 17, 2016 at 00:27.
crusen mind is offline   Reply With Quote

Old   August 17, 2016, 01:12
Default
  #8
Member
 
alex
Join Date: Feb 2016
Location: chennai
Posts: 48
Rep Power: 10
crusen mind is on a distinguished road
when i dont supply velocity at inlet my simulation is running
crusen mind is offline   Reply With Quote

Reply

Tags
continuity error, openfoam 2.1


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
Continuity error cannot be removed by adjusting the outflow fontania OpenFOAM Running, Solving & CFD 1 October 9, 2012 10:36
simpleFoam airfoil2d Continuity error cannot be removed junkie71189 OpenFOAM Running, Solving & CFD 3 August 9, 2012 13:58
PISO nCorrectors and fatal error jdkummer OpenFOAM Running, Solving & CFD 10 May 30, 2011 16:55
MRFInterFoam: Trouble with direction of gravity / Continuity error cannot be removed bengt OpenFOAM Running, Solving & CFD 2 May 28, 2010 14:45
sloshingTank2D3DoF: "Continuity error cannot be removed by adjusting the outflow." juergenstarck OpenFOAM Running, Solving & CFD 3 May 17, 2009 04:01


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