/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    p_rgh
    {
        solver          PCG;
        preconditioner
        {
            preconditioner          GAMG;
            smoother                DIC;
            nPreSweeps              0;
            nPostSweeps             2;
            nFinestSweeps           2;
            cacheAgglomeration      true;
            nCellsInCoarsestLevel   10;
            agglomerator            faceAreaPair;
            mergeLevels             1;
        }
        tolerance        1e-07;
        relTol           1e-03;
        minIter          1;
        maxIter          20;
    }

    p_rghFinal
    {
        $p_rgh
        minIter          0;
        relTol           0;
        tolerance        1e-08;
    }

    "rho.*"
    {
        solver          PCG;
        preconditioner  DIC;
        tolerance       0;
        relTol          0;
    }

    U
    {
        solver              PBiCG;
        preconditioner      DILU;
        tolerance           1.e-10;
        relTol              0.001;
    }
    UFinal
    {
        $U;
        relTol              0;
    }
    h
    {
        solver           PBiCG;
        preconditioner   DILU;
        tolerance        1.e-09;
        relTol           0.01;
        minIter          0;
        maxIter          0;
    }
    hFinal
    {
        $h;
    }

}

PIMPLE
{
    momentumPredictor   no;
    nOuterCorrectors    1;
    nCorrectors         2;
    nNonOrthogonalCorrectors 1;


    outerCorrectorResidualControl
    {
        p_rgh
        {
            tolerance 0.002;
            relTol 0;
        }
    }

    pRefCell    0;
    pRefValue   0;

    pMin      1.5e7;
    pMax      3.2754e7;

}

relaxationFactors
{
    fields
    {
        beta            0.5;
        betaFinal       0.5;
        p_rgh           1;
        p_rghFinal      1;
        U               0.5;
        UFinal          1;
        "rho.*"         1;
    }
    equations
    {
    }
}


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