initial import
This commit is contained in:
parent
d0d77d1079
commit
b3a93657d0
2 changed files with 10 additions and 0 deletions
5
Cantera/matlab/cantera/@ThermoPhase/setState_Psat.m
Normal file
5
Cantera/matlab/cantera/@ThermoPhase/setState_Psat.m
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function a = setState_Psat(a,px)
|
||||
% SETSTATE_PSAT Set the fluid to a saturated state at
|
||||
% pressure P
|
||||
%
|
||||
thermo_set(a.tp_id,24,px);
|
||||
5
Cantera/matlab/cantera/@ThermoPhase/setState_Tsat.m
Normal file
5
Cantera/matlab/cantera/@ThermoPhase/setState_Tsat.m
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function a = setState_Tsat(a,tx)
|
||||
% SETSTATE_TSAT Set the fluid to a saturated state at
|
||||
% temperature t
|
||||
%
|
||||
thermo_set(a.tp_id,25,tx);
|
||||
Loading…
Add table
Reference in a new issue