Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
GridBirminghamFluidizedBed< dim, spacedim > Class Template Reference

#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

Detailed Description

template<int dim, int spacedim>
class GridBirminghamFluidizedBed< dim, spacedim >

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:

  • A bottom cylinder of small radius (0.077 m),
  • A truncated cone expanding from the small to a larger radius (0.127 m),
  • A top cylinder of the larger radius,
  • (optional) A rectangular chimney pipe extending from an off-center cell of the top end cap, serving as the outlet.

The chimney is controlled by the enable_chimney constructor argument.

Boundary IDs are assigned as follows:

  • 0: wall surfaces (curved cylinder/cone laterals; when the chimney is enabled this also includes the chimney walls and the annular top wall around the chimney opening),
  • 1: inlet end cap (x = -inlet_offset),
  • 2: outlet end cap (x = total length), or chimney top face when the chimney is enabled.

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.

Template Parameters
dimThe dimension of the mesh, must be 3.
spacedimThe dimension of the space, must be 3.

Definition at line 52 of file grid_birmingham_fluidized_bed.h.

Constructor & Destructor Documentation

◆ GridBirminghamFluidizedBed()

template<int dim, int spacedim>
GridBirminghamFluidizedBed< dim, spacedim >::GridBirminghamFluidizedBed ( const std::string & grid_arguments)

Constructor that parses grid parameters from a colon-separated string.

Parameters
[in]grid_argumentsA 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:

"true : 0.1"

Definition at line 10 of file grid_birmingham_fluidized_bed.cc.

References enable_chimney, grid_arguments, and inlet_offset.

Member Function Documentation

◆ make_grid() [1/2]

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.

◆ make_grid() [2/2]

template<int dim, int spacedim>
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.

Parameters
[out]triangulationThe triangulation to fill with the mesh.

Definition at line 376 of file grid_birmingham_fluidized_bed.cc.

Member Data Documentation

◆ enable_chimney

template<int dim, int spacedim>
bool GridBirminghamFluidizedBed< dim, spacedim >::enable_chimney
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.

◆ grid_arguments

template<int dim, int spacedim>
std::string GridBirminghamFluidizedBed< dim, spacedim >::grid_arguments
private

Arguments used to generate the grid.

Definition at line 90 of file grid_birmingham_fluidized_bed.h.

◆ inlet_offset

template<int dim, int spacedim>
double GridBirminghamFluidizedBed< dim, spacedim >::inlet_offset
private

Length by which the bottom cylinder extends into negative x.

Definition at line 96 of file grid_birmingham_fluidized_bed.h.


The documentation for this class was generated from the following files: