To run the model, open magnus.pro with Gmsh
and click on the "Run" button in the left panel.
Features addressed in this tutorial
Potential flow, irrotational flow
Multivalued scalar field
Lift and Magnus effect, stagnation points
Elementary algorithms in the Resolution section
Non-linear iteration to achieve Kutta's condition
This model solves a 2D potential flow around a cylinder or a naca airfoil,
placed in a uniform flow.
The lift force is evaluated by both the integration of pressure
and the Kutta-Jukowski approximation.
In the Airfoil case, a non linear iteration is done
by means of a pseudo-newton scheme,
to ensure that the Kutta condition is verified.