modelSmoothAdaptor
Extends from TRANSFORM.Fluid.FittingsAndResistances.BaseClasses.PartialResistancenew.
Information
Minor-loss resistance for a smooth (gradual, conical) circular adaptor connecting two pipe diameters. Unlike SharpEdgedAdaptor (an abrupt area change), this component represents a tapered transition with a finite cone angle, so the losses are substantially lower.
The pressure loss is computed as
dp = K*m_flow^2/(2*rho*min(A)^2)
referenced to the velocity head in the smaller of the two cross-sections. The coefficient K is selected
by flow direction and geometry, mirroring SharpEdgedAdaptor:
- flow toward the larger diameter → gradual expansion (K_conicalDiffuser);
- flow toward the smaller diameter → gradual contraction (K_conicalConfuser).
The two directions are blended smoothly with spliceTanh around the equal-area point, and the design and
reverse coefficients K_ab/K_ba are selected by the sign of the mass flow rate, so flow reversal
is fully supported.
Geometry
dimensions_ab– pipe inner diameters atport_aandport_b.angle– cone half-angle of the taper; the closure functions receive the total included angle2*angle. The implied axial taper length isL = |d_b - d_a|/(2*tan(angle)).
Notes / range of validity
Circular cross-sections; turbulent-flow minor-loss correlations (Rennels & Hudson, 2012). As the half-angle
approaches 90° (total angle 180°) the expansion direction reduces to the Borda-Carnot sudden-expansion limit
K = (1 - beta^2)^2. Wall roughness and the laminar/turbulent transition
(Re_lam, Re_turb) are honoured through the friction term.
References
Rennels, D. C. & Hudson, H. M. Pipe Flow: A Practical and Comprehensive Guide. John Wiley & Sons (2012).
Cross-check implementation: Bell, C. fluids (open-source),
fluids.fittings.diffuser_conical / contraction_conical (method="Rennels").
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Angle | angle | 15*Modelica.Constants.pi/180 | Cone half-angle (divergence/convergence half-angle) |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialResistancenew) | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Visualization | |||
| Boolean | showName (from PartialResistancenew) | true | = false to hide component name |
| Initialization | |||
| SI.MassFlowRate | m_flow_start (from PartialResistancenew) | 0 | Initial mass flow rate |
| Advanced | |||
| SI.MassFlowRate | m_flow_smooth (from PartialResistancenew) | 0.001 | Smoothing tolerance around zero flow rate |
| SI.MassFlowRate | dp_smooth (from PartialResistancenew) | 0.001 | Smoothing tolerance around zero flow rate |
| SI.ReynoldsNumber | Re_lam (from PartialResistancenew) | 2300 | Laminar transition Reynolds number |
| SI.ReynoldsNumber | Re_turb (from PartialResistancenew) | 4000 | Turbulent transition Reynolds number |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_Flow | port_a (from PartialResistanceInterface) | ||
| Interfaces.FluidPort_Flow | port_b (from PartialResistanceInterface) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state (from PartialResistanceInterface) | ||
| Medium.ThermodynamicState | state_a (from PartialResistancenew) | ||
| Medium.ThermodynamicState | state_b (from PartialResistancenew) | ||
| SI.PressureDifference | dp (from PartialResistancenew) | ||
| SI.MassFlowRate | m_flow (from PartialResistancenew) | ||
| SI.Length[2] | dimensions_ab | {0.01, 0.02} | Pipe inner diameters at {port_a,port_b} |
| SI.Length | roughness | 0 | Average height of surface asperities |
| SI.ReynoldsNumber | Re | Reynolds number (referenced to the smaller section) | |
| Units.NonDim | K_ab | Minor loss coefficient if flow a->b | |
| Units.NonDim | K_ba | Minor loss coefficient if flow b->a | |
| Units.NonDim | K | Minor loss coefficient | |
| SI.Velocity | v_a | Velocity at port_a | |
| SI.Velocity | v_b | Velocity at port_b | |
| SI.Area[2] | crossAreas | 0.25*Modelica.Constants.pi*dimensions_ab.*dimensions_ab | Cross-sectional area at {port_a,port_b} |
| Real | crossAreaRatio | crossAreas[1]/crossAreas[2] | Ratio of crossArea_a/crossArea_b |