cantera/interfaces/matlab/toolbox/Water.m

20 lines
709 B
Matlab

function w = Water()
% WATER Return an object representing water.
% w = Water()
% The object returned by this method implements an accurate equation of
% state for water that can be used in the liquid, vapor, saturated
% liquid/vapor, and supercritical regions of the phase diagram. The
% equation of state is taken from
%
% Reynolds, W. C. *Thermodynamic Properties in SI: graphs, tables, and
% computational equations for forty substances.* Stanford: Stanford
% University, 1979. Print.
%
% For more details, see classes Cantera::PureFluid and tpx::water in the
% Cantera C++ source code documentation.
%
% :return:
% Instance of class :mat:func:`Solution`
%
w = Solution('liquidvapor.xml', 'water');