|
[Sponsors] |
January 21, 2022, 19:34 |
Continuity error
|
#1 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
Hi, i´m simulating flow through a box with 2 vents containing 6 spheres, when i run the simulation it gives me error
simpleFoam case: https://www.dropbox.com/s/fm8jfw1txe...ndard.zip?dl=0 Code:
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 9 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 9-b456138dc4bc Exec : simpleFoam Date : Jan 21 2022 Time : 20:18:10 Host : "ifrit-virtual-machine" PID : 44771 I/O : uncollated Case : /home/ifrit/OpenFOAM/ifrit-9/run/box3circular17 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 SIMPLE: Convergence criteria found p: tolerance 0.0001 U: tolerance 0.0001 "(k|omega|epsilon)": tolerance 0.0001 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type RAS Selecting RAS turbulence model kOmegaSST Selecting patchDistMethod meshWave RAS { model kOmegaSST; turbulence on; printCoeffs on; alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; } No MRF models present No fvModels present No fvConstraints present Starting time loop Time = 1 smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0409039, No Iterations 2 smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0 smoothSolver: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0 --> 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 : 0.000277875 Specified mass inflow : 0.015675 Specified mass outflow : 0 Adjustable mass outflow : 8.36708e-28 From function bool Foam::adjustPhi(Foam::surfaceScalarField&, const volVectorField&, Foam::volScalarField&) in file cfdTools/general/adjustPhi/adjustPhi.C at line 107. FOAM exiting |
|
January 23, 2022, 10:59 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hi,
Have you checked your mesh? It seems you don't have any outlet patch in your mesh, I guess something went wrong while meshing. Yann |
|
January 23, 2022, 15:21 |
|
#3 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
I increased refinementSurfaces level to 2 and now it works, thank you.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |