Hey, Nasser here 👋
In CFD, “convergence” is a numerical concept most users think they understand.
A Google / ChatGPT definition will return something like:
“CFD convergence is the point in an iterative simulation where the numerical solution stabilizes, meaning calculated flow variables (like velocity, pressure, temperature) stop changing significantly with each iteration, indicating the solution is approaching a stable, reliable answer for the physical problem being modelled.”
We have the general idea, but the complete (most useful) picture is missing.
Yes, the errors in the iterative solution should be reducing over time / each iteration.
But no, it doesn’t necessarily mean we have a “reliable” answer for the physics problem being simulated.
And this is the key point.
What OpenFOAM is really doing
When you run the solver (simpleFoam, pimpleFoam etc), OpenFOAM isn’t solving the Navier-Stokes equation.
At least not directly.
Instead it discretises the problem into algorithmic equations that represent those physical laws.
So, when OpenFOAM prints to the console:
Solving for Ux, Initial residual = 1e-06, Final residual = 1e-08
It means:
-
a linear system was solved to a tolerance (either default or user-set)
-
it did it for for the current iteration
-
it did it using the current approximations of all other fields
It does not mean:
-
the physics is correct
-
the model is valid
-
the result is defensible
It actually means:
“The algebraic system I constructed is self-consistent.”
That’s all.
Nothing more. Nothing less.
When you really understand this you’ll never simply take a good-looking residuals plot at face value ever again.
I always recommend independent values like the Nusselt number for thermal cases or the Drag coefficient for aerodynamic cases be monitored for greater confidence in your simulation results.
If you found this email helpful / insightful then please consider supporting me directly. Upgrade your subscription for more progress in less time:
✅ Copy my detailed case walkthroughs / recipes for deeper solver insights
✅ Start your learning the right way with “The OpenFOAM Diet” manual
✅ Access a member-only chat for your OpenFOAM case issues
Like, Share and Repost to help build the most accessible simulation community on the Internet!
See you soon.
When you’re ready, I can help you in other ways…
🎓Learn about CFD fundamentals, simulation and digital engineering with me daily.
Follow me on LinkedIn: https://www.linkedin.com/in/nassermushtaq/
📔Study OpenFOAM with The OpenFOAM Diet manual. I wrote this to give OpenFOAM beginners a manual to start their learning journey the right way, building simulation confidence early. Access here
📢Advertise your engineering educational product or open-source tools to my fast-growing audience. I write here to 1k subscribers and also more frequently on LinkedIn to 6k followers. Email me directly at: hi@nasserm.com
Disclaimer:
All content in this post and newsletter is my own production and do not reflect the opinions or positions of my employers, partners or associates.
