Re: How and where to define a 2d airfoil?
I think you need to program this by hand.. But we had a paper on that topic, so you may kontact my Australian friend for help:
2016, N. Nadim, T.T. Chandratilleke and M.J. Krause. LBM-LES Modelling of Low Reynolds Number Turbulent Flow Over NACA0012 Aerofoil. In: Fluid-Structure-Sound Interactions and Control. Ed. by Yu Zhou, A.D. Lucey, Y. Lis and L. Huang. Lecture Notes in Mechanical Engineering. Springer Berlin Heidelberg, 2013, pp. 205-210, 2016.
If the compiling did work, please say that in the forum that other people will not face the some problem again.