NACA 4-digit airfoil mesh using blockMesh with m4 macro
Ehsan Madadi-Kandjani · Figshare · 2018
This piece of code provides a mesh for NACA-4digits airfoils using blockMesh. It is a generalized piece of code where you can define the 4-digits and angle of attack inside the script to produce the desired mesh for your case. blockMesh is a built-in mesher in OpenFOAM®. It uses simple block structured meshes. The script is coded using the m4 macro and Perl.commands.