At the specie level: hs = sensible enthalpy ha = absolute (what was total) enthalpy es = sensibly internal energy ea = absolute (what was total) internal energy At top-level Rename total enthalpy h -> ha Rename sensible enthalpy hs -> h Combined h, hs, e and es thermo packages into a single structure. Thermo packages now provide "he" function which may return either enthalpy or internal energy, sensible or absolute according to the run-time selected form alphaEff now returns the effective diffusivity for the particular energy which the thermodynamics package is selected to solve for.
87 lines
2.4 KiB
C++
87 lines
2.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default Euler;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
grad(p) Gauss linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
|
|
div(phi,U) Gauss limitedLinearV 1;
|
|
div(phi,K) Gauss limitedLinear 1;
|
|
div(phid,p) Gauss limitedLinear 1;
|
|
div(phi,k) Gauss limitedLinear 1;
|
|
div(phi,epsilon) Gauss limitedLinear 1;
|
|
|
|
div(phiXi,Xi) Gauss limitedLinear 1;
|
|
div(phiSt,b) Gauss limitedLinear01 1;
|
|
|
|
div(phi,ft_b_ha_hau) Gauss multivariateSelection
|
|
{
|
|
ft limitedLinear01 1;
|
|
b limitedLinear01 1;
|
|
Xi limitedLinear 1;
|
|
ha limitedLinear 1;
|
|
hau limitedLinear 1;
|
|
};
|
|
|
|
div((Su*grad(b))) Gauss linear;
|
|
div((U+((Su*Xi)*grad(b)))) Gauss linear;
|
|
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
|
div(U) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default none;
|
|
laplacian(muEff,U) Gauss linear limited 0.333;
|
|
laplacian(DkEff,k) Gauss linear limited 0.333;
|
|
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
|
|
laplacian((rho*inv((((1)*A(U))+tDragDcu))),p) Gauss linear limited 0.333;
|
|
laplacian(Db,b) Gauss linear limited 0.333;
|
|
laplacian(Db,ft) Gauss linear limited 0.333;
|
|
laplacian(Db,ha) Gauss linear limited 0.333;
|
|
laplacian(Db,hau) Gauss linear limited 0.333;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default limited 0.333;
|
|
}
|
|
|
|
fluxRequired
|
|
{
|
|
default no;
|
|
p;
|
|
}
|
|
|
|
// ************************************************************************* //
|