Virtual-iCFD |
August 5, 2019 23:32 |
pisoFOAM not converged
Hi Foamers,
I attempt to solve transient laminar flow with pimplefoam.
During the simulation, the solver says not converged after 5 iterations (see below message).
I am wondering if something i set wrong (tolerance, relTol, etc..)
Below are my fvSolution and fvSchemes files.
HTML Code:
Courant Number mean: 0 max: 0
deltaT = 1e-06
Time = 1e-06
PIMPLE: iteration 1
GAMG: Solving for p, Initial residual = 1, Final residual = 0.00596631, No Iterations 1
GAMG: Solving for p, Initial residual = 0.00898104, Final residual = 7.7366e-05, No Iterations 11
time step continuity errors : sum local = 2.89319e-06, global = 2.036e-08, cumulative = 2.036e-08
GAMG: Solving for p, Initial residual = 0.53187, Final residual = 0.00265644, No Iterations 2
GAMG: Solving for p, Initial residual = 0.0064018, Final residual = 7.237e-07, No Iterations 40
time step continuity errors : sum local = 2.73227e-08, global = 1.78046e-09, cumulative = 2.21404e-08
PIMPLE: iteration 2
GAMG: Solving for p, Initial residual = 0.539447, Final residual = 0.00538843, No Iterations 2
GAMG: Solving for p, Initial residual = 0.00812699, Final residual = 6.43329e-05, No Iterations 13
time step continuity errors : sum local = 2.50622e-06, global = 1.0398e-07, cumulative = 1.2612e-07
GAMG: Solving for p, Initial residual = 0.318756, Final residual = 0.00307184, No Iterations 2
GAMG: Solving for p, Initial residual = 0.0055863, Final residual = 6.78875e-07, No Iterations 47
time step continuity errors : sum local = 2.63915e-08, global = -2.57425e-10, cumulative = 1.25863e-07
PIMPLE: iteration 3
GAMG: Solving for p, Initial residual = 0.314438, Final residual = 0.00192229, No Iterations 3
GAMG: Solving for p, Initial residual = 0.00504608, Final residual = 4.54241e-05, No Iterations 14
time step continuity errors : sum local = 1.73605e-06, global = 1.91983e-08, cumulative = 1.45061e-07
GAMG: Solving for p, Initial residual = 0.197118, Final residual = 0.00105657, No Iterations 3
GAMG: Solving for p, Initial residual = 0.00334511, Final residual = 8.51928e-07, No Iterations 53
time step continuity errors : sum local = 3.24481e-08, global = 2.8933e-09, cumulative = 1.47954e-07
PIMPLE: iteration 4
GAMG: Solving for p, Initial residual = 0.192587, Final residual = 0.00101836, No Iterations 3
GAMG: Solving for p, Initial residual = 0.00324218, Final residual = 2.77573e-05, No Iterations 13
time step continuity errors : sum local = 1.04059e-06, global = 3.65136e-08, cumulative = 1.84468e-07
GAMG: Solving for p, Initial residual = 0.12529, Final residual = 0.000974064, No Iterations 2
GAMG: Solving for p, Initial residual = 0.00237622, Final residual = 8.42289e-07, No Iterations 30
time step continuity errors : sum local = 3.14838e-08, global = 1.31643e-09, cumulative = 1.85784e-07
PIMPLE: iteration 5
GAMG: Solving for p, Initial residual = 0.124905, Final residual = 0.000884491, No Iterations 2
GAMG: Solving for p, Initial residual = 0.0020957, Final residual = 2.03358e-05, No Iterations 16
time step continuity errors : sum local = 8.2739e-07, global = 5.32205e-08, cumulative = 2.39005e-07
GAMG: Solving for p, Initial residual = 0.00243198, Final residual = 1.79189e-05, No Iterations 13
GAMG: Solving for p, Initial residual = 0.000253813, Final residual = 8.22938e-07, No Iterations 20
time step continuity errors : sum local = 3.32897e-08, global = 1.18679e-09, cumulative = 2.40192e-07
PIMPLE: not converged within 5 iterations
HTML Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p
{
solver GAMG;
tolerance 1e-06;
relTol 0.01;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
{
solver GAMG;
tolerance 1e-06;
relTol 0;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
"(U|k|epsilon)"
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-05;
relTol 0.1;
}
"(U|k|epsilon)Final"
{
$U;
tolerance 1e-05;
relTol 0;
}
}
PIMPLE
{
momentumPredictor no;
nOuterCorrectors 5;
nCorrectors 2;
nNonOrthogonalCorrectors 1;
pRefCell 0;
pRefValue 0;
residualControl
{
"(U)"
{
tolerance 1e-3;
relTol 0;
}
p
{
tolerance 1e-3;
relTol 0;
}
}
}
relaxationFactors
{
fields
{
p 0.3;
}
equations
{
"(U|k|epsilon)" 0.9;
"(U|K|epsilon)Final" 1;
}
}
// ************************************************************************* //
HTML Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
gradSchemes
{
default Gauss linear;
}
divSchemes
{
default none;
div(phi,U) Gauss limitedLinearV 1;
div(phi,k) Gauss limitedLinear 1;
div(phi,epsilon) Gauss limitedLinear 1;
div(phi,R) Gauss limitedLinear 1;
div(R) Gauss linear;
div(phi,nuTilda) Gauss limitedLinear 1;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
{
default Gauss linear corrected;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default corrected;
}
// ************************************************************************* //
|