Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
particle_projector.h File Reference
#include <core/dem_properties.h>
#include <core/fluid_dynamics_boundary_conditions.h>
#include <core/parameters_cfd_dem.h>
#include <core/vector.h>
#include <solvers/navier_stokes_scratch_data.h>
#include <solvers/physics_subequations_solver.h>
#include <solvers/simulation_parameters.h>
#include <deal.II/base/index_set.h>
#include <deal.II/base/utilities.h>
#include <deal.II/distributed/tria_base.h>
#include <deal.II/dofs/dof_handler.h>
#include <deal.II/fe/fe_q.h>
#include <deal.II/fe/fe_simplex_p.h>
#include <deal.II/fe/fe_system.h>
#include <deal.II/fe/mapping_fe.h>
#include <deal.II/lac/affine_constraints.h>
#include <deal.II/lac/trilinos_precondition.h>
#include <deal.II/lac/trilinos_sparse_matrix.h>
#include <deal.II/numerics/data_out.h>
#include <deal.II/numerics/vector_tools.h>
#include <deal.II/particles/particle_handler.h>
#include <utility>
Include dependency graph for particle_projector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ParticleFieldQCM< dim, n_components, property_start_index >
class  ParticleProjector< dim, PropertiesIndex >

Functions

 DeclExceptionMsg (NotSupportedMeshAdaptationMethod, "Mesh adaptation is only supported with the steady time-stepping method " "in the VANS and CFD-DEM solvers at the moment because the void fraction " "field is not yet updated during mesh adaptation.")
double particle_circle_intersection_2d (const double r_particle, const double r_circle, const double neighbor_distance)
double particle_sphere_intersection_3d (const double r_particle, const double r_sphere, const double neighbor_distance)
template<int dim>
double gaussian_filter_kernel (const double r_particle, const double sigma, const double distance)

Function Documentation

◆ DeclExceptionMsg()

DeclExceptionMsg ( NotSupportedMeshAdaptationMethod ,
"Mesh adaptation is only supported with the steady time-stepping method " "in the VANS and CFD-DEM solvers at the moment because the void fraction " "field is not yet updated during mesh adaptation."  )

◆ gaussian_filter_kernel()

template<int dim>
double gaussian_filter_kernel ( const double r_particle,
const double sigma,
const double distance )
inline

Evaluate a Gaussian filter kernel between a particle and a point.

The kernel is normalised so that its integral over R^dim equals the particle volume V_p. With this normalisation the same downstream normalisation procedure used by the spherical QCM filter (dividing by the accumulated volumetric_contribution to recover the particle volume) applies unchanged.

The Gaussian has non-compact support: contributions outside the QCM neighbor-cell stencil are silently dropped. The accumulated normalisation absorbs the missing mass, but the projected shape will be biased if sigma is comparable to the stencil reach. Choose sigma accordingly.

Template Parameters
dimNumber of spatial dimensions.
Parameters
[in]r_particleRadius of the particle.
[in]sigmaStandard deviation of the Gaussian (the QCM filter length).
[in]distanceDistance between the particle center and the evaluation point.

Definition at line 122 of file particle_projector.h.

◆ particle_circle_intersection_2d()

double particle_circle_intersection_2d ( const double r_particle,
const double r_circle,
const double neighbor_distance )
inline

Calculate the area of intersection between a circular (2D) particle and a circle. \ .

\

Parameters
[in]r_particleRadius of the particle \
[in]r_circleRadius of the circle \
[in]neighbor_distanceDistance between the particle and the circle \

Definition at line 56 of file particle_projector.h.

◆ particle_sphere_intersection_3d()

double particle_sphere_intersection_3d ( const double r_particle,
const double r_sphere,
const double neighbor_distance )
inline

Calculate the volume of intersection between a spherical (3D) particle and a sphere.

Parameters
[in]r_particleRadius of the particle
[in]r_sphereRadius of the sphere
[in]neighbor_distanceDistance between the particle and the sphere

Definition at line 84 of file particle_projector.h.