![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <grid_birmingham_fluidized_bed.h>
Public Member Functions | |
| GridBirminghamFluidizedBed (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 |
| bool | enable_chimney |
| double | inlet_offset |
Generates a 3D mesh for the Birmingham fluidized bed geometry.
The geometry is taken from: P. Fede, O. Simonin, and A. Ingram, "3D numerical simulation of a lab-scale pressurized dense fluidized bed focussing on the effect of the particle-particle restitution coefficient and particle-wall boundary conditions," Chemical Engineering Science, vol. 142, pp. 215-235, 2016. DOI: 10.1016/j.ces.2015.11.016
The geometry consists of three or four sections joined along the x-axis:
The chimney is controlled by the enable_chimney constructor argument.
Boundary IDs are assigned as follows:
A CylindricalManifold is attached to the curved lateral surfaces so that mesh refinement preserves the circular cross-sections and the cone taper. When the chimney is enabled, its walls and the annular top wall remain flat.
| dim | The dimension of the mesh, must be 3. |
| spacedim | The dimension of the space, must be 3. |
Definition at line 52 of file grid_birmingham_fluidized_bed.h.
| GridBirminghamFluidizedBed< dim, spacedim >::GridBirminghamFluidizedBed | ( | const std::string & | grid_arguments | ) |
Constructor that parses grid parameters from a colon-separated string.
| [in] | grid_arguments | A string with the following format: "enable_chimney : inlet_offset"
|
| # | Field | Format | Required | Description |
|---|---|---|---|---|
| 0 | enable_chimney | true/false | no | Add chimney outlet (default: true) |
| 1 | inlet_offset | double | no | Extend bottom cylinder into -x (default: 0.0) |
Example:
Definition at line 10 of file grid_birmingham_fluidized_bed.cc.
References enable_chimney, grid_arguments, and inlet_offset.
| void GridBirminghamFluidizedBed< 3, 3 >::make_grid | ( | Triangulation< 3, 3 > & | triangulation | ) |
Definition at line 41 of file grid_birmingham_fluidized_bed.cc.
References enable_chimney, and inlet_offset.
| void GridBirminghamFluidizedBed< dim, spacedim >::make_grid | ( | Triangulation< dim, spacedim > & | triangulation | ) |
Generate the Birmingham fluidized bed mesh.
The cylindrical geometry (bottom cylinder, truncated cone, top cylinder) is first merged and refined with a CylindricalManifold to obtain a finer mesh on the top end cap. The refined mesh is then flattened and an off-center face on the top end cap is selected for the chimney attachment. A hexahedral chimney pipe is built from that face's exact vertices and merged with the flattened mesh. The number of pre-chimney refinements is controlled by the hardcoded parameter n_chimney_refinements.
| [out] | triangulation | The triangulation to fill with the mesh. |
Definition at line 376 of file grid_birmingham_fluidized_bed.cc.
|
private |
Flag used to indicate if the chimney is added or not to the mesh.
Definition at line 93 of file grid_birmingham_fluidized_bed.h.
|
private |
Arguments used to generate the grid.
Definition at line 90 of file grid_birmingham_fluidized_bed.h.
|
private |
Length by which the bottom cylinder extends into negative x.
Definition at line 96 of file grid_birmingham_fluidized_bed.h.