diff --git a/interfaces/matlab/toolbox/CarbonDioxide.m b/interfaces/matlab/toolbox/CarbonDioxide.m new file mode 100644 index 000000000..c54ae1f7d --- /dev/null +++ b/interfaces/matlab/toolbox/CarbonDioxide.m @@ -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'); diff --git a/interfaces/matlab/toolbox/HFC134a.m b/interfaces/matlab/toolbox/HFC134a.m new file mode 100644 index 000000000..6d8bd7fb9 --- /dev/null +++ b/interfaces/matlab/toolbox/HFC134a.m @@ -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'); diff --git a/interfaces/matlab/toolbox/Heptane.m b/interfaces/matlab/toolbox/Heptane.m new file mode 100644 index 000000000..e109bc489 --- /dev/null +++ b/interfaces/matlab/toolbox/Heptane.m @@ -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');