cantera/interfaces/matlab/toolbox/@ThermoPhase/cp_mole.m

12 lines
361 B
Matlab

function v = cp_mole(tp)
% CP_MOLE Get the molar-basis specific heats at constant pressure.
% v = cp_mole(tp)
% :param tp:
% Instance of class :mat:func:`ThermoPhase` (or another
% object that derives from ThermoPhase)
% :return:
% Vector of specific heats of the species at
% constant pressure. Units: J/kmol-K
%
v = thermo_get(tp.tp_id, 6);