/*--------------------------------*- 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-7;
        relTol           0.01;

        smoother         DICGaussSeidel;

    }

    pFinal
    {
        $p;
        relTol          0;
    }


    "pcorr.*"
    {
        solver          GAMG;
        smoother        DICGaussSeidel;
        tolerance       1e-06;
        relTol          0.1;
    }

    "(U|k|omega)"
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance       1e-5;
        relTol          0.1;
    }

    "(U|k|omega)Final"
    {
        $U;
        relTol          0;
    }
}

PIMPLE
{
    nNonOrthogonalCorrectors 3;
    nCorrectors         1;
    nOuterCorrectors    50;
   // consistent		yes;
   // turbOnFinalIterOnly  false; //to calculate turbulent properties each outer loop

    residualControl
    {
        //p               3e-6;
        p
        {
                tolerance  3e-6;
                relTol      0;
        }
        "U|k|omega"
        {
                tolerance  3e-5;
                relTol      0;
        }
    }
}
relaxationFactors
{
   fields
    {
        p      0.5;
        pFinal   1;
    }
    equations
    {
        U                     0.7;
        UFinal                1;
        "k|omega"         	  0.7;
        "(k|omega)Final"      1;
    }
}

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