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

solvers
{
    p
    {
        solver          GAMG;
        tolerance       1e-06;
        relTol          1e-04;
        smoother        GaussSeidel;
    }

    pFinal
    {
	$p;
	relTol 0;
    }

    "(rho|U|e|h|nuTilda|k|omega)"
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-08;
        relTol          1e-03;
	minIter         2;
    }

    "(rho|U|e|h|nuTilda|k|omega)Final"
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-08;
        relTol          0;
    }
}

PIMPLE
{
    nOuterCorrectors         2;
    nCorrectors              1;
    nNonOrthogonalCorrectors 1;
    consistent               yes;
    pRefValue                0.;
    pRefCell                 0;

    residualControl
    {
        p
        {
            tolerance 1e-5;
            relTol    0;
        }

        U
        {
            tolerance 1e-6;
            relTol    0;
        }

        "(k|omega|nuTilda)"
        {
            tolerance 1e-5;
            relTol    0;
        }

        "(e|h)"
        {
            tolerance 1e-5;
            relTol    0;
        }
    }
}

/*
solutionControl
{
 residualControl
    {
        p               1e-8;
        U               1e-8;
        nuTilda         1e-8;
        k               1e-8;
        omega           1e-8;
        e               1e-8;
        h               1e-8;
    }
}
*/

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