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

TypeNameDefaultDescription
SpecificHeatCapacitycp_const123456Constant specific heat capacity at constant pressure

Contents

NameDescription
BasePropertiesBase properties of medium
ThermodynamicStateA selection of variables that uniquely defines the thermodynamic state
dynamicViscosityReturn dynamic viscosity
thermalConductivityReturn thermal conductivity
specificEntropyReturn specific entropy
specificHeatCapacityCpReturn specific heat capacity at constant pressure
specificHeatCapacityCvReturn specific heat capacity at constant volume
isentropicExponentReturn isentropic exponent
velocityOfSoundReturn velocity of sound