/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.3                                   |
|   \\  /    A nd           | Web:      http://www.openfoam.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

// FoamX Case Dictionary.

FoamFile
{
    version         2.0;
    format          ascii;

    root            "/home/dm2/henry/OpenFOAM/OpenFOAM-1.0.3/tutorials/rhoTurbFoam";
    case            "cavity";
    instance        "system";
    local           "";

    class           dictionary;
    object          fvSchemes;
}

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

// Time derivative discretisation schemes
ddtSchemes
{
    // Default scheme
    default         Euler;
}

// Gradient discretisation schemes
gradSchemes
{
    // Default gradient scheme
    default         Gauss linear;
    grad(p)         Gauss linear;
}

// Convection discretisation schemes
divSchemes
{
    // Default scheme
    default         none;
    div(phi,U)      Gauss limitedLinearV 1;
    div(phid,p)     Gauss limitedLinear 1;
    div(phiU,p)     Gauss linear;
    div(phi,h)      Gauss limitedLinear 1;
    div(phi,k)      Gauss limitedLinear 1;
    div(phi,epsilon) Gauss limitedLinear 1;
    div(phi,R)      Gauss limitedLinear 1;
    div((rho*R))    Gauss linear;
    div(R)          Gauss linear;
    div(U)          Gauss linear;
    div((muEff*dev2(grad(U).T()))) Gauss linear;
}

// Laplacian discretisation schemes
laplacianSchemes
{
    // Default scheme
    default         none;
    laplacian(muEff,U) Gauss linear corrected;
    laplacian(mut,U) Gauss linear corrected;
    laplacian(DkEff,k) Gauss linear corrected;
    laplacian(DepsilonEff,epsilon) Gauss linear corrected;
    laplacian(DREff,R) Gauss linear corrected;
    laplacian((rho*1|A(U)),p) Gauss linear corrected;
    laplacian(alphaEff,h) Gauss linear corrected;
}

// Interpolation schemes
interpolationSchemes
{
    // Default scheme
    default         linear;
}

// Surface normal gradient schemes
snGradSchemes
{
    // Default scheme
    default         corrected;
}

// Calculation of flux
fluxRequired
{
    // Create storage for flux for all solved variables?
    default         no;
    p;
}


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