12 lines
342 B
Matlab
12 lines
342 B
Matlab
function v = gibbs_mass(tp)
|
|
% GIBBS_MASS Get the mass specific Gibbs function.
|
|
% v = gibbs_mass(tp)
|
|
% :param tp:
|
|
% Instance of class :mat:func:`ThermoPhase` (or another
|
|
% object that derives from ThermoPhase)
|
|
% :return:
|
|
% Vector of mass specific Gibbs functions of the species.
|
|
% Units: J/kg
|
|
%
|
|
|
|
v = thermo_get(tp.tp_id, 12);
|