Changed liquid thermo from sensibleEnthalpy to sensibleInternalEnergy in tutorials. It is generally more convergent and stable to solve for internal energy if the fluid is incompressible or weakly compressible.
61 lines
1.3 KiB
C++
61 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default Euler;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
|
|
div(phi,U) Gauss upwind;
|
|
div(phid,p) Gauss upwind;
|
|
div(phi,K) Gauss upwind;
|
|
div(phiv,p) Gauss upwind;
|
|
div(phi,e) Gauss upwind;
|
|
div(phi,k) Gauss upwind;
|
|
div(phi,epsilon) Gauss upwind;
|
|
div(phi,omega) Gauss upwind;
|
|
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
|
div(phi,Yi_h) Gauss upwind;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear orthogonal;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default orthogonal;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|