Contenuto principale

Liquid Properties Sensor (IL)

R2026b

Measure density, bulk modulus, fraction of entrained air, dynamic viscosity, and kinematic viscosity in isothermal liquid network

  • Liquid Properties Sensor (IL) block

Libraries:
Simscape / Foundation Library / Isothermal Liquid / Sensors

Description

The Liquid Properties Sensor (IL) block represents an ideal sensor that lets you measure the mixture density, bulk modulus, fraction of entrained air, dynamic viscosity, and kinematic viscosity in an isothermal liquid network. There is no mass flow through the sensor.

The block measures these properties at the node connected to port A.

Ports

Output

expand all

Physical signal output port that measures the density of isothermal liquid mixture.

Dependencies

To enable this port, select the Density check box.

Programmatic Use

Port: rho

Physical signal output port that measures the bulk modulus of isothermal liquid mixture.

Dependencies

To enable this port, select the Isothermal bulk modulus check box.

Programmatic Use

Port: beta

Physical signal output port that measures the fraction of entrained (undissolved) air, (entrained air)/(entrained air + dissolved air). Value of 1 means no air is dissolved. Value of 0 means all air is dissolved.

Dependencies

To enable this port, select the Fraction of air that is entrained check box.

Programmatic Use

Port: theta

Physical signal output port that measures the dynamic viscosity of isothermal liquid mixture.

Dependencies

To enable this port, select the Dynamic viscosity check box.

Programmatic Use

Port: mu

Physical signal output port that measures the kinematic viscosity of isothermal liquid mixture.

Dependencies

To enable this port, select the Kinematic viscosity check box.

Programmatic Use

Port: nu

Conserving

expand all

Isothermal liquid conserving port. Connect this port to the node in the isothermal liquid network where you want to measure the liquid properties. All measurements are taken with respect to absolute zero.

Programmatic Use

Port: A

Parameters

expand all

Select this check box to expose output port ρ, which measures the fluid density.

Programmatic Use

Parameter: density_measure
Values: "true" | "false"

Select this check box to expose output port β, which measures the bulk modulus.

Programmatic Use

Parameter: bulk_modulus_measure
Values: "true" | "false"

Select this check box to expose output port θ, which measures the fraction of undissolved air.

Programmatic Use

Parameter: entrained_air_measure
Values: "true" | "false"

Select this check box to expose output port μ, which measures the dynamic viscosity.

Programmatic Use

Parameter: dynamic_viscosity_measure
Values: "true" | "false"

Select this check box to expose output port ν, which measures the kinematic viscosity.

Programmatic Use

Parameter: kinematic_viscosity_measure
Values: "true" | "false"

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2020a

expand all