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

solvers
{
    p
    {
        solver                GAMG;
        smoother              twoStageGaussSeidel;
        tolerance             1e-7;
        relTol                0.026;
        nCellsInCoarsestLevel 170000;

        interpolateCorrection no;
        nFinestSweeps         2;
        nPreSweeps            0;
        nPostSweeps           1;

        coarsestLevelCorr
        {
            solver            PCG;
            preconditioner    aDIC;
            tolerance         1e-7;
            relTol            0.026;
            maxIter           15;
        }
    }

    Phi
    {
        $p;
    }

    U
    {
        solver          smoothSolver;
        smoother        twoStageGaussSeidel;
        tolerance       1e-8;
        relTol          0.1;
        nSweeps         1;
    }

    k
    {
        solver          smoothSolver;
        smoother        twoStageGaussSeidel;
        tolerance       1e-8;
        relTol          0.1;
        nSweeps         1;
    }

    omega
    {
        solver          smoothSolver;
        smoother        twoStageGaussSeidel;
        tolerance       1e-8;
        relTol          0.1;
        nSweeps         1;
    }
}

SIMPLE
{
    nNonOrthogonalCorrectors 0;
    consistent yes;
}

potentialFlow
{
    nNonOrthogonalCorrectors 10;
}

relaxationFactors
{
    equations
    {
        U               0.9;
        k               0.6;
        omega           0.6;
    }
}

cache
{
    grad(U);
}

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