ThermophysicalData[CoolProp]
PhaseSI
access CoolProp phase data in string form
Calling Sequence
Parameters
Description
Examples
References
Compatibility
PhaseSI(input1, value1, input2, value2, fluid)
input1, input2
-
symbol or string giving the input quantities
value1, value2
real numbers for the input quantities, optionally with unit
fluid
symbol or string representing the medium
The PhaseSI function interrogates the CoolProp library for phase information. The CoolProp library really only deals with fluid phases; it knows when a fluid transitions between liquid and gas, for example, but not when it transitions between liquid and solid.
This is the same information as returned by the PropsSI command for the output Phase, but the PropsSI command returns this as a numerical constant, whereas PhaseSI returns it as a string.
The entries in the Quantity and Maple-specific aliases columns of the following table can be used for input1 and input2. Only some combinations of these inputs will work. For input1 and input2, the quantities can be entered as strings or symbols. If a variable with the same name is already in use, it is best to use a string or to use unevaluation quotes to prevent evaluation of the variable name. In almost all circumstances, you can use either one of the names used by the CoolProp library, or an alias defined by the Maple package.
For value1 and value2, you should use real constants. Optionally, you can affix a unit to the value you give; the default unit for any quantity is given in the Unit column of the following table.
Quantity
Maple-specific aliases
Unit
DELTA, Delta
reduced_density, reduceddensity
Reduced density (rho/rhoc)
DMOLAR, Dmolar
molar_density, molardensity
mol/m^3
Molar density
D, DMASS, Dmass
density, mass_density, massdensity
kg/m^3
Mass density
HMOLAR, Hmolar
molar_specific_enthalpy, molarspecificenthalpy
J/mol
Molar specific enthalpy
H, HMASS, Hmass
enthalpy, mass_specific_enthalpy, massspecificenthalpy
J/kg
Mass specific enthalpy
P
pressure
Pa
Pressure
Q
mass_vapor_quality, mass_vapour_quality, massvaporquality, massvapourquality, vapor_quality, vaporquality, vapour_quality, vapourquality
Mass vapor quality
SMOLAR, Smolar
molar_specific_entropy, molarspecificentropy
J/mol/K
Molar specific entropy
S, SMASS, Smass
entropy, mass_specific_entropy, massspecificentropy
J/kg/K
Mass specific entropy
TAU, Tau
reciprocal_reduced_temperature, reciprocalreducedtemperature
Reciprocal reduced temperature (Tc/T)
T
temperature
K
Temperature
UMOLAR, Umolar
molar_specific_internal_energy, molarspecificinternalenergy
Molar specific internal energy
U, UMASS, Umass
internal_energy, internalenergy, mass_specific_internal_energy, massspecificinternalenergy
Mass specific internal energy
with⁡ThermophysicalData
Atmosphere,Chemicals,CoolProp,PHTChart,Property,PsychrometricChart,TemperatureEntropyChart
with⁡CoolProp
HAPropsSI,PhaseSI,Property,Props1SI,PropsSI
Determine the phase of water at 1 atmosphere and two different temperatures: 373 kelvin and 374 kelvin.
PhaseSI⁡P,101325,T,373,Water
liquid
PhaseSI⁡P,101325,T,374,Water
gas
Bell, Ian H.; Wronski, Jorrit; Quoilin, Sylvain; and Lemort, Vincent. Pure and Pseudo-pure Fluid Thermophysical Property Evaluation and the Open-Source Thermophysical Property Library CoolProp. Industrial & Engineering Chemistry Research, Vol. 53 No. 6 (2014): 2498-2508; http://www.coolprop.org/.
The ThermophysicalData[CoolProp][PhaseSI] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
ThermophysicalData
ThermophysicalData/fluids
Download Help Document