Namespace Airfoil contains classes and functions in order to create a C-type mesh for the (flow) field around Joukowski or NACA airfoils.
Initialize the given triangulation with a flow field around an airfoil, i.e., a mesh of C-Type approximating Joukowski or NACA (4 digit) airfoils.
The user can specify the airfoil geometry and the mesh setup by providing input parameters for the struct AdditionalData. Thereby, the user can choose among different types of Joukowski or NACA airfoils with variable chord length, far field size and mesh density.
- Note
- This function creates a refined mesh (number of global refinements can be specified by the user). No manifold is attached. The vertices in the final mesh are moved by this function to the right position.
-
This function is currently only implemented for 2D but the mesh can of course be extruded into the third dimension using GridGenerator::extrude().
- Parameters
-
[out] | tria | The triangulation to be created. It needs to be empty upon calling this function. |
[in] | additional_data | Configuration of the mesh. |