Property - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : ThermophysicalData : ThermophysicalData/Property

ThermophysicalData

  

Property

  

access thermophysical data

 

Calling Sequence

Parameters

Description

Examples

Compatibility

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

withThermophysicalData:

We compute a value from the CoolProp subpackage.

Propertydensity,Water,temperature=300Unitkelvin,pressure=101325UnitPa,source=CoolProp

996.5569353kgm3

(1)

We compute a value from the Chemicals subpackage.

PropertyHeatOfFormation,SiHBr3,source=Chemicals,useunits

302922.000Jmol

(2)

We compute a few values using whichever subpackage is appropriate.

Propertydensity,Water,temperature=300Unitkelvin,pressure=101325UnitPa

996.5569353kgm3

(3)

PropertyHeatOfFormation,SiHBr3,useunits

302922.000Jmol

(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.

infolevelThermophysicalData3:

PropertyCpmolar,He,temperature=300Unitkelvin,pressure=101325UnitPa

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.78631309JmolK

(5)

PropertyCpmolar,He,temperature=300Unitkelvin

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.78627500JmolK

(6)

Propertytemperature,200Unitm

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.8500K

(7)

Compatibility

• 

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

ThermophysicalData[Atmosphere]

ThermophysicalData[Atmosphere][Property]

ThermophysicalData[Chemicals]

ThermophysicalData[Chemicals][Property]

ThermophysicalData[CoolProp]

ThermophysicalData[CoolProp][Property]