db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
84 lines
2.3 KiB
C++
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;
|
|
}
|
|
|
|
// ************************************************************************* //
|