DEV Community

Cover image for CFD Struggles :)
Spondon Saha
Spondon Saha

Posted on

CFD Struggles :)

CFD without prior knowledge is painful.

In order to progress in my Comparative Aerodynamic Analysis project, I have started to try and run the CFD solver on my CAD model of a rectangular wing, which has a 200 mm chord, 600 mm span and follows the standard NACA 2412 profile. Insane underestimation of how difficult OpenFOAM would be, for sure.

Only OpenFOAM knows how I ended up with this mesh:

Computational Domain

I mean in a way it's impressive how I turned a square computational domain into something way more complex, right?

Here is my .stl in ParaView:

.stl file

Here is my mesh in ParaView after running the solver:

Mesh

So I exported a refined mesh from OnShape, five times before I got a somewhat usable result. The pressure contours this time made sense:

pressure contours

prressure contours bottom

Then I decided I wanted to turn addLayers to true in snappyHexMeshDict. Evidently, not a good idea:

one huge mess

Why? Yet to be figured out.

I removed addLayers and then colored by velocity to see the velocity contours.

velocity contours

At least my Stream Tracers look sensible?

Stream Tracers

Yes. Trying to solve a self directed CFD case before properly learning CFD is clearly NOT a good idea. So naturally, I've decided to learn Fluid Dynamics & OpenFOAM in intricate detail before my next attempt. This might take a while but I don't see another path forward that will lead to the success of this project.

That was one hell of a week-long learning experience, though.

Top comments (0)