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

FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2020, 04:55
Default FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow
  #1
New Member
 
Join Date: Nov 2019
Posts: 2
Rep Power: 0
Roesch is on a distinguished road
I'm running a singlephase CFD-DEM-Simulation with openfoam coupled to liggghts.



It's the first time I'm trying to work with the coupld simulation.



I get the following error:



Quote:
Total # of neighbors = 31483
Ave neighs/atom = 3.25204
Neighbor list builds = 0
Dangerous builds = 0
LIGGGHTS finished
DICPCG: Solving for sSmoothField, Initial residual = 0.08496994, Final residual = 6.31568e-06, No Iterations 4
DICPCG: Solving for vSmoothFieldx, Initial residual = 5.387611e-06, Final residual = 5.387611e-06, No Iterations 0
DICPCG: Solving for vSmoothFieldy, Initial residual = 5.399834e-06, Final residual = 5.399834e-06, No Iterations 0
DICPCG: Solving for vSmoothFieldz, Initial residual = 6.051159e-06, Final residual = 6.051159e-06, No Iterations 0

timeStepFraction() = 1
DICPCG: Solving for vSmoothFieldx, Initial residual = 0.2320728, Final residual = 1.553256e-06, No Iterations 5
DICPCG: Solving for vSmoothFieldy, Initial residual = 0.2267464, Final residual = 1.473994e-06, No Iterations 5
DICPCG: Solving for vSmoothFieldz, Initial residual = 0.2813704, Final residual = 5.429863e-06, No Iterations 4
update Ksl.internalField()
TotalForceExp: (0 0 0)
TotalForceImp: (-0.2967192 -0.3316887 0.02308912)
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 7.638402e-05, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 7.389899e-05, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 5.334098e-05, No Iterations 1
[0] [1]
[1]
[1] --> FOAM FATAL ERROR:
[1] 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 : 5.038763e-05
Specified mass inflow : 3.771036e-06
Specified mass outflow : 1.605388e-06
Adjustable mass outflow : 1.478737e-35
[1]
[1]
[1] From function bool Foam::adjustPhi(Foam::surfaceScalarField&, const volVectorField&, Foam::volScalarField&)
[1] in file cfdTools/general/adjustPhi/adjustPhi.C at line 107.
[1]
FOAM parallel run exiting
So I understand there is something wrogn with my boundaries. But bc I'm trying to wokring with a singlephase simulation there are no topics available with this problem. My p and u boundaries are listed below:



Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
".*"
{
type fixedFluxPressure;
value uniform 0;
}


freesurface
{

type totalPressure;
p0 uniform 0;

}


}

// ************************************************** *********************** //
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ 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
{


".*"
{
//type fixedValue;
//value uniform (0 0 0);
type noSlip;
//type zeroGradient;
}


freesurface
{
type slip;
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object Us;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform (0 0 0);

boundaryField
{


".*"
{
type zeroGradient;
}

freesurface
{
type slip;
}

}
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 1;

boundaryField
{

".*"
{
type zeroGradient;
}

}
Thanks in advance for your help.



Regards


Oh and I'm using the PISO algorithm

Last edited by Roesch; February 20, 2020 at 04:56. Reason: forgetting things
Roesch is offline   Reply With Quote

Old   May 7, 2022, 09:34
Default sSmoothField
  #2
New Member
 
Abdo
Join Date: Jan 2022
Location: Canada
Posts: 4
Rep Power: 4
mabrouka is on a distinguished road
Hi there,
Could you please share the coupling properties and the FvSolution files ?
mabrouka is offline   Reply With Quote

Reply

Tags
cfd, cfd-dem coupling, coupling, single phase


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 10:35
Incompatible dimensions for operation ruben23 OpenFOAM Running, Solving & CFD 2 June 12, 2015 04:14
Continuity error cannot be removed by adjusting the outflow fontania OpenFOAM Running, Solving & CFD 1 October 9, 2012 10:36
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 21:48.