|
[Sponsors] |
April 20, 2021, 11:11 |
Continuty error
|
#1 |
New Member
Marcelo Ruiz
Join Date: Feb 2021
Location: Italy
Posts: 17
Rep Power: 5 |
Hello guys I am new in OpenFOAM, and I am giving my first steps on it. I am facing this problem:
--> 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.000171961 Specified mass inflow : 0.0002 Specified mass outflow : 0 Adjustable mass outflow : 1.3242e-165 My p and U files are Code:
------------------------------- C++ -----------------------------------\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \---------------------------------------------------------------------------/ FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type fixedValue; value uniform (0.054 0 0); } outlet { type zeroGradient; } wall { type fixedValue; value uniform (0 0 0); } obstacles { type fixedValue; value uniform (0 0 0); } frontAndBack { type empty; } } // ************************* // Code:
/--------------------------------- C++ -----------------------------------\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \---------------------------------------------------------------------------/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type zeroGradient; } outlet { type zeroGradient; value uniform 0; } wall { type zeroGradient; } obstacles { type zeroGradient; } frontAndBack { type empty; } } // ************************* // Thank you |
|
April 21, 2021, 15:35 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
For incompressible inflow/outflow cases, it is common to fix the pressure at one patch (e.g., the outlet) and the velocity at the other (e.g., the inlet). It looks like you fix the velocity at the inlet, so pressure should be fixed at the outlet. At the moment it looks like pressure is zeroGradient at the inlet and outlet -- try making the outlet a fixedValue (value of zero).
Caelan
__________________
Public git repository : https://github.com/clapointe2011/public |
|
October 25, 2021, 12:09 |
|
#3 | |
New Member
Marcelo Ruiz
Join Date: Feb 2021
Location: Italy
Posts: 17
Rep Power: 5 |
Quote:
Thanks for the Help!!! It was very Useful |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 09:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 18:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 09:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |