Computers do love physics…
I began my journey into programming physics engines and solvers about 7 years ago now, whilst an active Senior Mechanical Engineer in London, UK.
It was excruciatingly painful but equally rewarding in a variety of ways…
(It definitely tested my resolve and commitment to learn!)
It led me down various
…OpenFOAM / CFD is NOT that hard…
It was released over 20 years ago and has become popular ever since.
If you think about it, it generally follows the CFD / computational process that pretty much exists in most simulation workflows to this day…
CAD → Mesh → Solve → Results
It’s a structured, proven codebase that works for a wide range
…Tinkering some more with snappyHexMesh
Most people struggle to generate layers predictably with snappyHexMesh.
So much so, they leave it for another, often commercial alternative.

But I haven’t given up on it.
You
…Meshing Setup vs Strategy
Before I get into this one, I wanted to remind you that The OpenFOAM Diet is now available to read! You’ll actually start learning how to use OpenFOAM properly without the fluff and confusion. (You’ll also be supporting my continued effort to make this tool and simulation knowledge more accessible
…Debugging snappyHexMesh
It’s often tedious to configure, geometry-specific and boundary layer generation has a notorious reputation.
But snappyHexMesh (SHM) has always been packaged with OpenFOAM from the beginning…and it was designed to bridge the gap between the messy, real-world of CAD design parts and CFD simulation.
Whi
…My “Minimum Viable Simulation” method
Professional Engineers use simulation tools differently.
They’ve been in the trenches.
They’re up against the deadlines.
They’ve developed workflows to mitigate the risks.
I’ve noticed, even in my own Engineering journey, that I was forced to develop a better way of doing things if I was ever to
…Demystifying snappyHexMesh [Part 4]
In this final part of the snappyHexMesh (SHM) series, I share the very critical (and often the most tedious) part of the mesh generation process - generating boundary layers.
Most users don’t know how this works in SHM.
Reminder: SHM uses a recursive algorithm to generate meshes based on your STL
Demystifying snappyHexMesh [Part 3]
If you’ve been following this series of snappyHexMesh (SHM) posts, you’ll know we’ve got the first resemblance of a mesh…
I wanted this to be a structured assessment of SHM’s potential for generating a good mesh for OpenFOAM.
But there are so many parameters and it can become a tedious game with lots
…Demystifying snappyHexMesh [Part 2]
Most Engineers struggle to generate a good mesh, valid for the CFD simulation.
Yet the mesh is the source of truth in the eyes of the Solver.
If you have a poor mesh, you’ll likely
…Demystifying snappyHexMesh [Part 1]
Hey, Nasser here 👋
If you’ve ever tried to use snappyHexMesh (SHM) and thought, “why did it do that?!” - you’re not alone.
In fact, I remember the first time I used it, thinking I can just get away with a given template…I was wrong!
As soon as I wanted to generate a mesh for a different CAD model with
…