/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2112                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    cellDisplacement
    {
        solver          PCG;
        preconditioner  DIC;

        tolerance       1e-06;
        relTol          0;
        maxIter         100;
    }

    p
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-6;
        relTol          0.01;
    }

     pFinal
    {
        $p;
    }


    pcorr
    {
        $p;
        solver          PCG;
        preconditioner  DIC;
    }

    pcorrFinal
    {
        $pcorr;
        relTol          0;
    }

    yPsi
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-5;
        relTol          0.0;
    }

    "(U|k|omega|epsilon|gammaInt|ReThetat)"
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance       1e-6;
        relTol          0.01;
    }
    "(U|k|omega|epsilon|gammaInt|ReThetat)Final"
    {
        $U;
        tolerance       1e-6;
        relTol          0;
    }
}

PIMPLE
{
    momentumPredictor   no;
    correctPhi          no;
    nOuterCorrectors    4;
    nCorrectors         2;
    nNonOrthogonalCorrectors 0;

    ddtCorr             false;

    pRefPoint           (0.0001 0.0001 0.001);
    pRefValue           0.0;

    residualControl
    {
        p               
        {
            tolerance   2e-3;
            relTol         0;
        }
        U               
        {
            tolerance   2e-4;
            relTol         0;
        }

        "(k|epsilon|omega|f|v2|ReThetat|gammaInt)" 
        {
            tolerance   1e-4;
            relTol         0;
        } 
    }
}

relaxationFactors
{
    fields
    {
        p               0.3;
        pFinal		  1; 
    }
    equations
    {
        U               0.3;
        k               0.3;
        omega           0.3;
        epsilon         0.7;
        ReThetat        0.3;
        gammaInt        0.3;
        "(U|k|omega|epsilon|ReThetat|gammaInt)Final"      1;
    }
}

// ************************************************************************* //
