modelFluidProperties
Model that tests the implementation of temperature- and concentration-dependent fluid properties
Information
This example checks the implementation of functions that evaluate the temperature- and concentration-dependent thermophysical properties of the medium.
Thermophysical properties (density, specific heat capacity, thermal conductivity and dynamic viscosity) are shown as 0 if the temperature is below the fusion temperature.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nX_a | Number of mass fractions to evaluate fluid properties | |
| Modelica.Units.SI.MassFraction[nX_a] | X_a | Mass fraction of additive | |
| Modelica.Units.SI.Temperature | T_min | Minimum temperature of mixture | |
| Modelica.Units.SI.Temperature | T_max | Maximum temperature of mixture |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature[nX_a] | Tf | Fluid temperature | |
| Modelica.Units.SI.Density[nX_a] | d | Density of fluid mixture | |
| Modelica.Units.SI.SpecificHeatCapacity[nX_a] | cp | Specific heat capacity of fluid mixture | |
| Modelica.Units.SI.ThermalConductivity[nX_a] | lambda | Density of fluid mixture | |
| Modelica.Units.SI.DynamicViscosity[nX_a] | eta | Dynamic viscosity of fluid mixture | |
| Modelica.Units.SI.Temperature | T | Temperature of fluid mixture | |
| Modelica.Units.NonSI.Temperature_degC | T_degC | Celsius temperature |
Contents
| Name | Description |
|---|---|
| Package with medium functions |
Revisions
-
April 16, 2026, by Michael Wetter:
Revised implementation for to use functions from new property function package. -
March 14, 2018, by Massimo Cimmino:
First implementation.