Contents - Index
HelmholtzFreeEnergy [J/kg, J/kmol, kJ/kg, kJ/kmol, Btu/lbm Btu/lbmol] returns the specific Helmholtz free energy of a specified substance. The Helmholtz free energy is defined as:
a = u - T*s
The value and units of the returned value depends on the Unit System setting. The exact form of the HelmholtzFreeEnergy function depends on the substance and independent variable(s) selected. Ideal gas substances and real substances will require two inputs. Substances in the NASA condensed matter database can accept two inputs but only temperature is required since the pressure x volume correction for enthalpy is not used for these substances, as discussed here.
The reference state upon which the value of enthalpy is based varies with the substance. However, all ideal gas substances (which have a chemical symbol name, e.g., N2, CO2, CH4) have enthalpy values corresponding to JANAF table references. The JANAF table reference for enthalpy is based on the elements having an enthalpy value of 0 at 298 K (537 R).
The list of property identifiers needed in the calling arguments and instructions are available in the Thermophysical Function help.
$UnitSystem SI C kPa mass
a_air=helmholtzfreeenergy(Air,T=25 [C], P=100 [kPa])
a_stm=helmholtzfreeenergy(Steam,T=100 [C],P=50 [kPa])