modelSmoothAdaptor
Extends from TRANSFORM.Icons.Example (Icon for runnable examples).
Information
Unit test for SmoothAdaptor with a
15° cone half-angle. The port_a diameter is ramped from 0.005 m through the fixed port_b
diameter (0.01 m) to 0.015 m, so the adaptor transitions from a contraction to an expansion (and the design flow switches
between confuser and diffuser behaviour). Two parallel circuits are exercised: from_dp is pressure-driven and
from_mflow is driven by a sinusoidal (sign-changing) mass flow rate, verifying both loss directions and
flow reversal.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TRANSFORM.Fluid.FittingsAndResistances.SmoothAdaptor | from_dp | ||
| Modelica.Fluid.Sources.FixedBoundary | OUT_dp | ||
| Modelica.Fluid.Sources.FixedBoundary | OUT_mflow | ||
| Modelica.Fluid.Sources.MassFlowSource_T | IN_mflow | ||
| Modelica.Fluid.Sources.Boundary_pT | IN_p | ||
| Modelica.Blocks.Sources.RealExpression | input_p | ||
| Modelica.Blocks.Sources.Sine | input_mflow | ||
| Modelica.Fluid.System | system | ||
| TRANSFORM.Fluid.FittingsAndResistances.SmoothAdaptor | from_mflow | ||
| Modelica.Blocks.Sources.Ramp | dimension_a | port_a diameter ramps through port_b (0.01) -> expansion then contraction |