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

PIMPLE
{
    nOuterCorrectors            2;
    nCorrectors                 2;
    nNonOrthogonalCorrectors    1;
}

solvers
{
    rho
    {
        solver          diagonal;
    }
    rhoFinal
    {
        $rho;
    }
    "(p|p_rgh)"
    {
        solver                  GAMG;
        smoother                GaussSeidel;
        relTol                  0.01;
        tolerance               1e-8;
        maxIter                 50;
    }
    "(p|p_rgh)Final"
    {
        $p;
        relTol                  0;
        tolerance               1e-8;
    }
    Phi
    {
        $p;
        relTol                  0;
        tolerance               1e-6;
    }
    "(U|T|e|h|nuTilda|k|omega|epsilon)"
    {
        solver                  smoothSolver;
        smoother                GaussSeidel;
        relTol                  0.1;
        tolerance               1e-8;
        nSweeps                 1;
        maxIter                 20;
    }
    "(U|T|e|h|nuTilda|k|omega|epsilon)Final"
    {
        $U;
        relTol                  0;
        tolerance               1e-8;
    }
}

relaxationFactors
{
    fields
    {
        rho                     1.0;
    }
    equations
    {
        "(U|T|e|h|nuTilda|k|epsilon|omega)" 1.0;
    }
}

potentialFlow
{
    nNonOrthogonalCorrectors    20;
}


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