OpenFOAM Baby Steps - 3D Flow Over a Wing (Episode 2)
This is the second in a series. You can start the series here. The series follows my journey figuring out how to use OpenFOAM for something more than repeating tutorials that already exist! Sometimes that journey gets a little rocky! :)
The setup is similar to the 2D cylinder in last episode. This time, I used the Airplane Design Workbench in FreeCAD (if you don't see it listed, check your Tools -> Addon Manager). I created a wing with two segments, using the provided NACA 2412 airfoil. The specifics are not terribly important; my goal was to get a mesh to compute and get the OpenFOAM solution to converge.
The CFD setup was straightforward: steady-state, incompressible flow. I created a 'Symmetry' constraint on the near wall. The far, top and bottom walls had an inviscid constraint. The flow went in the +X direction, and the appropriate faces constrained as Inlet and Outlet. The wing surfaces all had a viscoud (no-slip) constraint.
Taking the results into ParaView, I learned what the Clip filter does! Then I added arrow glyphs to represent velocity. I did not figure out how to avoid the short, stubby arrows, but that is a problem for future me.
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.