deal.II version GIT relicensing-2165-gc91f007519 2024-11-20 01:40:00+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 2465 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 2471 of file grid_generator.h.
std::string GridGenerator::Airfoil::AdditionalData::naca_id |
NACA serial number defining the airfoil shape.
Definition at line 2480 of file grid_generator.h.
Point<2, double> GridGenerator::Airfoil::AdditionalData::joukowski_center |
Center of Joukowski circle.
Definition at line 2487 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 2493 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 2499 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 2504 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
o-----G---G'--K / | | / | / o | / | / / \ |/ |o-—o H----—o
Definition at line 2521 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 2529 of file grid_generator.h.
unsigned int GridGenerator::Airfoil::AdditionalData::refinements |
Number of global refinements.
Definition at line 2534 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 2539 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 2544 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 2549 of file grid_generator.h.
unsigned int GridGenerator::Airfoil::AdditionalData::n_subdivision_y |
Number of subdivisions normal to the airfoil contour.
Definition at line 2554 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 2567 of file grid_generator.h.