Skip to content
Snippets Groups Projects
Commit 46445d34 authored by bjorn-stevens's avatar bjorn-stevens
Browse files

added a function to calculate (moist) static energy

in the atmospheric sciences there are many different moist static
energies.  They differ due to the choice of reference enthalpies for
water phases, which are connected by the phase change enthalpies, and
thus have a single degree of freedom.  This we give to the reference
enthalpy (enthalpy at T0) for vapor.  The choice of hv0 matters because
not all reference quantities can be zero for all phases of water, and so
the choice influences how the reference quantity weights different water
phases.

the function has been defined in a rather expressive way to bring out
this property and make it possible to compute one or the other of the
moist static energies by choosing a different reference state for the
vapor enthalpy.
parent 5bbcc5e9
No related branches found
No related tags found
1 merge request!3restructured treatment of saturation vapor pressure
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment