A simple class to create a 2D mesh for an airfoil in GMSH using python.
pip install airfoils
pip install gmsh==4.8.0
pip install numpy
Script to create a mesh with a NACA airfoil and a particular angle of attack:
python3 gmsh_foil_run.py --foil-number-string 4812 \
--angle-of-attack 0.\
--output-mesh-file-name 'NACA_4812'\
--view 0