Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
dem_properties.h File Reference
#include <string>
#include <type_traits>
#include <vector>
Include dependency graph for dem_properties.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DEM::ParticleProperties< dim, PropertiesIndex >

Namespaces

namespace  DEM
namespace  DEM::DEMProperties
namespace  DEM::CFDDEMProperties
namespace  DEM::DEMMPProperties
namespace  DEM::CFDDEMMPProperties

Typedefs

template<typename PropertiesIndex>
using DEM::matching_dem_properties_index

Enumerations

enum  DEM::SolverType { DEM::dem , DEM::dem_mp }
enum  DEM::DEMProperties::PropertiesIndex : int {
  DEM::DEMProperties::type = 0 , DEM::DEMProperties::dp = 1 , DEM::DEMProperties::mass = 2 , DEM::DEMProperties::v_x = 3 ,
  DEM::DEMProperties::v_y = 4 , DEM::DEMProperties::v_z = 5 , DEM::DEMProperties::omega_x = 6 , DEM::DEMProperties::omega_y = 7 ,
  DEM::DEMProperties::omega_z = 8 , DEM::DEMProperties::n_properties = 9
}
enum  DEM::CFDDEMProperties::PropertiesIndex : int {
  DEM::CFDDEMProperties::type = 0 , DEM::CFDDEMProperties::dp = 1 , DEM::CFDDEMProperties::mass = 2 , DEM::CFDDEMProperties::v_x = 3 ,
  DEM::CFDDEMProperties::v_y = 4 , DEM::CFDDEMProperties::v_z = 5 , DEM::CFDDEMProperties::omega_x = 6 , DEM::CFDDEMProperties::omega_y = 7 ,
  DEM::CFDDEMProperties::omega_z = 8 , DEM::CFDDEMProperties::fem_force_two_way_coupling_x = 9 , DEM::CFDDEMProperties::fem_force_two_way_coupling_y = 10 , DEM::CFDDEMProperties::fem_force_two_way_coupling_z = 11 ,
  DEM::CFDDEMProperties::fem_force_one_way_coupling_x = 12 , DEM::CFDDEMProperties::fem_force_one_way_coupling_y = 13 , DEM::CFDDEMProperties::fem_force_one_way_coupling_z = 14 , DEM::CFDDEMProperties::fem_drag_x = 15 ,
  DEM::CFDDEMProperties::fem_drag_y = 16 , DEM::CFDDEMProperties::fem_drag_z = 17 , DEM::CFDDEMProperties::fem_torque_x = 18 , DEM::CFDDEMProperties::fem_torque_y = 19 ,
  DEM::CFDDEMProperties::fem_torque_z = 20 , DEM::CFDDEMProperties::volumetric_contribution = 21 , DEM::CFDDEMProperties::momentum_transfer_coefficient = 22 , DEM::CFDDEMProperties::n_properties = 23
}
enum  DEM::DEMMPProperties::PropertiesIndex : int {
  DEM::DEMMPProperties::type = 0 , DEM::DEMMPProperties::dp = 1 , DEM::DEMMPProperties::mass = 2 , DEM::DEMMPProperties::v_x = 3 ,
  DEM::DEMMPProperties::v_y = 4 , DEM::DEMMPProperties::v_z = 5 , DEM::DEMMPProperties::omega_x = 6 , DEM::DEMMPProperties::omega_y = 7 ,
  DEM::DEMMPProperties::omega_z = 8 , DEM::DEMMPProperties::T = 9 , DEM::DEMMPProperties::specific_heat = 10 , DEM::DEMMPProperties::n_properties = 11
}
enum  DEM::CFDDEMMPProperties::PropertiesIndex : int {
  DEM::CFDDEMMPProperties::type = 0 , DEM::CFDDEMMPProperties::dp = 1 , DEM::CFDDEMMPProperties::mass = 2 , DEM::CFDDEMMPProperties::v_x = 3 ,
  DEM::CFDDEMMPProperties::v_y = 4 , DEM::CFDDEMMPProperties::v_z = 5 , DEM::CFDDEMMPProperties::omega_x = 6 , DEM::CFDDEMMPProperties::omega_y = 7 ,
  DEM::CFDDEMMPProperties::omega_z = 8 , DEM::CFDDEMMPProperties::fem_force_two_way_coupling_x = 9 , DEM::CFDDEMMPProperties::fem_force_two_way_coupling_y = 10 , DEM::CFDDEMMPProperties::fem_force_two_way_coupling_z = 11 ,
  DEM::CFDDEMMPProperties::fem_force_one_way_coupling_x = 12 , DEM::CFDDEMMPProperties::fem_force_one_way_coupling_y = 13 , DEM::CFDDEMMPProperties::fem_force_one_way_coupling_z = 14 , DEM::CFDDEMMPProperties::fem_drag_x = 15 ,
  DEM::CFDDEMMPProperties::fem_drag_y = 16 , DEM::CFDDEMMPProperties::fem_drag_z = 17 , DEM::CFDDEMMPProperties::fem_torque_x = 18 , DEM::CFDDEMMPProperties::fem_torque_y = 19 ,
  DEM::CFDDEMMPProperties::fem_torque_z = 20 , DEM::CFDDEMMPProperties::volumetric_contribution = 21 , DEM::CFDDEMMPProperties::momentum_transfer_coefficient = 22 , DEM::CFDDEMMPProperties::T = 23 ,
  DEM::CFDDEMMPProperties::specific_heat = 24 , DEM::CFDDEMMPProperties::n_properties = 25
}

Functions

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

Variables

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

Detailed Description

DEM particle property definitions and output name management.

This file defines the property indices used to store and access particle data within the deal.II ParticleHandler PropertyPool. Separate index enumerations are provided for pure DEM, CFD-DEM, DEM multiphysics and CFD-DEM multiphysics simulations, as each carries a different set of per-particle properties.

Definition in file dem_properties.h.