ThermophysicalData
Property
access thermophysical data
Calling Sequence
Parameters
Description
Examples
Compatibility
Property(propertytype, altitude)
Property(propertytype, altitude, atmopts, source = Atmosphere)
Property(quantity, species)
Property(quantity, species, tempequation, chemopts, source = Chemicals)
Property(output, fluid, inputopts)
Property(output, inputopts, fluid)
Property(output, fluid, inputopts, cpopts, source = CoolProp)
Property(output, inputopts, fluid, cpopts, source = CoolProp)
propertytype
-
one of temperature, pressure, density, speedofsound, or viscosity
altitude
altitude above sea level
atmopts
(optional) one or more options of the form optionname=value where optionaname is temperatureoffset, altitudetype or useunits where optionname is model, temperatureoffset, altitudetype, or useunits as described in ThermophysicalData:-Atmosphere
source = Atmosphere
(optional) literal keyword option
quantity
symbol or string; desired output quantity
species
symbol or string; chemical species
tempequation
(optional) equation of the form temperature = value
chemopts
(optional) one or more options of the form useunits = truefalse or explicit = truefalse
source = Chemical
output
symbol or string for the desired output quantity
fluid
symbol or string representing the medium
inputopts
(optional) equations of the form quantity = value
cpopts
(optional) equation of the form useunits = truefalse
source = CoolProp
The Property command can be used to find all information available through the ThermophysicalData package. It calls one of the following commands:
ThermophysicalData[Chemicals][Property] to find data available through the ThermophysicalData[Chemicals] subpackage
ThermophysicalData[CoolProp][Property] to find data available through the ThermophysicalData[CoolProp] subpackage
ThermophysicalData[Atmosphere][Property] to find data available through the ThermophysicalData[Atmosphere] subpackage
Every calling sequence of these commands is supported.
If no source option is given, then Maple tries calling all three commands. If exactly one of the three commands returns without error, that value is returned; otherwise, an error is signaled.
In the case where no source option is given, one can obtain some information about the process of selecting a suitable source by setting the infolevel for ThermophysicalData to 2 or (for more verbose information) 3.
with⁡ThermophysicalData:
We compute a value from the CoolProp subpackage.
Property⁡density,Water,temperature=300⁢Unit⁡kelvin,pressure=101325⁢Unit⁡Pa,source=CoolProp
996.5569353⁢kgm3
We compute a value from the Chemicals subpackage.
Property⁡HeatOfFormation,SiHBr3,source=Chemicals,useunits
−302922.000⁢Jmol
We compute a few values using whichever subpackage is appropriate.
Property⁡density,Water,temperature=300⁢Unit⁡kelvin,pressure=101325⁢Unit⁡Pa
Property⁡HeatOfFormation,SiHBr3,useunits
We compute some more values using whichever subpackage is appropriate, now requesting extra information to be printed through the use of the infolevel setting.
infolevelThermophysicalData≔3:
Property⁡Cpmolar,He,temperature=300⁢Unit⁡kelvin,pressure=101325⁢Unit⁡Pa
Property: "using PropsSI backend" Property: received error (invalid input: too many and/or wrong type of arguments passed to ThermophysicalData:-Chemicals:-Property; first unused argument is pressure = 101325*Units:-Unit(Pa)), disqualifying the ThermophysicalData:-Chemicals subpackage Property: received error (invalid input: ThermophysicalData:-Atmosphere:-Property expects its 1st argument, property, to be of type identical(temperature,"temperature",pressure,"pressure",viscosity,"viscosity",density,"density",speedofsound,"speedofsound"), but received Cpmolar), disqualifying the ThermophysicalData:-Atmosphere subpackage Property: using the ThermophysicalData:-CoolProp subpackage
20.78629781⁢Jmol⁢K
Property⁡Cpmolar,He,temperature=300⁢Unit⁡kelvin
Property: "using PropsSI backend" Property: received error (if not using the HumidAir fluid, you need to specify either zero or two input equations), disqualifying the ThermophysicalData:-CoolProp subpackage Property: received error (invalid input: ThermophysicalData:-Atmosphere:-Property expects its 1st argument, property, to be of type identical(temperature,"temperature",pressure,"pressure",viscosity,"viscosity",density,"density",speedofsound,"speedofsound"), but received Cpmolar), disqualifying the ThermophysicalData:-Atmosphere subpackage Property: using the ThermophysicalData:-Chemicals subpackage
20.78627500⁢Jmol⁢K
Property⁡temperature,200⁢Unit⁡m
Property: received error (invalid input: ThermophysicalData:-CoolProp:-Property expects its 3rd argument, _fluid, to be of type {string, symbol}, but received 200*Units:-Unit(m)), disqualifying the ThermophysicalData:-CoolProp subpackage Property: received error (invalid input: ThermophysicalData:-Chemicals:-Property expects its 2nd argument, species, to be of type {name, string}, but received 200*Units:-Unit(m)), disqualifying the ThermophysicalData:-Chemicals subpackage Property: using the ThermophysicalData:-Atmosphere subpackage
286.8500⁢K
The ThermophysicalData[Property] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
The quantity and species parameters were introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
The ThermophysicalData[Property] command was updated in Maple 2021.
The propertytype and altitude parameters were introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
ThermophysicalData[Atmosphere]
ThermophysicalData[Atmosphere][Property]
ThermophysicalData[Chemicals]
ThermophysicalData[Chemicals][Property]
ThermophysicalData[CoolProp]
ThermophysicalData[CoolProp][Property]
Download Help Document