Bing Gao
← Projects

Comparative Analysis of Fluent Results Against Exact Solutions, Meshes, and Experimental Data

Verifying Fluent pipe flow calculations against the Poiseuille exact solution, followed by mesh, domain, and Re=0.1–20 sweeps for flow past a cylinder compared with experimental data.

Comparative Analysis of Fluent Results Against Exact Solutions, Meshes, and Experimental Data

This is my lab record from the Computational Fluid Dynamics course in the Spring 2026 semester.

Course Requirements

The assignment first gave us a pipe 10 m in length and 0.4 m in diameter: fluid enters at a uniform velocity of 1 m/s and gradually evolves into fully developed flow under wall friction. The instructor required us to first calculate the Reynolds number and the analytical hydrodynamic entrance length to determine whether the pipe is long enough; then examine convergence, mass conservation, velocity profiles, wall shear stress, and pressure drop, ultimately comparing the results against the exact Poiseuille solution. The course schematic illustrates this process straightforwardly: boundary layers along both walls thicken from the inlet, merge at the end of the entrance region, and thereafter maintain a parabolic velocity profile. This serves as an excellent foundational case for learning CFD.

Course schematic of pipe boundary layer development and hydrodynamic entrance length
Course schematic of the pipe flow entrance region

The flow past a cylinder task transitioned the problem to an external flow lacking a closed-form analytical solution: the outer boundary must be sufficiently far, the cylinder boundary and the entire domain require defined mesh resolutions, and the simulation results must be checked for convergence, mass conservation, flow fields, and drag, followed by comparison against the smooth cylinder drag curve provided in the course.

Reference drag coefficient curves for smooth cylinders and spheres versus Reynolds number provided in course materials
Reference drag curve for a smooth cylinder provided by the course

Next, I used pipe flow with its exact analytical solution to calibrate the simulation workflow, before switching to flow past a cylinder to systematically examine mesh sensitivity, domain sizing, and experimental discrepancies. This prompted a fundamental question: are the numbers output by Fluent truly reliable?

Calibrating the Workflow with Pipe Flow

The pipe has a length of 10 m and a radius of 0.2 m, with an inlet mean velocity of 1 m/s, density of 1 kg/m³, and dynamic viscosity of 0.004 Pa·s, yielding Re=100Re=100. In Fluent, I used a mesh of 500 quadrilateral cells and 561 nodes. The comparison results are as follows:

Check / MetricAnalytical ValueFluent Result
ConvergenceResiduals <106< 10^{-6}Reached at iteration 53
Mass imbalance02.8×1010-2.8\times10^{-10} kg/s
Maximum centerline velocity2.00 m/s1.98 m/s
Wall shear stress0.08 Pa0.08 Pa
Fully developed pressure drop8 Pa8.65 Pa
Entrance length2.4 m2.4\approx 2.4 m

First, let us examine the velocity field to verify whether the uniform inflow genuinely evolves into a Poiseuille parabolic profile.

Contour of velocity developing from uniform inlet to parabolic profile in the pipe
Velocity development from uniform inlet inside the pipe
Comparison of axial velocity profiles near the pipe inlet and downstream
Velocity profiles in the entrance region and fully developed region

The centerline velocity shows a 1% difference. The extra 0.65 Pa in pressure drop originates from the entrance region: before the velocity profile fully develops into a parabola, the velocity gradient at the wall is steeper, naturally producing higher wall friction. Visually from the plot, the entrance region spans roughly 2 m. When evaluated where the centerline velocity reaches 99% of its asymptotic value, the length is approximately 2.4 m, consistent with analytical correlations.

Curve showing pipe centerline velocity asymptotically approaching its final value along the axial direction
Centerline velocity development along the pipe length
Curve of static pressure drop along the pipe centerline
Centerline static pressure variation along the pipe length

Investigating the Cylinder Case Without an Exact Solution

The cylinder diameter is 1 m, surrounded by a circular external domain of diameter D2D_2. The density is 1 kg/m³ and dynamic viscosity is 10310^{-3} Pa·s; Reynolds numbers are varied by adjusting the inlet velocity. The setup is 2D, steady, laminar, and incompressible. A uniform velocity is prescribed at the inlet, zero gauge pressure at the outlet, and no-slip at the cylinder wall.

I first identified the grid and domain independence plateaus at Re=10Re=10, then locked these settings to sweep from Re=0.1Re=0.1 to 20.

Inner and outer circle diameter parameters for the external flow domain around a cylinder
Parametric geometry of cylinder with adjustable outer boundary
Cell Count5020045080012,80028,80040,000
CDC_D3.13282.79822.77572.78002.79382.79532.7973

Starting from 12,800 cells, the variation in CDC_D remains below 0.1%. I ultimately selected 40,000 cells with CD=2.7973C_D=2.7973.

Mesh sensitivity at Re=10

Notably, refining from 12,800 to 28,800 cells produced a variation of only 0.05%, with the two points lying very close together. However, two adjacent fine-mesh points alone do not prove the existence of an asymptotic plateau—they might simply happen to be near each other before convergence. Therefore, I also swept in the coarser direction. The 50-cell mesh yielded 3.1328, approximately 12% higher than the converged value. It is precisely this coarse-grid anchor that demonstrates the solution genuinely varies with resolution, making the direction and magnitude of grid dependence visible and truly convincing.

