9 lines
289 B
Matlab
9 lines
289 B
Matlab
function setState_satVapor(tp)
|
|
% SETSTATE_SATVAPOR Set the fluid to the saturated vapor state at the current temperature.
|
|
% setState_satVapor(tp)
|
|
% :param tp:
|
|
% Instance of class :mat:func:`ThermoPhase` (or another
|
|
% class derived from ThermoPhase)
|
|
%
|
|
|
|
thermo_set(tp.tp_id, 3, 0);
|