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.
47 lines
1.2 KiB
C++
47 lines
1.2 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 "constant";
|
|
object thermophysicalProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
thermoType
|
|
{
|
|
type heRhoThermo;
|
|
mixture reactingMixture;
|
|
transport polynomial;
|
|
thermo hPolynomial;
|
|
energy sensibleInternalEnergy;
|
|
equationOfState icoPolynomial;
|
|
specie specie;
|
|
}
|
|
|
|
chemistryReader foamChemistryReader;
|
|
|
|
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
|
|
|
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
|
|
|
inertSpecie air;
|
|
|
|
liquids
|
|
{
|
|
H2O;
|
|
}
|
|
|
|
solids
|
|
{}
|
|
|
|
|
|
// ************************************************************************* //
|