FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    "alpha.*"
    {
        nAlphaSubCycles 4;
        cAlpha          2;
    }

    "pcorr.*"
    {
        solver          PCG;
        preconditioner
        {
            preconditioner  GAMG;
            tolerance       1e-05;
            relTol          0;
            smoother        GaussSeidel;
            nPreSweeps      0;
            nPostSweeps     2;
            nFinestSweeps   2;
            cacheAgglomeration off;
            nCellsInCoarsestLevel 10;
            agglomerator    faceAreaPair;
            mergeLevels     2;
        }
        tolerance       1e-05;
        relTol          0;
        maxIter         100;
    }

    p_rgh
    {
        solver           deflatedPCG;
        preconditioner	 DIC;
        tolerance        1e-7;
        relTol           0.01;

        smoother         GaussSeidel;

        cacheAgglomeration true;
        nCellsInCoarsestLevel 10;
        agglomerator     faceAreaPair;
        mergeLevels      1;

        maxIter          1000;
    }
    p_rghFinal
    {
        solver          deflatedPCG;
        preconditioner
        {
            preconditioner  GAMG;
            tolerance       1e-07;
            relTol          0;
            nVcycles        2;
            smoother        GaussSeidel;
            nPreSweeps      0;
            nPostSweeps     2;
            nFinestSweeps   2;
            cacheAgglomeration on;
            nCellsInCoarsestLevel 10;
            agglomerator    faceAreaPair;
            mergeLevels     1;
        }
        tolerance       1e-07;
        relTol          0;
        maxIter         200;
    }

    a 
    {
        solver          PCG;
        preconditioner
        {
            preconditioner  GAMG;
            tolerance       1e-07;
            relTol          0;
            nVcycles        2;
            smoother        GaussSeidel;
            nPreSweeps      0;
            nPostSweeps     2;
            nFinestSweeps   2;
            cacheAgglomeration on;
            nCellsInCoarsestLevel 10;
            agglomerator    faceAreaPair;
            mergeLevels     1;
        }   
        tolerance       1e-07;
        relTol          0;
        maxIter         1000;
    }
    aFinal
    {
        $a;
        tolerance        1e-7;
        relTol           0;
    }

    U
    {
        solver           PBiCG;
        preconditioner   DILU;
        tolerance        1e-7;
        relTol           0.1;
    }
    UFinal
    {
        $U;
        tolerance        1e-7;
        relTol           0;
    }

    Phi
    {
        solver           deflatedPCG;
        preconditioner   DIC;
        tolerance        1e-6;
        relTol           0.0;

        smoother         GaussSeidel;
        cacheAgglomeration true;
        nCellsInCoarsestLevel 100;
        agglomerator     faceAreaPair;
        mergeLevels      1;
        maxIter          1000;
    }
    PhiFinal
    {
        $Phi;
        tolerance        1e-7;
        relTol           0;
    }

}

PIMPLE
{
    nOuterCorrectors    20;
    nCorrectors      	1;
    nNonOrthogonalCorrectors 0;

    pRefCell 	0;
    pRefValue 	0;

    nAlphaSubCycles 4;
    cAlpha          2;

    residualControl
    {
        U
        {
                tolerance  1e-8;
                relTol      0;
        }
        p
        {
                tolerance  1e-6;
                relTol      0;
        }
    }
}

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