|
Calling Sequence
|
|
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)
|
|
Parameters
|
|
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
|
-
|
(optional) literal keyword option
|
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
|
-
|
(optional) literal keyword option
|
|
|
|
|
Description
|
|
•
|
The Property command can be used to find all information available through the ThermophysicalData package. It calls one of the following commands:
|
|
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.
|
|
|
Examples
|
|
We compute a value from the CoolProp subpackage.
We compute a value from the Chemicals subpackage.
We compute a few values using whichever subpackage is appropriate.
We compute some more values using whichever subpackage is appropriate, now requesting extra information to be printed through the use of the infolevel setting.
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
| |
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
| |
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
| |
|
|
Compatibility
|
|
•
|
The ThermophysicalData[Property] command was introduced in Maple 2016.
|
•
|
The quantity and species parameters were introduced in Maple 2018.
|
•
|
The ThermophysicalData[Property] command was updated in Maple 2021.
|
•
|
The propertytype and altitude parameters were introduced in Maple 2021.
|
|
|
|