![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <grid_impinging_jet_mixer.h>
Public Member Functions | |
| GridImpingingJetMixer (const std::string &grid_arguments) | |
| void | make_grid (Triangulation< dim, spacedim > &triangulation) |
| void | make_grid (Triangulation< 3, 3 > &triangulation) |
Private Attributes | |
| std::string | grid_arguments |
| MixerGeometry | geometry |
Generates a 3D mesh for an impinging-jet mixer geometry.
The geometry (axis of the mixing chamber = z, vertical) consists of:
A round pipe entering the curved wall of a larger cylinder is a saddle intersection that cannot be produced conformingly by merging library primitives (a naive merge leaves the pipes floating against the wall). The inlet pipes are therefore grown out of the chamber wall itself:
Boundary IDs are assigned as follows:
Manifold IDs are assigned as follows:
| dim | The dimension of the mesh, must be 3. |
| spacedim | The dimension of the space, must be 3. |
Definition at line 105 of file grid_impinging_jet_mixer.h.
| GridImpingingJetMixer< dim, spacedim >::GridImpingingJetMixer | ( | const std::string & | grid_arguments | ) |
Constructor that parses the geometry dimensions from a colon-separated string.
The eight geometric dimensions (all in metres) are, in order: R_chamber : r_inlet : r_outlet : H_chamber : L_cone : L_outlet : L_inlet : z_inlet An empty string keeps the default dimensions. The mesh discretisation is not exposed and stays hardcoded.
| [in] | grid_arguments | A colon-separated string with the geometry dimensions, or an empty string to use the defaults. |
Definition at line 179 of file grid_impinging_jet_mixer.cc.
References geometry, grid_arguments, MixerGeometry::H_chamber, MixerGeometry::L_cone, MixerGeometry::L_inlet, MixerGeometry::L_outlet, MixerGeometry::R_chamber, MixerGeometry::r_inlet, MixerGeometry::r_outlet, and MixerGeometry::z_inlet.
| void GridImpingingJetMixer< 3, 3 >::make_grid | ( | Triangulation< 3, 3 > & | triangulation | ) |
Definition at line 246 of file grid_impinging_jet_mixer.cc.
References geometry, MixerGeometry::L_inlet, MixerGeometry::R_chamber, MixerGeometry::r_inlet, MixerGeometry::z_chamber_top(), MixerGeometry::z_dome_center(), MixerGeometry::z_inlet, and MixerGeometry::z_outlet_bottom().
| void GridImpingingJetMixer< dim, spacedim >::make_grid | ( | Triangulation< dim, spacedim > & | triangulation | ) |
Generate the impinging-jet mixer mesh.
| [out] | triangulation | The triangulation to fill with the mesh. |
Definition at line 616 of file grid_impinging_jet_mixer.cc.
|
private |
All geometry dimensions (SI units, metres), with their defaults. Populated from the grid-argument string by the constructor when one is provided.
Definition at line 137 of file grid_impinging_jet_mixer.h.
|
private |
Arguments used to generate the grid.
Definition at line 133 of file grid_impinging_jet_mixer.h.