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