CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   InterFoam generating stack trace (https://www.cfd-online.com/Forums/openfoam/245918-interfoam-generating-stack-trace.html)

d3co November 2, 2022 13:42

InterFoam generating stack trace
 
2 Attachment(s)
Hello,
trying to do a case where flow is going through 3 inlets of a 2.5D geometry
When i run interFoam, the case goes till time 145.052 and stop running with back trace error.
Can anyone help me with this issue. Any suggestion will be aprecciated.
Thank you.


fvScheme

Code:

ddtSchemes
{
    default        Euler;
}

gradSchemes
{
    default        Gauss linear;
}

divSchemes
{
    div(rhoPhi,U)  Gauss linearUpwind grad(U);
    div(phi,alpha)  Gauss vanLeer;
    div(phirb,alpha) Gauss linear;
    div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
    default        Gauss linear corrected;
}

interpolationSchemes
{
    default        linear;
}

snGradSchemes
{
    default        corrected;
}

fvSolution
Code:

solvers
{
    "alpha.water.*"
    {
        nAlphaCorr      2;
        nAlphaSubCycles 1;
        cAlpha          1.5;

        MULESCorr      yes;
        nLimiterIter    3;

        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance      1e-8;
        relTol          0;
    }

    pcorr
    {
        solver          PCG;
        preconditioner  DIC;
        tolerance      1e-5;
        relTol          0;
    }

    pcorrFinal
    {
        solver          PCG;
        preconditioner  DIC;
        tolerance      1e-5;
        relTol          0;
    }

    p_rgh
    {
        solver          PCG;
        preconditioner  DIC;
        tolerance      1e-08;
        relTol          0.05;
    }

    p_rghFinal
    {
        $p_rgh;
        relTol          0;
    }

    U
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance      1e-08;
        relTol          0;
    }
}

PIMPLE
{
    momentumPredictor  no;//solve Navier-Stokes equations explicitly
    nOuterCorrectors    1;//number of outer correctors
    nCorrectors        3;//number of pressure - velocity coupling iterations
    nNonOrthogonalCorrectors 0;//number of pressure iterations
}

relaxationFactors
{
    equations
    {
        ".*" 1;//no under-relaxation in this case
    }
}



All times are GMT -4. The time now is 04:36.