ThermophysicalData - Maple Programming 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(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

quantity

-

symbol or string the desired output quantity

species

-

symbol or string the 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 either the command ThermophysicalData[Chemicals][Property] to find data available through the ThermophysicalData[Chemicals] subpackage, or the command ThermophysicalData[CoolProp][Property] to find data available through the ThermophysicalData[CoolProp] subpackage. Every calling sequence of these commands is supported.

• 

If no source option is given, then Maple tries calling both commands. If exactly one of the two 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:   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:   using the ThermophysicalData:-Chemicals subpackage

20.78627500JmolK

(6)

Compatibility

• 

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

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

• 

The ThermophysicalData[Property] command was updated in Maple 2018.

• 

The quantity and species parameters were introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

ThermophysicalData

ThermophysicalData[Chemicals]

ThermophysicalData[Chemicals][Property]

ThermophysicalData[CoolProp]

ThermophysicalData[CoolProp][Property]