OpenFOAM / CFD is NOT that hard...

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

Read Full Post →
Tinkering some more with snappyHexMesh

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.

Always start with a refined mesh near the walls, SHM did a good job with the distance refinement for the defined wall regions

But I haven’t given up on it.

You

Read Full Post →
Meshing Setup vs Strategy

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

Read Full Post →
Debugging snappyHexMesh

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

Read Full Post →
My "Minimum Viable Simulation" method

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

Read Full Post →
Demystifying snappyHexMesh [Part 4]

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

Read Full Post →
Demystifying snappyHexMesh [Part 3]

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

Read Full Post →
Demystifying snappyHexMesh [Part 2]

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.

Demonstrating the mesh generation and refinement process. A Z-plane slice of my mock tank mesh taken in ParaView.

If you have a poor mesh, you’ll likely

Read Full Post →
Demystifying snappyHexMesh [Part 1]

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

Read Full Post →
OpenFOAM in 2028

OpenFOAM in 2028

A desktop full of:
Dict files
Folders
Commands
FunctionObjects
Mess…

Despite my experience with OpenFOAM, I still need to be (very) careful with every setup I do, especially when complexity increases.

I can miss:

  • key values to keep the solver happy

  • relaxation settings to keep the solution steady

  • Y+ / layer

Read Full Post →