functionObjects::totalEnthalpy: New functionObject to calculate, cache and write the total enthalpy

The total enthalpy is calculated as

    Ha = ha + K

where

    ha is absolute enthalpy
    K is the kinetic energy: 1/2*magSqr(U)

The total enthalpy or a particular phase can be calculated by specifying the
optional "phase" name, e.g.

    #includeFunc totalEnthalpy(phase = liquid)
This commit is contained in:
Henry Weller
2020-02-27 16:12:00 +00:00
parent 670b158f17
commit b49b1a2c37
4 changed files with 250 additions and 0 deletions

View File

@ -48,6 +48,7 @@ blendingFactor/blendingFactor.C
pressure/pressure.C
MachNo/MachNo.C
shearStress/shearStress.C
totalEnthalpy/totalEnthalpy.C
turbulenceFields/turbulenceFields.C
yPlus/yPlus.C