15#ifndef lethe_dem_properties_h
16#define lethe_dem_properties_h
275 return first_index == second_index;
339 "Every property shared by the CFD-DEM and the CFD-DEM multiphysics "
340 "solvers must be stored at the same index, and the thermal properties "
341 "must be appended after them.");
354 template <
typename PropertiesIndex>
358 inline constexpr bool
362 inline constexpr bool
374 template <
typename PropertiesIndex>
391 template <
typename PropertiesIndex>
395 inline constexpr bool
399 inline constexpr bool
415 template <
typename PropertiesIndex>
417 std::conditional_t<has_thermal_properties<PropertiesIndex>,
427 template <
int dim,
typename PropertiesIndex>
436 static std::vector<std::pair<std::string, int>>
Controls the name of output variables for the vtu.
static std::vector< std::pair< std::string, int > > get_properties_name()
Return the names of each DEM property. Used to properly generate output files.
PropertiesIndex
Particle property indices for CFD-DEM multiphysics simulations.
@ fem_drag_z
Drag force - z component.
@ fem_torque_y
FEM torque - y component.
@ fem_force_two_way_coupling_z
FEM force which is applied on both fluid and particles - z component.
@ fem_force_two_way_coupling_x
FEM force which is applied on both fluid and particles - x component.
@ v_y
Velocity - y component.
@ v_z
Velocity - z component.
@ fem_drag_y
Drag force - y component.
@ specific_heat
Particle specific heat.
@ fem_torque_x
FEM torque - x component.
@ omega_y
Angular velocity - y component.
@ fem_force_one_way_coupling_x
FEM force which is applied only on the particle - x component.
@ omega_z
Angular velocity - z component.
@ fem_force_one_way_coupling_y
FEM force which is applied only on the particle - y component.
@ n_properties
Number of properties.
@ fem_torque_z
FEM torque - z component.
@ fem_drag_x
Drag force - x component.
@ momentum_transfer_coefficient
Momentum transfer coefficient used for implicit drag coupling.
@ omega_x
Angular velocity - x component.
@ fem_force_one_way_coupling_z
FEM force which is applied only on the particle - z component.
@ v_x
Velocity - x component.
@ volumetric_contribution
Volumetric contribution used in the QCM.
@ fem_force_two_way_coupling_y
FEM force which is applied on both fluid and particles - y component.
PropertiesIndex
Particle property indices for CFD-DEM simulations.
@ fem_torque_x
FEM torque - x component.
@ n_properties
Number of properties.
@ fem_force_two_way_coupling_y
FEM force which is applied on both fluid and particles - y component.
@ fem_force_two_way_coupling_z
FEM force which is applied on both fluid and particles - z component.
@ volumetric_contribution
Volumetric contribution used in the QCM.
@ fem_force_one_way_coupling_y
FEM force which is applied only on the particle - y component.
@ v_y
Velocity - y component.
@ fem_torque_z
FEM torque - z component.
@ momentum_transfer_coefficient
Momentum transfer coefficient used for implicit drag coupling.
@ fem_force_two_way_coupling_x
FEM force which is applied on both fluid and particles - x component.
@ fem_drag_z
Drag force - z component.
@ v_x
Velocity - x component.
@ fem_drag_y
Drag force - y component.
@ v_z
Velocity - z component.
@ omega_z
Angular velocity - z component.
@ fem_drag_x
Drag force - x component.
@ fem_force_one_way_coupling_x
FEM force which is applied only on the particle - x component.
@ omega_x
Angular velocity - x component.
@ omega_y
Angular velocity - y component.
@ fem_torque_y
FEM torque - y component.
@ fem_force_one_way_coupling_z
FEM force which is applied only on the particle - z component.
PropertiesIndex
Particle property indices for DEM multiphysics simulations.
@ v_z
Velocity - z component.
@ v_x
Velocity - x component.
@ omega_y
Angular velocity - y component.
@ n_properties
Number of properties.
@ omega_x
Angular velocity - x component.
@ specific_heat
Particle specific heat.
@ v_y
Velocity - y component.
@ omega_z
Angular velocity - z component.
PropertiesIndex
Particle property indices for pure DEM simulations.
@ omega_y
Angular velocity - y component.
@ omega_z
Angular velocity - z component.
@ v_z
Velocity - z component.
@ v_y
Velocity - y component.
@ omega_x
Angular velocity - x component.
@ v_x
Velocity - x component.
@ n_properties
Number of properties.
This namespace defines all the data containers and required operations on these containers for the DE...
constexpr bool has_thermal_properties
Whether a properties index set carries thermal properties.
std::conditional_t< has_thermal_properties< PropertiesIndex >, DEMMPProperties::PropertiesIndex, DEMProperties::PropertiesIndex > matching_dem_properties_index
The pure DEM index set matching a given index set.
constexpr bool is_stored_at_the_same_index(const int first_index, const int second_index)
Compare the position of a property in two different index sets.
constexpr bool has_fluid_coupling_properties
Whether a properties index set carries fluid coupling properties.
SolverType
Identifies which physics is solved for the DEM particles.
constexpr int temperature_property_index
The index of the temperature property in a properties index set.