Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
GridGenerator::Airfoil Namespace Reference

Classes

struct  AdditionalData
 

Functions

template<int dim>
void create_triangulation (Triangulation< dim, dim > &tria, const AdditionalData &additional_data=AdditionalData())
 
template<int dim>
void create_triangulation (Triangulation< dim, dim > &tria, std::vector< GridTools::PeriodicFacePair< typename Triangulation< dim, dim >::cell_iterator > > &periodic_faces, const AdditionalData &additional_data=AdditionalData())
 

Detailed Description

Namespace Airfoil contains classes and functions in order to create a C-type mesh for the (flow) field around Joukowski or NACA airfoils.

Function Documentation

◆ create_triangulation() [1/2]

template<int dim>
void GridGenerator::Airfoil::create_triangulation ( Triangulation< dim, dim > & tria,
const AdditionalData & additional_data = AdditionalData() )

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]triaThe triangulation to be created. It needs to be empty upon calling this function.
[in]additional_dataConfiguration of the mesh.

◆ create_triangulation() [2/2]

template<int dim>
void GridGenerator::Airfoil::create_triangulation ( Triangulation< dim, dim > & tria,
std::vector< GridTools::PeriodicFacePair< typename Triangulation< dim, dim >::cell_iterator > > & periodic_faces,
const AdditionalData & additional_data = AdditionalData() )

The same as above but periodic boundary conditions on the upper and lower faces of the far field are applied.

Note
This function is currently only implemented for 2d.
Parameters
[out]triaThe triangulation to be created. It needs to be empty upon calling this function.
[out]periodic_facesPeriodic faces at upper and lower horizontal boundaries.
[in]additional_dataConfiguration of the mesh.