Laminar Pipe with Uniform Wall Heat Flux
Four-mesh refinement of fully developed flow and heat transfer in a mercury-filled pipe
1 Run Provenance and Artifacts
| Item | Value |
|---|---|
| Solver | PBNS, incompressible flow with thermal energy |
| Compute device and precision | CPU, mixed precision |
| Parallel execution | 1 MPI rank on the first three meshes; 4 ranks on the finest |
1.1 Downloadable Files
| File | Description | Format |
|---|---|---|
| Grid-convergence results | Mesh sizes, iterations, flow and heat-transfer errors, and energy balance | CSV |
The input decks, meshes, raw solver fields, and post-processing scripts are not yet available and are planned for a future release.
2 Verification Objective
Steady, incompressible laminar flow and heat transfer in a pipe with uniform wall heat flux were computed with the pressure-based Navier–Stokes solver (PBNS) at constant density. Results from four successively refined cross-sectional meshes were compared with the Hagen–Poiseuille velocity and pressure-gradient solution and the fully developed thermal solution. The assessment covered axial velocity, internal pressure gradient, bulk temperature gradient, wall-to-center temperature difference, Nusselt number, and energy balance.
3 Reference Solution and Data
3.1 Analytical Solution
For pipe radius \(R\), mean velocity \(U\), viscosity \(\mu\), wall heat flux \(q_w\), thermal conductivity \(k\), density \(\rho\), and heat capacity \(c_p\), the fully developed reference gives
\[ u_x(r)=2U\left(1-\frac{r^2}{R^2}\right),\qquad \frac{dp}{dx}=-\frac{8\mu U}{R^2},\qquad \frac{dT_b}{dx}=\frac{2q_w}{\rho c_p U R}. \]
The uniform-flux temperature profile has \(T_w-T_c=3q_wR/(4k)\) and \(Nu_D=48/11\). For the stated conditions, the reference values are \(dp/dx=-10.000\) Pa/m, \(dT_b/dx=413.76\) K/m, and \(T_w-T_c=1.098\) K.
The thermal reference assumes a fully developed profile without an axial conduction contribution. Because this case has \(Pe_D\approx5.6\), the outlet-center temperature is assessed separately from the local wall-to-center temperature difference and Nusselt number.
4 Simulation Conditions
| Item | Setting |
|---|---|
| Geometry | Circular pipe, \(R=2.5\) mm and \(L=0.1\) m (\(L/D=20\)) |
| Fluid | Mercury with constant properties |
| Density and viscosity | \(\rho=13{,}529\) kg/m³; \(\mu=1.523\times10^{-3}\) Pa·s |
| Heat capacity and conductivity | \(c_p=139.3\) J/(kg·K); \(k=8.54\) W/(m·K) |
| Mean velocity | \(U=5.12968\times10^{-3}\) m/s |
| Wall heat flux | \(q_w=5{,}000\) W/m² |
| Flow parameters | \(Re_D\approx228\), \(Pr\approx0.0248\), \(Pe_D\approx5.6\) |
5 Mesh
The complete pipe cross-section uses a structured butterfly O-grid with a central square and four surrounding blocks, extruded along the pipe into 200 axial cells. The four cross-sectional levels have \(4\times4\), \(8\times8\), \(16\times16\), and \(32\times32\) cells per block direction, with 17,889, 67,737, 263,913, and 1,042,185 nodes, respectively. Each level halves the nominal cross-sectional spacing.
6 Boundary and Initial Conditions
| Boundary or field | Setting |
|---|---|
| Inlet | Fully developed parabolic axial velocity, \(u_x=2U(1-r^2/R^2)\); \(T=300\) K |
| Outlet | Static pressure 101,325 Pa |
| Pipe wall | No slip; uniform inward heat flux of 5,000 W/m² |
| Initial field | Same parabolic velocity, 300 K, and 101,325 Pa |
7 Numerical Methods
Steady incompressible PBNS with the thermal-energy equation was advanced by local pseudo-time stepping at CFL 20. Flow and energy linear systems used FGMRES with AMG preconditioning, a 50-iteration linear limit, and \(10^{-3}\) linear tolerance. Energy advection used first-order upwinding. The outer-iteration limit was 3,000, with a target scaled residual at or below \(10^{-10}\), or an absolute-residual indicator with log10 value at or below \(-15\). All four runs reached the configured convergence criterion in 145–387 iterations. The same input settings were used on each mesh.
8 Results
The table gives errors against the analytical values. Velocity errors are normalized by the centerline speed \(2U\). The internal pressure gradient is measured over \(x=20\)–80 mm.
| Cross-section | Nodes | \(|dp/dx|\) error | \(u_x\) maximum error | \(dT_b/dx\) error | \(T_w-T_c\) error | \(Nu_D\) error |
|---|---|---|---|---|---|---|
| \(4\times4\) | 17,889 | −5.78% | 4.57% | +1.20% | −1.78% | +1.89% |
| \(8\times8\) | 67,737 | −1.54% | 1.23% | +0.30% | −0.52% | +0.54% |
| \(16\times16\) | 263,913 | −0.39% | 0.32% | +0.075% | −0.14% | +0.14% |
| \(32\times32\) | 1,042,185 | −0.10% | 0.079% | +0.019% | −0.035% | +0.036% |
The observed orders for the finest refinement were 1.97 for the internal pressure gradient, 2.00 for the maximum velocity-profile error, 2.00 for the bulk temperature gradient, and 1.97 for both the wall-to-center temperature difference and Nusselt number. The energy balance error was 0.025% on the finest mesh.




On the finest mesh, the outlet-center temperature was approximately 0.074 K above the fully developed reference. Extrapolation of the three finest-mesh results gave a difference of about 0.066 K from the reference. This temperature difference was reported separately from the mesh convergence of the principal local heat-transfer quantities.
9 Conclusions and Applicable Scope
For the laminar mercury flow considered here, the PBNS solutions showed approximately second-order mesh convergence in the principal flow and heat-transfer quantities. These results support the incompressible flow–energy coupling and uniform wall heat-flux treatment for this pipe configuration. Accuracy for developing inlet flow, turbulent pipe flow, other fluid properties, and general conjugate heat transfer was outside the scope of this evaluation. On the finest mesh, the outlet-center temperature was approximately 0.074 K above the fully developed reference.
10 References
- White, F. M. Fluid Mechanics. Hagen–Poiseuille pipe-flow solution.
- Incropera, F. P., and DeWitt, D. P. Fundamentals of Heat and Mass Transfer. Fully developed, uniform-wall-heat-flux pipe-flow solution.