This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSchemes

84 lines
2.3 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
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 upwind;
div(phid,p) Gauss upwind;
div(phiU,p) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(U) Gauss linear;
div((muEff*dev2(grad(U).T()))) Gauss linear;
div(phi,Yi_h) Gauss upwind;
}
// Laplacian discretisation schemes
laplacianSchemes
{
// Default scheme
default Gauss linear corrected;
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;
}
// ************************************************************************* //