CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Numerical Schemes in Order of Accuracy (https://www.cfd-online.com/Forums/openfoam-solving/244406-numerical-schemes-order-accuracy.html)

Lucc August 6, 2022 03:44

Numerical Schemes in Order of Accuracy
 
Hello !

I'm looking for some information concerning the FvSchemes, where we define the numerical schemes used in the simulation. In my case i'm running the simpleFoam for a mesh of 145.859 tetrahedrical elements and the quality is acceptable. It would be very helpful for me some tips or even a guide around it's numerical schemes.

To simplify, i'd would like to know, ordering from the lesser to the most accurate numerical scheme used in simpleFoam and thus improve my results.

Thank you!

I'm currently using these on mine:
Code:

FoamFile
{
    format      ascii;
    class      dictionary;
    location    "system";
    object      fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
    default        steadyState;
}

gradSchemes
{
    default        Gauss linear;
}

divSchemes
{
    default        none;
    div(phi,U)      bounded Gauss upwind;
    div(phi,k)      bounded Gauss upwind;
    div(phi,epsilon) bounded Gauss upwind;
    div((nuEff*dev2(T(grad(U))))) Gauss linear;

    div(phi,age)    bounded Gauss upwind;
}


laplacianSchemes
{
    default        Gauss linear corrected;
}

interpolationSchemes
{
    default        linear;
}

snGradSchemes
{
    default        corrected;
}

wallDist
{
    method meshWave;
}


Krapf August 6, 2022 05:26

Take a look at the first part of module 6: https://figshare.com/articles/media/...ining/16783657


All times are GMT -4. The time now is 19:30.