[Matlab] Add missing PureFluid constructors for fluids defined in liquidvapor.xml

This commit is contained in:
Bryan W. Weber 2015-12-26 14:54:37 -05:00
parent cf49649dd8
commit ee9d5750a3
3 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,20 @@
function c = CarbonDioxide()
% CARBONDIOXIDE Return an object representing carbon dioxide.
% c = CarbonDioxide
% The object returned by this method implements an accurate equation of
% state for carbon dioxide 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::CarbonDioxide in the
% Cantera C++ source code documentation.
%
% :return:
% Instance of class :mat:func:`Solution`
%
c = Solution('liquidvapor.xml', 'carbondioxide');

View file

@ -0,0 +1,21 @@
function h = HFC134a()
% HFC134A Return an object representing refrigerant HFC134a.
% h = HFC134a()
% The object returned by this method implements an accurate equation of
% state for refrigerant HFC134a (R134a) that can be used in the liquid,
% vapor, saturated liquid/vapor, and supercritical regions of the phase
% diagram. Implements the equation of state given in:
% R. Tillner-Roth and H.D. Baehr. "An International Standard Formulation for
% The Thermodynamic Properties of 1,1,1,2-Tetrafluoroethane (HFC-134a) for
% Temperatures From 170 K to 455 K and Pressures up to 70 MPa". J. Phys.
% Chem. Ref. Data, Vol. 23, No. 5, 1994. pp. 657--729.
% http://dx.doi.org/10.1063/1.555958
%
% For more details, see classes Cantera::PureFluid and tpx::HFC134a in the
% Cantera C++ source code documentation.
%
% :return:
% Instance of class :mat:func:`Solution`
%
h = Solution('liquidvapor.xml', 'hfc134a');

View file

@ -0,0 +1,20 @@
function h = Heptane()
% HEPTANE Return an object representing n-heptane.
% h = Heptane()
% The object returned by this method implements an accurate equation of
% state for n-heptane 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::Heptane in the
% Cantera C++ source code documentation.
%
% :return:
% Instance of class :mat:func:`Solution`
%
h = Solution('liquidvapor.xml', 'heptane');