AbruptAdaptor

Pressure drop in pipe due to suddenly expanding or reducing area (for both flow directions)

Parameters (16)

dp_start

Value: dp_nominal

Type: AbsolutePressure (Pa)

Description: Guess value of dp = port_a.p - port_b.p

m_flow_small

Value: if system.use_eps_Re then system.eps_m_flow * m_flow_nominal else system.m_flow_small

Type: MassFlowRate (kg/s)

Description: Small mass flow rate for regularization of zero flow

show_T

Value: true

Type: Boolean

Description: = true, if temperatures at port_a and port_b are computed

show_V_flow

Value: true

Type: Boolean

Description: = true, if volume flow rate at inflowing port is computed

allowFlowReversal

Value: system.allowFlowReversal

Type: Boolean

Description: = true to allow flow reversal, false restricts to design direction (m_flow >= 0)

momentumDynamics

Value: Types.Dynamics.SteadyState

Type: Dynamics

Description: Formulation of momentum balance

m_flow_start

Value: system.m_flow_start

Type: MassFlowRate (kg/s)

Description: Start value of mass flow rates

data

Value: BaseClasses.QuadraticTurbulent.LossFactorData.suddenExpansion(diameter_a, diameter_b)

Type: LossFactorData

Description: Loss factor data

m_flow_nominal

Value: if system.use_eps_Re then system.m_flow_nominal else 1e2 * system.m_flow_small

Type: MassFlowRate (kg/s)

Description: Nominal mass flow rate

use_Re

Value: false

Type: Boolean

Description: = true, if turbulent region is defined by Re, otherwise by m_flow_small

from_dp

Value: false

Type: Boolean

Description: = true, use m_flow = f(dp) else dp = f(m_flow)

show_Re

Value: false

Type: Boolean

Description: = true, if Reynolds number is included for plotting

show_totalPressures

Value: false

Type: Boolean

Description: = true, if total pressures are included for plotting

show_portVelocities

Value: false

Type: Boolean

Description: = true, if port velocities are included for plotting

diameter_a

Value:

Type: Diameter (m)

Description: Inner diameter of pipe at port_a

diameter_b

Value:

Type: Diameter (m)

Description: Inner diameter of pipe at port_b

Inputs (1)

pathLength

Default Value: 0

Type: Length (m)

Description: Length flow path

Connectors (2)

port_a

Type: FluidPort_a

Description: Fluid connector a (positive design flow direction is from port_a to port_b)

port_b

Type: FluidPort_b

Description: Fluid connector b (positive design flow direction is from port_a to port_b)

Components (7)

state_a

Type: ThermodynamicState

Description: State for medium inflowing through port_a

state_b

Type: ThermodynamicState

Description: State for medium inflowing through port_b

system

Type: System

Description: System properties

data

Type: LossFactorData

Description: Loss factor data

state_nominal

Type: ThermodynamicState

Description: Medium state to compute nominal pressure drop

state_b_des

Type: ThermodynamicState

Description: Thermodynamic state at port b for flow a -> b

state_a_nondes

Type: ThermodynamicState

Description: Thermodynamic state at port a for flow a <- b

Used in Examples (1)

MomentumBalanceFittings

Modelica.Fluid.Examples.Explanatory

Illustrating a case in which kinetic terms play a major role in the momentum balance