With the mesh fixed, I increased the outer domain diameter from 100 m to 200 m:

D2D_2100 m120 m150 m180 m200 m
CDC_D2.79732.78892.78062.77512.7723

The variation from 100 m to 200 m is under 1%, so 100 m was retained.

Domain sensitivity under fixed mesh

Smaller domains of 20–80 m elevated CDC_D to approximately 3.05, indicating that tight outer boundaries artificially constrict the flow. However, because those lower domain points also used coarser boundary discretizations, they only demonstrate the order of magnitude of domain confinement without fully isolating domain size from mesh density.

The parametric sweep employed a consistent mesh of ~20,200 nodes with D2=50D_2=50 m. As ReRe increased from 0.1 to 20, CDC_D dropped from 92.4 to 2.06.

ReReInlet Velocity (m/s)Drag Force (N)CDC_D
0.110410^{-4}4.62×1074.62\times10^{-7}92.4
0.55×1045\times10^{-4}2.42×1062.42\times10^{-6}19.37
110310^{-3}5.71×1065.71\times10^{-6}11.43
55×1035\times10^{-3}5.14×1055.14\times10^{-5}4.11
1010210^{-2}1.43×1041.43\times10^{-4}2.85
202×1022\times10^{-2}4.11×1044.11\times10^{-4}2.06

The two animations below sequentially display actual Fluent outputs across Re=0.1Re=0.1, 0.5, 1, 5, 10, and 20.

Velocity field sweep for Re=0.1–20
Static pressure field sweep for Re=0.1–20

The endpoint contour comparisons highlight the structural differences across the sweep. At Re=0.1Re=0.1, viscous effects diffuse over an extensive region, leaving only a smooth, symmetric low-velocity zone behind the cylinder; by Re=20Re=20, the wake becomes noticeably more concentrated, and both the upstream stagnation high pressure and downstream low-pressure wake are clearly defined.

Fluent velocity magnitude contour around cylinder at Reynolds number 0.1
Velocity field at Re=0.1
Fluent velocity magnitude contour around cylinder at Reynolds number 20
Velocity field at Re=20
Fluent static pressure contour around cylinder at Reynolds number 0.1
Static pressure field at Re=0.1
Fluent static pressure contour around cylinder at Reynolds number 20
Static pressure field at Re=20

Comparison with Six Experimental Cases

Comparing against the experimental table from the course notes, only Re=20Re=20 fell within the 5% error margin:

ReRe0.10.5151020
Relative Error81.2%51.1%48.9%32.4%17.5%3.83%

The other five operating points failed the criterion :(

Why was the discrepancy largest at very low Reynolds numbers? In post-analysis, one contributing factor is setup configuration: the sweep mesh was coarser than the 40,000-cell reference grid at Re=10Re=10, and the domain was smaller. These setup differences alone shifted CDC_D at Re=10Re=10 from 2.7973 to 2.85. Another potential reason stems from model assumptions: at Re1Re\le1, steady 2D flow is a much more demanding assumption. In the Re=0.1Re=0.1 run, continuity residuals stalled, and velocity residuals only dropped to 10310^{-3}; consequently, the 92.4 drag coefficient is the least reliable among the six results.

Iteration residual history for continuity and velocity at Reynolds number 0.1
Residual history at Re=0.1

The written documentation for the pipe flow noted a 1,000-cell mesh, but the only surviving console log originated from a 500-cell run. This article reports data aligned with that log. Another discrepancy surfaced in the cylinder surface pressure coefficient (CpC_p) curves: the exported plot labeled Re=20Re=20 was identical to the Re=10Re=10 file. As a result, this article excludes that CpC_p plot from supporting conclusions for Re=20Re=20. The static pressure contour and force data table for Re=20Re=20 correctly correspond to that condition. Hence, every figure and number must first be traced back to its specific run provenance; filenames and captions are merely clues, whereas console logs and raw outputs establish true data attribution.

Summary

This assignment served as the starting point for establishing my CFD verification and validation methodology. I began with two relatively simple steady-state problems: verifying pipe flow against the exact Poiseuille solution, followed by examining low-Reynolds-number cylinder flow across varying meshes, domain sizes, and external reference benchmarks. This stage addressed a fundamental question: what rigorous checks must a steady CFD result undergo before it can be trusted?

Establishing a mesh independence plateau cannot rely solely on two closely agreeing fine-grid points. One must also sweep toward coarser meshes to observe the solution clearly diverging from the plateau; computational domain size must likewise be varied independently to verify that far-field boundaries no longer artificially constrain drag. Among the six Reynolds number cases, only Re=20Re=20 met the 5% error threshold. This demonstrates that residual convergence is merely a starting prerequisite—it does not inherently guarantee that the model, mesh, and computational domain are sufficiently accurate.

The investigation here concluded with 2D steady laminar flow at Re20Re\le20. Having established this systematic verification protocol, I subsequently extended the cylinder case to higher Reynolds numbers in subsequent assignments: first establishing a steady wake benchmark at Re=40Re=40, and then investigating unsteady vortex shedding, lift/drag histories, and the Strouhal number at Re=150Re=150. The logical progression is clear: first confirm whether steady-state results are credible, and only then investigate how flow dynamics evolve over time.