The calculation is changed based on parameter values of Type of pipe, and Dynamics of mass in the Water Settings component
The definition of Inner hydraulic diameter and Flow area, Geometrical coefficient for laminar flow are explained in the following:
|
Type of pipe = General
|
|
Inner hydraulic diameter is defined with:
Flow area is defined with:
Geometrical coefficient for laminar flow is defined with:
|
|
Type of pipe = Circular
|
|
Inner hydraulic diameter is defined with:
Flow area is defined with:
Geometrical coefficient for laminar flow is defined with:
|
|
Type of pipe = Rectangular
Inner hydraulic diameter is defined with:
Flow area is defined with:
Geometrical coefficient for laminar flow is defined with:
(*) is the function of Lookup table of 1D.
(*) data is specified with:
- If data_source = inline, parameter .
- If data_source = attachment, an attached file (.csv and .xls, .xlsx) is used
- If data_source = file, need to specify the path of file (.csv and .xls, .xlsx).
|
|
|
Reynolds number is calculated with:
The friction factor of flow is calculated with:
(*) The above function is to calculated friction factor for Laminar and Turbulent flow.
The fundamental implementation is based on the following equations. Especially, the equation of Turbulent flow is Swamee and Jain's approximation[1] .
|
(Reference) Detailed implementation of Friction factor calculation
|
|
Friction factor of Laminar flow is calculated with:
And, Turbulent flow's friction factor is defined with (Swamee and Jain's approximation):
Intermittency is defined with:
So, the friction factor is calculated with:
The following plot is Reynolds number vs Friction factor, and , , , .
|
The definition of Flow calculation is the following and:
|
Dynamics of mass = Static
|
|
Pressure difference is calculated with Darcy–Weisbach equation:
|
|
Dynamics of mass = Dynamic
|
|
In theory, Mass flow rate is calculated with Darcy–Weisbach equation:
In the Heat Transfer Library, the following equation is used to resolve difficulties of the numerical calculation:
(*) is the same function as . To check the details of the package and view the original documentation, which includes author and copyright information, click here.
|
Definitions related to Mass flow rate and pressure:
Density is calculated with:
If Fidelity of properties = Constant, properties are calculated with:
(*) Regarding the value of properties for Constant, see more in Water Settings.
If Fidelity of properties = Liquid water (Lookup table of IAPWS/IF97), properties are calculated with:
(*) The properties are defined with Liquid water (Lookup table of IAPWS/IF97), see more in Water Settings.
If Fidelity of properties = IAPWS/IF97 standard, properties are calculated with:
(*) The properties are defined with IAPWS/IF97 standard, see more in Water Settings.
Port's variables are defined with:
|
References
|
|
[1] : Swamee P.K., Jain A.K. (1976): Explicit equations for pipe-flow problems. Proc. ASCE, J.Hydraul. Div., 102 (HY5), pp. 657-664.
|