WOLFRAM SYSTEM MODELER

interpolateInRegion2_withDerivative

Interpolation in log-log space using a cubic Hermite polynomial, where x=log10(lambda2), y=log10(Re)<br><br>This class is declared protected in <a href="Modelica.Fluid.Pipes.BaseClasses.WallFriction.Detailed.Internal.m_flow_of_dp_fric.html">Modelica.Fluid.Pipes.BaseClasses.WallFriction.Detailed.Internal.m_flow_of_dp_fric</a>

Wolfram Language

In[1]:=
SystemModel["Modelica.Fluid.Pipes.BaseClasses.WallFriction.Detailed.Internal.m_flow_of_dp_fric.interpolateInRegion2_withDerivative"]
Out[1]:=

Syntax

(Re, dRe_ddp) = interpolateInRegion2_withDerivative(lambda2, Re1, Re2, Delta, dp_fric)

Inputs (5)

lambda2

Type: Real

Description: Known independent variable

Re1

Type: ReynoldsNumber

Description: Boundary between laminar regime and transition

Re2

Type: ReynoldsNumber

Description: Boundary between transition and turbulent regime

Delta

Type: Real

Description: Relative roughness

dp_fric

Type: Pressure (Pa)

Description: Pressure loss due to friction (dp = port_a.p - port_b.p)

Outputs (2)

Re

Type: ReynoldsNumber

Description: Unknown return variable

dRe_ddp

Type: Real

Description: Derivative of return value