![]() |
ryujin 2.1.1 revision 9dcb748690310d6a540ebb8b066d1a0834fc7604
|
Namespaces | |
namespace | ryujin::GridGenerator |
namespace | ryujin::Geometries |
Classes | |
class | ryujin::CubicSpline |
class | ryujin::Discretization< dim > |
class | ryujin::Geometry< dim > |
class | ryujin::Geometries::Airfoil< dim > |
class | ryujin::Geometries::Annulus< dim > |
class | ryujin::Geometries::Cylinder< dim > |
class | ryujin::Geometries::RectangularDomain< dim > |
class | ryujin::Geometries::Step< dim > |
class | ryujin::Geometries::Wall< dim > |
Enumerations | |
enum | ryujin::Boundary : dealii::types::boundary_id { ryujin::do_nothing = 0 , ryujin::periodic = 1 , ryujin::slip = 2 , ryujin::no_slip = 3 , ryujin::dirichlet = 4 , ryujin::dynamic = 5 } |
Functions | |
template<int dim, int spacedim, template< int, int > class Triangulation> | |
void | ryujin::GridGenerator::annulus (Triangulation< dim, spacedim > &, const double, const double, const double, const double) |
template<int dim, int spacedim, template< int, int > class Triangulation> | |
void | ryujin::GridGenerator::cylinder (Triangulation< dim, spacedim > &, const double, const double, const double, const double) |
template<int dim, typename T > | |
void | ryujin::Geometries::populate_geometry_list (T &geometry_list, const std::string &subsection) |
template<int dim, template< int, int > class Triangulation> | |
void | ryujin::GridGenerator::step (Triangulation< dim, dim > &, const double, const double, const double, const double) |
template<int dim, int spacedim, template< int, int > class Triangulation> | |
void | ryujin::GridGenerator::wall (Triangulation< dim, spacedim > &, const double, const double, const double) |
Several classes and helper functions for creating meshes for a number of benchmark configurations and controlling the finite element discretization.
enum ryujin::Boundary : dealii::types::boundary_id |
An enum of type dealii::types::boundary_id that provides an mnemonic for prescribing different boundary conditions on faces.
Enumerator | |
---|---|
do_nothing | The "do nothing" outflow boundary condition: no special treatment of the boundary degree of freedom. For stability reasons it is important to ensure that this boundary id is only prescribed on degrees of freedom with a velocity vector pointing outward of the computational domain and coming from the interior of the domain. |
periodic | Prescribe periodic boundary conditions by identifying opposing degrees of freedom. This currently requires a mesh with "standard orientation". |
slip | On (free) slip boundary degrees of freedom we enforce a vanishing normal component of the momentum in the Euler module. This is done by explicitly removing the normal component of the momentum for the degree of freedom at the end of TimeStep::euler_step(). In the dissipation module \(v\cdot n\) is enforced strongly which leads to a natural boundary condition on the symmetric stress tensor: \(\tau\cdot\mathbb{S}(v)\cdot\vec n\). |
no_slip | On no-slip boundary degrees of freedom we enforce a vanishing normal component of the momentum in the Euler module. This is done by explicitly removing the normal component of the momentum for the degree of freedom at the end of TimeStep::euler_step(). In the dissipation module a vanishing velocity \(v=0\) is enforced strongly. |
dirichlet | On degrees of freedom marked as Dirichlet boundary we reset the state of the degree of freedom to the value of InitialData::initial_state(). Such Dirichlet conditions can only be meaningfully enforced as inflow conditions, i.e., the velocity vector associated with a Dirichlet boundary degree of freedom has to point into the computational domain, and no "backward travelling" shock front or other flow feature must reach a Dirichlet boundary degree of freedom during the computation. |
dynamic | On degrees of freedom marked as a "dynamic" Dirichlet boundary we reset the state of the degree of freedom to the value of InitialData::initial_state() if the state of the degree of freedom is inflow. Otherwise we do nothing. |
Definition at line 48 of file discretization.h.
void ryujin::GridGenerator::annulus | ( | Triangulation< dim, spacedim > & | , |
const double | , | ||
const double | , | ||
const double | , | ||
const double | |||
) |
Create a 2D/3D partial annulus configuration with the given length, height, radii and angle coverage.
We set slip boundary conditions on all boundaries.
Definition at line 23 of file geometry_annulus.h.
Referenced by ryujin::Geometries::Annulus< dim >::create_triangulation().
void ryujin::GridGenerator::cylinder | ( | Triangulation< dim, spacedim > & | , |
const double | , | ||
const double | , | ||
const double | , | ||
const double | |||
) |
Create a 2D/3D cylinder configuration with the given length and height.
We set Dirichlet boundary conditions on the left boundary and do-nothing boundary conditions on the right boundary. All other boundaries (including the cylinder) have slip boundary conditions prescribed.
The 3D mesh is created by extruding the 2D mesh with a width equal to the "height".
Definition at line 29 of file geometry_cylinder.h.
Referenced by ryujin::Geometries::Cylinder< dim >::create_triangulation().
void ryujin::Geometries::populate_geometry_list | ( | T & | geometry_list, |
const std::string & | subsection | ||
) |
Populate a given container with all initial state defined in this namespace
Definition at line 32 of file geometry_library.h.
References ryujin::add().
void ryujin::GridGenerator::step | ( | Triangulation< dim, dim > & | , |
const double | , | ||
const double | , | ||
const double | , | ||
const double | |||
) |
Create the 2D mach step triangulation.
Even though this function has a template parameter dim
, it is only implemented for dimension 2.
Definition at line 23 of file geometry_step.h.
Referenced by ryujin::Geometries::Step< dim >::create_triangulation().
void ryujin::GridGenerator::wall | ( | Triangulation< dim, spacedim > & | , |
const double | , | ||
const double | , | ||
const double | |||
) |
Create a 2D double-mach reflection wall configuration:
A rectangular domain with given length and height. The boundary conditions are dirichlet conditions on the top and left of the domain and do-nothing on the right side and the front part of the bottom side from [0, wall_position)
. Slip boundary conditions are enforced on the bottom side on [wall_position, length)
.
Definition at line 27 of file geometry_wall.h.
Referenced by ryujin::Geometries::Wall< dim >::create_triangulation().