Flow in Ducts

Category: Fluid Analysis (CFD) | Integrated 2026-04-06
CAE visualization for duct flow theory - technical simulation diagram
Duct Flow

Flow in Ducts: Theoretical Foundations

Overview

๐Ÿง‘โ€๐ŸŽ“

Teacher! The analysis of flow inside ducts is the one used for HVAC piping and plant piping, right? Please teach me from the basics.


๐ŸŽ“

CFD analysis of duct flow aims to predict pressure loss, flow distribution, and flow maldistribution in piping and duct systems. At the design stage, it visualizes local losses and secondary flows that cannot be fully captured by hand calculations using the Darcy-Weisbach equation alone.


Governing Equations

๐Ÿง‘โ€๐ŸŽ“

The basic formula for pressure loss is the Darcy-Weisbach equation, right?


๐ŸŽ“

Yes. Frictional loss in straight pipes is described by the Darcy-Weisbach equation.


$$ \Delta p_f = f \frac{L}{D_h} \frac{\rho V^2}{2} $$

๐ŸŽ“

Here, $f$ is the pipe friction factor, $L$ is the pipe length, $D_h$ is the hydraulic diameter, and $V$ is the cross-sectional average velocity. For laminar flow, $f = 64/Re$, and for turbulent flow, it is obtained from the Colebrook equation.


$$ \frac{1}{\sqrt{f}} = -2.0 \log\left(\frac{\varepsilon/D_h}{3.7} + \frac{2.51}{Re\sqrt{f}}\right) $$

๐Ÿง‘โ€๐ŸŽ“

The Colebrook equation is implicit, so iterative calculation is needed. In practice, is the Swamee-Jain approximation often used?


๐ŸŽ“

Exactly. Swamee-Jain is explicit and has sufficient accuracy for practical use.


$$ f = \frac{0.25}{\left[\log\left(\frac{\varepsilon/D_h}{3.7} + \frac{5.74}{Re^{0.9}}\right)\right]^2} $$

๐ŸŽ“

Local losses (elbows, branches, expansions/contractions) are expressed using a loss coefficient $K$.


$$ \Delta p_{local} = K \frac{\rho V^2}{2} $$

ElementLoss Coefficient K (Guideline)
90ยฐ Elbow (R/D=1.5)0.2~0.3
90ยฐ Miter (No Vanes)1.1~1.3
T-Junction (Straight Through)0.3~0.5
T-Junction (Branch)0.8~1.3
Sudden Expansion$(1 - A_1/A_2)^2$
Sudden Contraction$0.5(1 - A_2/A_1)$
๐Ÿง‘โ€๐ŸŽ“

Loss coefficients in hand calculations are from literature values, but with CFD, you can get accurate values specific to the geometry, right?


๐ŸŽ“

Yes. Especially for rectangular duct corner pieces and complex branch pipes, literature values are often unavailable, so it's valuable to obtain them via CFD.


Turbulence Model Selection

๐Ÿง‘โ€๐ŸŽ“

What turbulence model is suitable for duct flow?


๐ŸŽ“

For pipe flow, the Realizable $k$-$\varepsilon$ model is standard. For wall functions, Enhanced Wall Treatment (y+ โ‰’ 1) is ideal, but even with Standard Wall Function (y+ = 30~300), pressure loss prediction achieves practical accuracy.


Turbulence ModelRecommended ApplicationNotes
Realizable k-epsilonStraight pipes / ElbowsGeneral purpose, fast calculation with wall functions
SST k-omegaSeparation / Sudden expansionStrong against adverse pressure gradients
RSM (Reynolds Stress)Swirling flow / Secondary flowHigh accuracy but high computational cost
๐Ÿง‘โ€๐ŸŽ“

Secondary flow (corner vortices) occurs in rectangular ducts, can it be captured with k-epsilon?


๐ŸŽ“

Secondary flow in rectangular ducts originates from Reynolds stress anisotropy, so strictly speaking, RSM is needed. However, if the purpose is pressure loss prediction, k-epsilon can keep the error within about 5%.


Coffee Break Yomoyama Talk

The Theory of "Entry Length" โ€” How Many D from the Duct Inlet Until Turbulent Flow is Fully Developed?

