.TRANSFORM.Fluid.ClosureRelations.PressureLoss.Functions.TubesAndConduits.TwoPhase.LaminarTurbulent_MSLDetailed

Adapted from MSL WallFriction.Detailed

Information

This component defines the complete regime of wall friction. The details are described in the UsersGuide. The functional relationship of the friction loss factor λ is displayed in the next figure. Function dp_DP() defines the "red curve" ("Swamee and Jain"), where as function dp_MFLOW() defines the "blue curve" ("Colebrook-White"). The two functions are inverses from each other and give slightly different results in the transition region between Re = 1500 .. 4000, in order to get explicit equations without solving a non-linear equation.

PipeFriction1.png

Additionally to wall friction, this component properly implements static head. With respect to the latter, two cases can be distinguished. In the case shown next, the change of elevation with the path from a to b has the opposite sign of the change of density.

PipeFrictionStaticHead_case-a.png

In the case illustrated second, the change of elevation with the path from a to b has the same sign of the change of density.

PipeFrictionStaticHead_case-b.png

Contents

Name Description
 dp_IN_var Input record for function dp_DP and dp_MFLOW
 dp_IN_con Input record for function dp_DP and dp_MFLOW
 dp_DP calculate pressure loss
 dp_MFLOW calculate mass flow rate
 dp_DP_staticHead calculate pressure loss with static head
 dp_MFLOW_staticHead calculate mass flow rate with static head
 Internal Functions to calculate mass flow rate from friction pressure drop and vice versa

Generated at 2026-04-15T18:18:36Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos