5 lines
189 B
Matlab
5 lines
189 B
Matlab
function v = vaporFraction(a)
|
|
% VAPORFRACTION - Vapor fraction.
|
|
% If object 'a' represents a liquid/vapor mixture, this method
|
|
% returns the vapor fraction.
|
|
v = thermo_get(a.tp_id,22);
|