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

ddtSchemes
{
    default         Euler;
}

gradSchemes
{
    default         Gauss linear;
}

divSchemes
{
    div(rhoPhi,U)  Gauss linearUpwind grad(U);
    div(phi,alpha)  Gauss vanLeer;  
    div(phirb,alpha) Gauss upwind;
    div(laphir,dAlpha) Gauss upwind;
    div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
    // new schemes due to interSensFoam: 
    div(dPhi,alpha)  Gauss vanLeer;   //dAlphaEqn
    div(rhoPhi,dU)  Gauss linearUpwind grad(dU);   //dUEqn
    div(rhoDPhi,U)  Gauss linearUpwind grad(U);    //dUEqn
    div(rhoPhiplus,U)  Gauss linearUpwind grad(U);    //dUEqn
    div(rhoPhiminus,U)  Gauss linearUpwind grad(U);    //dUEqn
    div(rhoDPhiplus,U)  Gauss linearUpwind grad(U);    //dUEqn
    div(rhoDPhiminus,U)  Gauss linearUpwind grad(U);    //dUEqn
    div((interpolate(dAlpha)*phi),U)  Gauss linearUpwind grad(U);    //dUEqn
    div(((rho*nuEff)*dev2(T(grad(dU)))))  Gauss linear;
    div((muplus*dev2(T(grad(U))))) Gauss linear; //dUEqn
    div((muminus*dev2(T(grad(U))))) Gauss linear; //dUEqn
    div((alpha.water*dev2(T(grad(U)))))  Gauss linear;    //dUEqn
    div((dAlpha*dev2(T(grad(U)))))  Gauss linear;    //dUEqn
}

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}

fluxRequired   //new
{
    default         no;
}

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