Thermophysical Data - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 2016 : updates/Maple2016/ThermophysicalData

Thermophysical Data

Introduction

The ThermophysicalData package calculates the properties of pure fluids, mixtures, solutions and humid air. The package is based on the open source CoolProp library.

withThermophysicalData:


For example, this is the temperature of carbon dioxide at a user-defined pressure and enthalpy.

Propertytemperature,pressure=6bar,massspecificenthalpy=5105J kg1,carbondioxide

296.9109661K

(1.1)

This is the density of a 30%-70% molar mixture of helium and nitrogen at a user-defined temperature and pressure.

Propertydensity,temperature=293 K,pressure=1atm,helium[0.3]&nitrogen[0.7]

0.8652903239kgm3

(1.2)

This is the wet-bulb temperature of humid air at a user-defined dry-bulb temperature, pressure, and relative humidity.

PropertyTwb,HumidAir, Tdb=293K,P=1atm,R=0.50

286.8032717K

(1.3)

With the data provided by this package, you can

 

• 

model heat flows across thermodynamic cycles,

• 

calculate efficiency of solar heating systems,

• 

simulate models of heat exchangers with lumped parameters,

• 

optimize the performance of turbines,

• 

generate customized psychrometric charts and pressure-enthalpy diagrams,

• 

and more

 

The package is units-aware, and can be used with Maple's numerical solvers, optimizers and differential equation solving routines.

 

State-Dependent Properties

State-dependent properties for pure fluids and refrigerants require two states to calculate the value of a property. Valid combinations of states and properties are given in ThermophysicalData,Property, and a list of fluids are given in ThermophysicalData,fluids.

 

This example yields the specific heat capacity in J-1 kg-1 K-1 of ammonia at temperature 234 K and pressure 101325 Pa.

PropertyC,T=234,P=101325,ammonia

4417.98833355119950

(2.1)

If no unit is specified, the input is assumed to have SI units, and the output is given in SI units.

You can also associate units with the states. By default, results are given in the current unit system.

PropertyC,T=234K,P=10psi,ammonia

2230.589948JkgK

(2.2)

You can rescale the result to arbitrary (but dimensionally consistent) units. Just right-click on the result and then select Units Formatting....

PropertyC,T=234K,P=10psi,ammonia

0.5331237925Btulb°F

(2.3)

You can also generate PHT charts. Chart properties (for example, the location of the isotherms, pressure ranges, and enthalpy ranges) can be customized.

PHTChartnitrogen

Thermodynamic cycles can be visualized by placing plot objects on these charts. For example, see the Refrigeration Cycle application.

 

State-Independent Properties

State-independent values only require two arguments - a fluid and a property. This command, for example, finds the critical temperature of water.

PropertyTcrit,water

647.096000000000004

(3.1)

This is the 100-year Global Warming Potential for the refrigerant R134a.

Propertyglobal_warming_potential_100,R134a

1430.

(3.2)

ThemophysicalData,Property has a list of state-independent properties.

Humid Air

You can calculate the properties of humid air. Here we calculate the specific enthalpy of humid air at a user-defined dry-bulb temperature, pressure and relative humidity.

PropertyHha,HumidAir,Tdb=293K,pressure=101325Pa,R=0.45

36209.64301Jkg

(4.1)

You can generate a psychrometric chart, and use it to visualize heating/cooling by overlaying plot objects on it. For example, see the Human Comfort Zone application.

 

PsychrometricChartpressure=101325Pa

Applications

Heat Flows Across a Refrigeration Cycle

Maximize the Efficiency of a Rankine Cycle

Condition Air into the Human Comfort Zone

Flow of R717 Through an Expansion Valve

Organic Rankine Cycle

Mixing Humid Air

Heat Transfer Coefficient Across a Flat Plate

Energy Required to Vaporize Ethanol

Particle Falling Through Air

Saturation Temperature of Fluids