modelFlowReversal

Simple example of plug flow pipe with flow reversal
Diagram of FlowReversal

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
IBPSA.Fluid.FixedResistances.PlugFlowPipepipPipe
IBPSA.Fluid.Sources.MassFlowSource_TsouFlow source
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTemOutTemperature sensor
IBPSA.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.