Reference documentation for deal.II version GIT 75f1417c0d 20230203 16:10:02+00:00

#include <deal.II/grid/grid_generator.h>
Public Member Functions  
AdditionalData ()  
void  add_parameters (ParameterHandler &prm) 
Public Attributes  
std::string  airfoil_type 
std::string  naca_id 
Point< 2, double >  joukowski_center 
double  airfoil_length 
double  height 
double  length_b2 
double  incline_factor 
double  bias_factor 
unsigned int  refinements 
unsigned int  n_subdivision_x_0 
unsigned int  n_subdivision_x_1 
unsigned int  n_subdivision_x_2 
unsigned int  n_subdivision_y 
unsigned int  airfoil_sampling_factor 
AdditionalData collects all settings that are required to generate a airfoil triangulation with the functions Airfoil::create_triangulation().
Definition at line 2299 of file grid_generator.h.
GridGenerator::Airfoil::AdditionalData::AdditionalData  (  ) 
Constructor.
void GridGenerator::Airfoil::AdditionalData::add_parameters  (  ParameterHandler &  prm  ) 
This function adds the ParameterHandler entries.
[in]  prm  Parameter handler. 
std::string GridGenerator::Airfoil::AdditionalData::airfoil_type 
Type of the airfoil: either "NACA" or "Joukowksi" to choose airfoil geometry among NACA and Joukowski airfoil.
Definition at line 2305 of file grid_generator.h.
std::string GridGenerator::Airfoil::AdditionalData::naca_id 
NACA serial number defining the airfoil shape.
Definition at line 2314 of file grid_generator.h.
Center of Joukowski circle.
Definition at line 2321 of file grid_generator.h.
double GridGenerator::Airfoil::AdditionalData::airfoil_length 
Chord length of the airfoil, i.e. distance from leading to trailing edge.
Definition at line 2327 of file grid_generator.h.
double GridGenerator::Airfoil::AdditionalData::height 
Vertical distance from airfoil chord to upper boundary of the mesh i.e. half of the total mesh height.
Definition at line 2333 of file grid_generator.h.
double GridGenerator::Airfoil::AdditionalData::length_b2 
Length of mesh from the airfoil trailing edge to outflow boundary.
Definition at line 2338 of file grid_generator.h.
double GridGenerator::Airfoil::AdditionalData::incline_factor 
Factor defining the inclination HG of the coarse grid The figure shows the upper coarse grid with two different inclinations
oGG'K /   /  / o  /  / / \ /  oo Ho
Definition at line 2355 of file grid_generator.h.
double GridGenerator::Airfoil::AdditionalData::bias_factor 
Factor to receive a finer mesh around the airfoil by increasing bias_factor b. Bias function: f(x) = tanh(bx) / tanh(x) with x in [0,1], leads to a compression of values close to x = 1.
Definition at line 2363 of file grid_generator.h.
unsigned int GridGenerator::Airfoil::AdditionalData::refinements 
Number of global refinements.
Definition at line 2368 of file grid_generator.h.
unsigned int GridGenerator::Airfoil::AdditionalData::n_subdivision_x_0 
Number of subdivisions along the airfoil in left block.
Definition at line 2373 of file grid_generator.h.
unsigned int GridGenerator::Airfoil::AdditionalData::n_subdivision_x_1 
Number of subdivisions along the airfoil in middle block.
Definition at line 2378 of file grid_generator.h.
unsigned int GridGenerator::Airfoil::AdditionalData::n_subdivision_x_2 
Number of subdivisions in block right of the airfoil.
Definition at line 2383 of file grid_generator.h.
unsigned int GridGenerator::Airfoil::AdditionalData::n_subdivision_y 
Number of subdivisions normal to the airfoil contour.
Definition at line 2388 of file grid_generator.h.
unsigned int GridGenerator::Airfoil::AdditionalData::airfoil_sampling_factor 
Factor to enhance the approximation of the airfoil geometry that happens when interpolating provided nonequidistant airfoil points to equidistant airfoil points. When generating the required vector consisting the equidistant airfoil points, it is interpolated between nonequidistand airfoil points. Increasing the provided nonequidistant airfoil points leads to a better approximation of the airfoil geometry. Parameter "airfoil_sampling_factor" thereby defines the relation of provided_nonequidistant_points to required_equidistant_points.
Definition at line 2401 of file grid_generator.h.