[Matlab] Switch PureFluids to use liquidvapor xml file
This commit is contained in:
parent
0703770638
commit
9977fd6f49
6 changed files with 8 additions and 8 deletions
|
|
@ -30,12 +30,12 @@ function s = GRI30(tr)
|
|||
%
|
||||
|
||||
if nargin == 0
|
||||
s = Solution('gri30.cti', 'gri30');
|
||||
s = Solution('gri30.xml', 'gri30');
|
||||
elseif nargin == 1
|
||||
if strcmp(tr, 'Mix')
|
||||
s = Solution('gri30.cti', 'gri30_mix');
|
||||
s = Solution('gri30.xml', 'gri30_mix');
|
||||
elseif strcmp(tr, 'Multi')
|
||||
s = Solution('gri30.cti', 'gri30_multi');
|
||||
s = Solution('gri30.xml', 'gri30_multi');
|
||||
else
|
||||
error('Unknown transport specified. "Mix" or "Multi" are supported.')
|
||||
end
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@ function h = Hydrogen()
|
|||
% Instance of class :mat:func:`Solution`
|
||||
%
|
||||
|
||||
h = Solution('liquidvapor.cti', 'hydrogen');
|
||||
h = Solution('liquidvapor.xml', 'hydrogen');
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ function m = Methane()
|
|||
% Instance of class :mat:func:`Solution`
|
||||
%
|
||||
|
||||
m = Solution('liquidvapor.cti', 'methane');
|
||||
m = Solution('liquidvapor.xml', 'methane');
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ function n = Nitrogen()
|
|||
% Instance of class :mat:func:`Solution`
|
||||
%
|
||||
|
||||
n = Solution('liquidvapor.cti', 'nitrogen');
|
||||
n = Solution('liquidvapor.xml', 'nitrogen');
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ function o = Oxygen()
|
|||
% Instance of class :mat:func:`Solution`
|
||||
%
|
||||
|
||||
o = Solution('liquidvapor.cti', 'oxygen');
|
||||
o = Solution('liquidvapor.xml', 'oxygen');
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@ function w = Water()
|
|||
% Instance of class :mat:func:`Solution`
|
||||
%
|
||||
|
||||
w = Solution('liquidvapor.cti', 'water');
|
||||
w = Solution('liquidvapor.xml', 'water');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue