cantera/interfaces/matlab/toolbox/@ThermoPhase/enthalpy_mole.m
2016-10-04 11:34:04 -04:00

11 lines
336 B
Matlab

function v = enthalpy_mole(tp)
% ENTHALPY_MOLE Get the mole specific enthalpy.
% v = enthalpy_mole(tp)
% :param tp:
% Instance of class :mat:func:`ThermoPhase` (or another
% object that derives from ThermoPhase)
% :return:
% Vector of molar specific enthalpies of the species. Units: J/kmol
%
v = thermo_get(tp.tp_id, 2);