/*--------------------------------*- C++ -*----------------------------------*\
  Ahmed body drag optimisation with DAFoam - cloudHPC tutorial
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSolution;
}
SIMPLE
{
    consistent              false;
    nNonOrthogonalCorrectors 0;
}
solvers
{
    "(p|p_rgh|G)"
    {
        solver      GAMG;
        smoother    GaussSeidel;
        relTol      0.1;
        tolerance   0;
    }
    Phi { $p; relTol 0; tolerance 1e-6; }
    "(U|nuTilda)"
    {
        solver      smoothSolver;
        smoother    GaussSeidel;
        relTol      0.1;
        tolerance   0;
        nSweeps     1;
    }
}
relaxationFactors
{
    fields    { p 0.3; }
    equations { "(U|nuTilda)" 0.7; }
}
potentialFlow { nNonOrthogonalCorrectors 20; }
