๐ Introduction
In computational fluid dynamics (CFD), verifying the solution of known analytical problems helps build confidence in simulation tools and numerical schemes. One such classical benchmark is Poiseuille flow โ a pressure-driven, fully developed laminar flow through a channel.
In this post, I recreate and verify the parabolic velocity profile of Poiseuille flow using OpenFOAM, and visualize it using ParaView.
๐ What Is Poiseuille Flow?
Poiseuille flow describes steady, incompressible, laminar flow of a Newtonian fluid in a long, straight channel driven by a pressure gradient.
โ Assumptions
- Incompressible and Newtonian fluid
- Laminar, steady-state flow
- Fully developed: no changes along the flow direction
- No-slip boundary condition at the walls
โ Governing Equation
From the NavierโStokes equations, the simplified form for x-direction is:
Solving gives:
This is a parabola, symmetric across the channel height, with zero velocity at the walls and maximum velocity at the center.
๐ ๏ธ CFD Simulation with OpenFOAM
To simulate this in OpenFOAM:
โ Geometry
- A 2D rectangular channel:
- Length: 1.0 m
- Height: 0.1 m
- Depth: 0.01 m (or use
empty
for 2D)
โ Boundary Conditions
Inlet: fixed pressure (1 unit)
Outlet: fixed pressure (0 unit)
Walls: no-slip (U = 0)
Internal Field: uniform (0 0 0)
โ Solver
Use icoFoam
(transient, laminar, incompressible)
๐ Visualization in ParaView
After running the simulation:
- Create a
.foam
file to open in ParaView - Use "Plot Over Line" tool
- Define a vertical line at mid-channel (
x=0.5
), fromy=0.0
toy=0.1
- Plot the
U_X
component of velocity
๐ Result
The resulting plot shows the expected parabolic profile:
๐ก Key Learnings
- Poiseuille flow is an ideal case for verifying laminar solvers
- Boundary condition correctness is crucial
- Mesh resolution affects symmetry and smoothness
- ParaView enables direct comparison to theory
๐ง Beyond the Code: What Poiseuille Flow Teaches Us
At first glance, Poiseuille flow is just a parabolic curve. But under the surface, it reveals deeper truths.
๐ Pressure as a Metaphor
In this simulation, the fluid moves not because it wants to โ but because pressure compels it. It obeys boundaries, yet flows optimally. This is how life often works โ pressure shapes motion, boundaries define form.
๐งฉ The Parabola of Nature
That arc you see isnโt just math. Itโs how rivers curve, how air flows through lungs, how blood pulses through arteries. Itโs nature optimizing flow โ again and again.
๐งญ The Simulation Reflects You
As a solver:
- You define conditions
- You impose structure
- You wait for the system to converge
And maybe, just maybe, in the symmetry of that parabola, you catch a glimpse of your own search for balance.
โ Conclusion
Poiseuille flow is more than a simulation โ itโs a philosophical checkpoint. Youโre not just verifying code. Youโre using math and computation to echo nature.
You didnโt just run a case.
You discovered order, where theory meets flow, and code meets clarity.
Happy simulating. ๐
Top comments (0)