Fluid

EXPERIMENTAL: Library of 1-dim. thermo-fluid flow models using the Modelica.Media media description

Package Contents

UsersGuide

User's Guide

Examples

Demonstration of the usage of the library

System

System properties and default values (ambient, flow direction, initialization)

Vessels

Devices for storing fluid

Pipes

Devices for conveying fluid

Machines

Devices for converting between energy held in a fluid and mechanical energy

Valves

Components for the regulation and control of fluid flow

Fittings

Adaptors for connections of fluid components and the regulation of fluid flow

Sources

Define fixed or prescribed boundary conditions

Sensors

Ideal sensor components to extract signals from a fluid connector

Interfaces

Interfaces for steady state and unsteady, mixed-phase, multi-substance, incompressible and compressible flow

Types

Common types for fluid models

Dissipation

Functions for convective heat transfer and pressure loss characteristics

Utilities

Utility models to construct fluid components (should not be used directly)

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Library Modelica.Fluid is a free Modelica package providing components for 1-dimensional thermo-fluid flow in networks of vessels, pipes, fluid machines, valves and fittings. A unique feature is that the component equations and the media models as well as pressure loss and heat transfer correlations are decoupled from each other. All components are implemented such that they can be used for media from the Modelica.Media library. This means especially that an incompressible or compressible medium, a single or a multiple substance medium with one or more phases might be used.

In the next figure, several features of the library are demonstrated with a simple heating system with a closed flow cycle. By just changing one configuration parameter in the system object the equations are changed between steady-state and dynamic simulation with fixed or steady-state initial conditions.

HeatingSystem.png

With respect to previous versions, the design of the connectors has been changed in a non-backward compatible way, using the recently developed concept of stream connectors that results in much more reliable simulations (see also Stream-Connectors-Overview-Rationale.pdf). This extension was included in Modelica 3.1.

The following parts are useful, when newly starting with this library:

Copyright © 2002-2020, Modelica Association and contributors