This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Specifying the Working Fluid

Specifying Fluid Properties

Of the parts of a fluid network, none matter more than perhaps the fluid itself. Its properties bear on the dynamics of the network and are required for simulation. Most often a fluid properties block defines the fluid. You can find such blocks in the Simscape Foundation and Simscape Fluids libraries. Models without a fluid properties block assume for their fluid the domain default.

Selecting a Fluid Settings Block

  • To set the fluid properties in a Thermal Liquid network, use the Thermal Liquid Settings (TL) block from the Simscape™ Foundation library. The block takes as inputs the necessary fluid properties, each specified as a tabulated function of pressure and temperature.

    For an alternative way of specifying the fluid properties in a Thermal Liquid network, use the Thermal Liquid Properties (TL) block from the Simscape Fluids™ Thermal Liquid library. The block requires as input little more than the name of the fluid, selected from a drop-down list that includes water, seawater, and various mixtures with uses in cooling and deicing.

  • To set the fluid properties in a Hydraulic network, use the Custom Hydraulic Fluid block from the Simscape Foundation library. The block takes as inputs the necessary fluid properties, each specified as a constant.

    For an alternative way of specifying the fluid properties in a Hydraulic network, use the Hydraulic Fluid block from the Simscape Fluids Hydraulic (Isothermal Liquid) library. The block requires as input little more than the name of the fluid, selected from a drop-down list that includes water, gasoline, jet fuel, and others with application in hydraulic systems.

  • To set the fluid properties in a Gas network, use the Gas Properties (G) block from the Simscape Foundation library. The block takes as inputs the necessary fluid properties, these specific to the type of gas modeled (perfect, semi-perfect, or real) and variously specified as constants or tabulated functions (of temperature and/or pressure).

Working with Multiple Fluid Networks

Simscape Fluids models can have multiple fluid networks, each representing a single-fluid system. To avoid model compilation errors, use only one fluid settings block per network. Two fluid networks are treated as distinct if they belong to different Simscape domains or if they share no direct connection line.

Omitting Fluid Properties in a Network

If you omit the fluid properties block in a fluid network, that network assumes for its fluid the domain default. This is to say that the fluid properties are those defined in the domain source files and used as defaults in the fluid properties blocks. For the default properties of the different domains, see: