CubicInterpolation_lambda

Cubic Hermite spline interpolation of the modified friction coefficient in transition regime of the Moody diagram (direct formulation)

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Syntax

lambda2 = CubicInterpolation_lambda(Re, Re1, Re2, Delta)

Inputs (4)

Re

Type: ReynoldsNumber

Description: Reynolds number (= independent variable)

Re1

Type: ReynoldsNumber

Description: Boundary Reynolds number for laminar regime

Re2

Type: ReynoldsNumber

Description: Boundary Reynolds number for turbulent regime

Delta

Type: Real

Description: Relative roughness

Outputs (1)

lambda2

Type: Real

Description: Interpolated modified friction coefficient in transition regime