packageTemplateMedium
Template for media models
Extends from ThermofluidStream.Media.myMedia.Interfaces.PartialMedium.
Information
This package is a template for new medium models. For a new medium model just make a copy of this package, remove the "partial" keyword from the package and provide the information that is requested in the comments of the Modelica source.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SpecificHeatCapacity | cp_const | 123456 | Constant specific heat capacity at constant pressure |
Contents
| Name | Description |
|---|---|
| BaseProperties | Base properties of medium |
| ThermodynamicState | A selection of variables that uniquely defines the thermodynamic state |
| dynamicViscosity | Return dynamic viscosity |
| thermalConductivity | Return thermal conductivity |
| specificEntropy | Return specific entropy |
| specificHeatCapacityCp | Return specific heat capacity at constant pressure |
| specificHeatCapacityCv | Return specific heat capacity at constant volume |
| isentropicExponent | Return isentropic exponent |
| velocityOfSound | Return velocity of sound |