Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
DEM Namespace Reference

Namespaces

namespace  DEMProperties
namespace  CFDDEMProperties
namespace  DEMMPProperties
namespace  CFDDEMMPProperties

Classes

class  ParticleProperties
struct  dem_data_structures

Typedefs

template<typename PropertiesIndex>
using matching_dem_properties_index
using global_face_id = unsigned int

Enumerations

enum  SolverType { dem , dem_mp }
enum class  dem_statistic_variable { translational_kinetic_energy , rotational_kinetic_energy , velocity , omega }

Functions

constexpr bool is_stored_at_the_same_index (const int first_index, const int second_index)
template<int dim, typename PropertiesIndex, dem_statistic_variable var>
statistics calculate_granular_statistics (const Particles::ParticleHandler< dim > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::velocity > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::velocity > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::omega > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::omega > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::velocity > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::velocity > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::omega > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::omega > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::omega > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::omega > (const Particles::ParticleHandler< 2, 2 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::omega > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)
template statistics calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::omega > (const Particles::ParticleHandler< 3, 3 > &particle_handler, const MPI_Comm &mpi_communicator)

Variables

template<typename PropertiesIndex>
constexpr bool has_thermal_properties = false
template<>
constexpr bool has_thermal_properties< DEMMPProperties::PropertiesIndex > = true
template<>
constexpr bool has_thermal_properties< CFDDEMMPProperties::PropertiesIndex > = true
template<typename PropertiesIndex>
constexpr int temperature_property_index = -1
template<>
constexpr int temperature_property_index< CFDDEMMPProperties::PropertiesIndex >
template<typename PropertiesIndex>
constexpr bool has_fluid_coupling_properties = false
template<>
constexpr bool has_fluid_coupling_properties< CFDDEMProperties::PropertiesIndex > = true
template<>
constexpr bool has_fluid_coupling_properties< CFDDEMMPProperties::PropertiesIndex > = true

Detailed Description

This namespace defines all the data containers and required operations on these containers for the DEM solver. At the moment, only overloaded operators are here, but eventually all the data containers of the DEM solver will be moved here.

Typedef Documentation

◆ global_face_id

using DEM::global_face_id = unsigned int

Defined global face id as a type to ensure that we know what the structures use as index. This is more verbose than unsigned int.

Definition at line 38 of file data_containers.h.

◆ matching_dem_properties_index

template<typename PropertiesIndex>
using DEM::matching_dem_properties_index
Initial value:
std::conditional_t<has_thermal_properties<PropertiesIndex>,
PropertiesIndex
Particle property indices for DEM multiphysics simulations.
PropertiesIndex
Particle property indices for pure DEM simulations.

The pure DEM index set matching a given index set.

A CFD-DEM simulation is usually started from the checkpoint of a pure DEM simulation, whose particle handler carries fewer properties. This alias gives the index set that checkpoint must have been written with: a multiphysics CFD-DEM simulation is always restarted from a multiphysics DEM simulation, so that the temperature and the specific heat of the particles are carried over rather than reset.

Template Parameters
PropertiesIndexIndex of the properties used within the ParticleHandler.

Definition at line 416 of file dem_properties.h.

Enumeration Type Documentation

◆ dem_statistic_variable

enum class DEM::dem_statistic_variable
strong

enum that is used to identify which variables are calculated in the granular statistics

Enumerator
translational_kinetic_energy 
rotational_kinetic_energy 
velocity 
omega 

Definition at line 19 of file dem_post_processing.h.

◆ SolverType

Identifies which physics is solved for the DEM particles.

Two solver types are currently supported:

  • dem: the particles only carry their kinematic properties.
  • dem_mp: DEM multiphysics simulation, in which the particles also carry thermal properties.

This is independent of the presence of a fluid: it is the application which decides whether the particles are coupled to a CFD solver, and thus whether the CFD-DEM index layout of the ParticleHandler PropertyPool is used.

Enumerator
dem 
dem_mp 

Definition at line 37 of file dem_properties.h.

Function Documentation

◆ calculate_granular_statistics()

template<int dim, typename PropertiesIndex, dem_statistic_variable var>
statistics DEM::calculate_granular_statistics ( const Particles::ParticleHandler< dim > & particle_handler,
const MPI_Comm & mpi_communicator )

Calculate statistics on a DEM ParticleHandler. At the moment, the following statistics are supported:

  • Translational kinetic energy
  • Rotational (angular) kinetic energy
  • Translational velocity
  • Rotational (angular) velocity
Template Parameters
dimAn integer that denotes the number of spatial dimensions.
PropertiesIndexIndex of the properties used within the ParticleHandler.
dem_statistics_variableEnum variable used to identify which granular statistics is being calculated
Parameters
particle_handlerA reference to the particle handler being used for DEM
mpi_communicatorThe MPI communicator

Definition at line 12 of file dem_post_processing.cc.

References statistics::average, statistics::max, statistics::min, omega, rotational_kinetic_energy, statistics::total, translational_kinetic_energy, and velocity.

◆ calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::omega >()

template statistics DEM::calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::omega > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity >()

template statistics DEM::calculate_granular_statistics< 2, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::omega >()

template statistics DEM::calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::omega > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::velocity >()

template statistics DEM::calculate_granular_statistics< 2, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::velocity > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::omega >()

template statistics DEM::calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::omega > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity >()

template statistics DEM::calculate_granular_statistics< 2, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::omega >()

template statistics DEM::calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::omega > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::velocity >()

template statistics DEM::calculate_granular_statistics< 2, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::velocity > ( const Particles::ParticleHandler< 2, 2 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::omega >()

template statistics DEM::calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::omega > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity >()

template statistics DEM::calculate_granular_statistics< 3, DEM::CFDDEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::omega >()

template statistics DEM::calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::omega > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::velocity >()

template statistics DEM::calculate_granular_statistics< 3, DEM::CFDDEMProperties::PropertiesIndex, dem_statistic_variable::velocity > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::omega >()

template statistics DEM::calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::omega > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity >()

template statistics DEM::calculate_granular_statistics< 3, DEM::DEMMPProperties::PropertiesIndex, dem_statistic_variable::velocity > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::omega >()

template statistics DEM::calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::omega > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::rotational_kinetic_energy > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy >()

template statistics DEM::calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::translational_kinetic_energy > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::velocity >()

template statistics DEM::calculate_granular_statistics< 3, DEM::DEMProperties::PropertiesIndex, dem_statistic_variable::velocity > ( const Particles::ParticleHandler< 3, 3 > & particle_handler,
const MPI_Comm & mpi_communicator )

◆ is_stored_at_the_same_index()

bool DEM::is_stored_at_the_same_index ( const int first_index,
const int second_index )
constexpr

Compare the position of a property in two different index sets.

The arguments are taken as integers rather than as enumerators so that enumerators of two distinct index sets may be compared without triggering -Wenum-compare.

Parameters
[in]first_indexPosition of the property in the first index set.
[in]second_indexPosition of the property in the second index set.
Returns
Whether the property is stored at the same position in both sets.

Definition at line 273 of file dem_properties.h.

Variable Documentation

◆ has_fluid_coupling_properties

template<typename PropertiesIndex>
bool DEM::has_fluid_coupling_properties = false
inlineconstexpr

Whether a properties index set carries fluid coupling properties.

This is true for the index sets used by the CFD-DEM solvers, which store the fluid-particle interaction forces and torques, the volumetric contribution and the momentum transfer coefficient of every particle.

Template Parameters
PropertiesIndexIndex of the properties used within the ParticleHandler.

Definition at line 392 of file dem_properties.h.

◆ has_fluid_coupling_properties< CFDDEMMPProperties::PropertiesIndex >

Definition at line 399 of file dem_properties.h.

◆ has_fluid_coupling_properties< CFDDEMProperties::PropertiesIndex >

template<>
bool DEM::has_fluid_coupling_properties< CFDDEMProperties::PropertiesIndex > = true
inlineconstexpr

Definition at line 395 of file dem_properties.h.

◆ has_thermal_properties

template<typename PropertiesIndex>
bool DEM::has_thermal_properties = false
inlineconstexpr

Whether a properties index set carries thermal properties.

This is true for the index sets used by the multiphysics solvers, which store the temperature (T) and the specific heat of every particle. It is used to enable, at compile time, the heat transfer between particles and the integration of their temperature.

Template Parameters
PropertiesIndexIndex of the properties used within the ParticleHandler.

Definition at line 355 of file dem_properties.h.

◆ has_thermal_properties< CFDDEMMPProperties::PropertiesIndex >

template<>
bool DEM::has_thermal_properties< CFDDEMMPProperties::PropertiesIndex > = true
inlineconstexpr

Definition at line 362 of file dem_properties.h.

◆ has_thermal_properties< DEMMPProperties::PropertiesIndex >

template<>
bool DEM::has_thermal_properties< DEMMPProperties::PropertiesIndex > = true
inlineconstexpr

Definition at line 358 of file dem_properties.h.

◆ temperature_property_index

template<typename PropertiesIndex>
int DEM::temperature_property_index = -1
inlineconstexpr

The index of the temperature property in a properties index set.

This is the property start index passed to the ParticleFieldQCM used to project the particle temperature; -1 indicates that the projection is not to be done.

Template Parameters
PropertiesIndexIndex of the properties used within the ParticleHandler.

Definition at line 375 of file dem_properties.h.

◆ temperature_property_index< CFDDEMMPProperties::PropertiesIndex >

Initial value:

Definition at line 378 of file dem_properties.h.