The first important concept learned in duct flow theory is the "hydrodynamic entry length." It refers to the distance from the inlet until the flow, influenced by the wall boundary layer, becomes a fully developed turbulent profile across the entire cross-section. For turbulent flow, approximately $x \approx 10 \sim 60 D$ (relative to diameter D) is required. A common mistake in practical CFD analysis is "setting the inlet condition as uniform flow while making the analysis domain just barely long enough." Unless sufficient entry length is secured or a measured velocity profile is set as the inlet condition, pressure loss downstream tends to be underestimated.

Computational Methods for Flow in Ducts

Details of Numerical Methods

๐Ÿง‘โ€๐ŸŽ“

When solving duct flow with CFD, what should I be careful about regarding mesh and boundary conditions?


๐ŸŽ“

Let's start by explaining the mesh.


Mesh Strategy

๐Ÿง‘โ€๐ŸŽ“

Does the mesh creation method change between circular pipes and rectangular ducts?


๐ŸŽ“

It changes significantly. For circular pipes, O-grid topology (bow-tie type) is recommended, as it easily ensures prism layers orthogonal to the wall. For rectangular ducts, use sweep mesh with prism layers.


๐ŸŽ“

The height of the first layer at the wall should match the wall model used.


Wall ModelRequired y+First Layer Height Guideline (Re=10โต, D=300mm)
Enhanced Wall Treatmentโ‰’ 1Approx. 0.05 mm
Standard Wall Function30~3001~10 mm
Scalable Wall Function> 11.225> 0.4 mm
๐Ÿง‘โ€๐ŸŽ“

Setting y+ = 1 increases the cell count considerably. From a pressure loss accuracy perspective, are wall functions sufficient?


๐ŸŽ“

For frictional loss in straight pipes alone, wall functions are sufficient. However, for sudden expansions with separation or behind valves, wall resolution (y+ โ‰’ 1) yields higher accuracy.


Boundary Condition Settings

๐Ÿง‘โ€๐ŸŽ“

How do you set the inlet/outlet boundary conditions?


๐ŸŽ“

Here are typical setting patterns.


BoundaryCondition TypeSetting Value
Duct InletVelocity InletDesign air velocity + Turbulence intensity 5%, Hydraulic diameter
Duct OutletPressure OutletGauge pressure 0 Pa
Fan LocationFan BC (Pressure Jump)Fan characteristic curve
DamperPorous JumpResistance coefficient according to opening
WallNo-Slip WallRoughness height (Steel pipe: 0.045 mm)
๐Ÿง‘โ€๐ŸŽ“

So you input wall roughness into CFD. Where can I look up roughness height for each material?


๐ŸŽ“

Representative values are listed in ASHRAE Handbook Fundamentals and Crane TP-410.


MaterialEquivalent Roughness [mm]
Galvanized Sheet Metal Duct0.09~0.15
Steel Pipe0.045
PVC Pipe0.0015
Concrete Duct0.3~3.0
Flexible Duct1.0~4.6

Inlet Entry Length Treatment

๐Ÿง‘โ€๐ŸŽ“

When assuming fully developed flow, how do you handle the entry length?


๐ŸŽ“

The turbulent entry length is roughly $L_{entry} \approx 10 D_h$. If the purpose is not to evaluate pressure loss immediately after the inlet, either provide sufficient entry length or give a Fully Developed Profile as the inlet condition. In Fluent, another method is to use the Mapped condition at the inlet (a periodic condition that maps the outlet velocity profile to the inlet).


Solver Settings

๐Ÿง‘โ€๐ŸŽ“

Please tell me the recommended specific solver settings.


ParameterRecommended Setting
SolverPressure-Based, Steady
Pressure-Velocity CouplingSIMPLEC
Convection SchemeSecond Order Upwind
Pressure InterpolationSecond Order
GradientLeast Squares Cell-Based
Convergence CriterionResidual below 1e-4 + Inlet/Outlet Flow Rate Balance < 0.1%
๐Ÿง‘โ€๐ŸŽ“

Using the inlet/outlet flow rate balance for convergence judgment is practical. Relying on residuals alone might overlook...


Related Simulators

Experience the theory firsthand with the interactive simulator for this field

All Simulators

Related fields

Thermal AnalysisV&V ยท Quality AssuranceStructural Analysis
Rate this article
Thank you for your feedback!
Helpful
More details
Report error
Helpful
0
More details
0
Report error
0
Written by NovaSolver Contributors
Anonymous Engineers & AI โ€” Sitemap
About the Authors