General

Package with utility functions

Package Contents

CubicInterpolation_Re

Cubic Hermite spline interpolation of the Reynolds number in transition regime of the Moody diagram (inverse formulation)

CubicInterpolation_lambda

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

LambertW

Closed approximation of Lambert's w function for solving f(x) = x exp(x) for x

LambertWIter

Iterative form of Lambert's w function for solving f(x) = x exp(x) for x

PrandtlNumber

Calculation of Prandtl number

ReynoldsNumber

Calculation of Reynolds number

SmoothPower

Limiting the derivative of function y = if x>=0 then x^pow else -(-x)^pow

SmoothPower_der

The derivative of function SmoothPower

Stepsmoother

Continuous interpolation for x

Stepsmoother_der

Derivative of function Stepsmoother