/*--------------------------------*- 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;
            cacheAgglomeration    true;
            nCellsInCoarsestLevel 40;
            agglomerator          faceAreaPair;
            mergeLevels           1;
       }
       tolerance        1e-09;
       relTol           1e-04;
       minIter          1;
       maxIter          20;
    }

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

    "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;
    nCorrectors         2;
    nNonOrthogonalCorrectors 1;

    outerCorrectorResidualControl
    {
        p_rgh
        {
            tolerance 1e-5;
            relTol 0;
        }
    }

    pRefCell    0;
    pRefValue   0;

    pMin     1.5e7;
    pMax     3.2754e7;

}

relaxationFactors
{
    fields
    {
        p_rgh           0.9;
        p_rghFinal      1;
        U               0.4;
        UFinal          1;
    }
    equations
    {
    }
}


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