functionCubicInterpolation_Re
Cubic Hermite spline interpolation of the Reynolds number in transition regime of the Moody diagram (inverse formulation)
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
Re = CubicInterpolation_Re(0, Re1, Re2, Delta, lambda2);
Description
Function CubicInterpolation_Re(..) approximates the Reynolds number
Re in the transition regime between laminar and turbulent flow
of the Moody diagram by an inverse formulation of a cubic Hermite spline interpolation. See
Modelica.Fluid.UsersGuide.ComponentDefinition.WallFriction (especially Region 2)
for a detailed explanation.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Re_turbulent | Unused input | |
| SI.ReynoldsNumber | Re1 | Boundary Reynolds number for laminar regime | |
| SI.ReynoldsNumber | Re2 | Boundary Reynolds number for turbulent regime | |
| Real | Delta | Relative roughness | |
| Real | lambda2 | Modified friction coefficient (= independent variable) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.ReynoldsNumber | Re | Interpolated Reynolds number in transition region |