Property - Maple Help

ThermophysicalData

 Property
 access thermophysical data

 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:
 – 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.

Examples

 > $\mathrm{with}\left(\mathrm{ThermophysicalData}\right):$

We compute a value from the CoolProp subpackage.

 > $\mathrm{Property}\left(\mathrm{density},\mathrm{Water},\mathrm{temperature}=300\mathrm{Unit}\left(\mathrm{kelvin}\right),\mathrm{pressure}=101325\mathrm{Unit}\left(\mathrm{Pa}\right),\mathrm{source}=\mathrm{CoolProp}\right)$
 ${996.5569353}{}⟦\frac{{\mathrm{kg}}}{{{m}}^{{3}}}⟧$ (1)

We compute a value from the Chemicals subpackage.

 > $\mathrm{Property}\left(\mathrm{HeatOfFormation},\mathrm{SiHBr3},\mathrm{source}=\mathrm{Chemicals},\mathrm{useunits}\right)$
 ${-}{302922.000}{}⟦\frac{{J}}{{\mathrm{mol}}}⟧$ (2)

We compute a few values using whichever subpackage is appropriate.

 > $\mathrm{Property}\left(\mathrm{density},\mathrm{Water},\mathrm{temperature}=300\mathrm{Unit}\left(\mathrm{kelvin}\right),\mathrm{pressure}=101325\mathrm{Unit}\left(\mathrm{Pa}\right)\right)$
 ${996.5569353}{}⟦\frac{{\mathrm{kg}}}{{{m}}^{{3}}}⟧$ (3)
 > $\mathrm{Property}\left(\mathrm{HeatOfFormation},\mathrm{SiHBr3},\mathrm{useunits}\right)$
 ${-}{302922.000}{}⟦\frac{{J}}{{\mathrm{mol}}}⟧$ (4)

We compute some more values using whichever subpackage is appropriate, now requesting extra information to be printed through the use of the infolevel setting.

 > $\mathrm{infolevel}\left[\mathrm{ThermophysicalData}\right]≔3:$
 > $\mathrm{Property}\left(\mathrm{Cpmolar},\mathrm{He},\mathrm{temperature}=300\mathrm{Unit}\left(\mathrm{kelvin}\right),\mathrm{pressure}=101325\mathrm{Unit}\left(\mathrm{Pa}\right)\right)$
 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.78631309}{}⟦\frac{{J}}{{\mathrm{mol}}{}{K}}⟧$ (5)
 > $\mathrm{Property}\left(\mathrm{Cpmolar},\mathrm{He},\mathrm{temperature}=300\mathrm{Unit}\left(\mathrm{kelvin}\right)\right)$
 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}{}⟦\frac{{J}}{{\mathrm{mol}}{}{K}}⟧$ (6)
 > $\mathrm{Property}\left(\mathrm{temperature},200\mathrm{Unit}\left(m\right)\right)$
 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}⟧$ (7)

Compatibility

 • The ThermophysicalData[Property] command was introduced in Maple 2016.