/*--------------------------------*- C++ -*----------------------------------*\
  ==  == ====== ====   ====    |
                    \\     ||  | Multiphase Cases Repository by HZDR
  ======   //   ||  || ===//   | Website: https://doi.org/10.14278/rodare.811
  ||  ||  //    ||  // || \\   | License: Creative Commons Attribution 4.0
  ==  == ====== ====   ==  ==  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
    default         Euler;
}

gradSchemes
{
    default         Gauss linear;
    limited         cellLimited Gauss linear 1;
}

// Settings according to recommendation in
// https://github.com/OpenFOAM/OpenFOAM-dev/commit/7b3631bc53c96bc2922439e1398743f7882b570a

divSchemes
{
    default         none;

    "div\(phi,alpha.*\)"                Gauss vanLeer;
    "div\(alphaRhoPhi.*,U.*\)"          Gauss phaseStabilised linearUpwindV limited;
    "div\(phi.*,U.*\)"                  Gauss phaseStabilised linearUpwindV limited;
    "div\(alphaRhoPhi.*,(k|omega).*\)"  Gauss limitedLinear 1;
    "div\(alphaPhi,f.*\)"               Gauss limitedLinear 1;
}

laplacianSchemes
{
    default         Gauss linear limited corrected 0.33;

    phaseStabilised Gauss linear phaseStabilised limited corrected 0.33;

    laplacian(((alpha.air*rho.air)*nuEff.air),U.air)         $phaseStabilised;
    laplacian(((alpha.water*rho.water)*nuEff.water),U.water) $phaseStabilised;

    laplacian((alpha.air*alphaEff),h.air)                           $phaseStabilised;
    laplacian((alpha.water*alphaEff),e.water)                       $phaseStabilised;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}

wallDist
{
    method          Poisson;
    nRequired       yes;
}

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