Modelica.Media.Incompressible.Examples

Examples for incompressible media

Information



This package provides a few examples of how to construct medium models for incompressible fluids. The package contains:

Extends from Modelica.Icons.MaterialPropertiesPackage (Icon for package containing property classes).

Package Content

NameDescription
Modelica.Media.Incompressible.Examples.Glycol47 Glycol47 1,2-Propylene glycol, 47% mixture with water
Modelica.Media.Incompressible.Examples.Essotherm650 Essotherm650 Essotherm thermal oil
Modelica.Media.Incompressible.Examples.TestGlycol TestGlycol Test Glycol47 Medium model


Modelica.Media.Incompressible.Examples.TestGlycol Modelica.Media.Incompressible.Examples.TestGlycol

Test Glycol47 Medium model

Information

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model TestGlycol "Test Glycol47 Medium model"
  extends Modelica.Icons.Example;
  package Medium = Glycol47 "Medium model (Glycol47)";
  Medium.BaseProperties medium;

  Medium.DynamicViscosity eta=Medium.dynamicViscosity(medium.state);
  Medium.ThermalConductivity lambda=Medium.thermalConductivity(medium.state);
  Medium.SpecificEntropy s=Medium.specificEntropy(medium.state);
  Medium.SpecificHeatCapacity cv=Medium.specificHeatCapacityCv(medium.state);
protected 
  constant Modelica.SIunits.Time timeUnit = 1;
  constant Modelica.SIunits.Temperature Ta = 1;
equation 
  medium.p = 1e5;
  medium.T = Medium.T_min + time/timeUnit*Ta;
end TestGlycol;

Automatically generated Fri Nov 12 16:31:34 2010.