modelFlowReversal

Simple example of plug flow pipe with flow reversal

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

Information

Validation model in which water flows into the pipe and then the flow is reversed.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.Stepm_flowMass flow rate signal
Sources.Boundary_pTsinPressure boundary condition
AixLib.Fluid.FixedResistances.PlugFlowPipepipPipe
AixLib.Fluid.Sources.MassFlowSource_TsouFlow source
AixLib.Fluid.Sensors.TemperatureTwoPortsenTemOutTemperature sensor
AixLib.Fluid.Sensors.TemperatureTwoPortsenTemInTemperature sensor

Contents

NameDescription
MediumMedium in the pipe

Revisions

  • July 12, 2021, by Baptiste Ravache:
    Changed outlet boundary pressure to avoid negative pressure at the inlet when flow is reversed.
  • October 25, 2017, by Michael Wetter:
    First implementation.