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

#include <dem.h>

Public Member Functions

 DEMSolver (DEMSolverParameters< dim > dem_parameters)
void solve ()

Private Member Functions

void setup_parameters ()
void setup_distribution_type ()
void setup_solid_objects ()
void setup_functions_and_pointers ()
std::function< void()> set_contact_search_iteration_function ()
std::shared_ptr< Integrator< dim, PropertiesIndex > > set_integrator_type ()
void box_refine_mesh (const bool restart)
void setup_triangulation_dependent_parameters ()
void setup_background_dofs ()
void load_balance ()
void check_contact_search_iteration_constant ()
void check_contact_search_iteration_dynamic ()
void insert_particles ()
void particle_wall_contact_force ()
void move_solid_objects ()
void update_temperature_solid_objects ()
void update_temperature_walls ()
void execute_contact_detection_and_search ()
void compute_contact_forces ()
void synchronize_velocities ()
void finish_simulation ()
void write_output_results ()
void post_process_results ()
void report_statistics ()
void sort_particles_into_subdomains_and_cells ()
bool packed_insertion_report_and_status ()

Private Attributes

MPI_Comm mpi_communicator
const unsigned int n_mpi_processes
const unsigned int this_mpi_process
ConditionalOStream pcout
DEMSolverParameters< dim > parameters
CheckpointControl checkpoint_controller
parallel::distributed::Triangulation< dim > triangulation
MappingQGeneric< dim > mapping
Particles::ParticleHandler< dim, dim > particle_handler
DEMActionManager * action_manager
TimerOutput computing_timer
DEM::ParticleProperties< dim, PropertiesIndex > properties_class
Tensor< 1, 3 > g
double smallest_contact_search_criterion
double smallest_solid_object_mapping_criterion
double neighborhood_threshold_squared
double maximum_particle_diameter
unsigned int contact_build_number
DEMContactManager< dim, PropertiesIndex > contact_manager
LagrangianLoadBalancing< dim, PropertiesIndex > load_balancing
std::shared_ptr< SimulationControl > simulation_control
BoundaryCellsInformation< dim > boundary_cell_object
std::shared_ptr<::GridMotionBase< dim > > grid_motion_object
std::shared_ptr< ParticleParticleContactForceBase< dim, PropertiesIndex > > particle_particle_contact_force_object
std::shared_ptr< ParticleWallContactForceBase< dim, PropertiesIndex > > particle_wall_contact_force_object
ParticlePointLineForce< dim, PropertiesIndex > particle_point_line_contact_force_object
std::shared_ptr< ParticlesForceChainsBase< dim, PropertiesIndex > > particles_force_chains_object
std::shared_ptr< Integrator< dim, PropertiesIndex > > integrator_object
std::shared_ptr< Insertion< dim, PropertiesIndex > > insertion_object
Visualization< dim, PropertiesIndex > visualization_object
PVDHandler particles_pvdhandler
PVDHandler particles_pvdhandler_force_chains
ParticleInteractionOutcomes< PropertiesIndex > contact_outcome
std::vector< Tensor< 1, 3 > > & torque = contact_outcome.torque
std::vector< Tensor< 1, 3 > > & force = contact_outcome.force
OngoingCollisionLog< dim > ongoing_collision_log
CompletedCollisionLog< dim > collision_event_log
std::vector< double > displacement
std::vector< double > MOI
dem_data_structures< dim >::solid_surfaces_mesh_information solid_surfaces_mesh_info
dem_data_structures< dim >::solid_volumes_mesh_info solid_volumes_mesh_info
dem_data_structures< dim >::boundary_points_and_normal_vectors updated_boundary_points_and_normal_vectors
dem_data_structures< dim >::vector_on_boundary forces_boundary_information
dem_data_structures< dim >::vector_on_boundary torques_boundary_information
DEM::dem_data_structures< dim >::periodic_boundaries_cells_info periodic_boundaries_cells_information
PeriodicBoundariesManipulator< dim > periodic_boundaries_object
DoFHandler< dim > background_dh
PVDHandler grid_pvdhandler
statistics contact_list
std::vector< std::shared_ptr< SerialSolid< dim - 1, dim > > > solid_surfaces
std::vector< std::shared_ptr< SerialSolid< dim, dim > > > solid_volumes
std::vector< std::shared_ptr< Distribution > > size_distribution_object_container
AdaptiveSparseContacts< dim, PropertiesIndex > sparse_contacts_object
AffineConstraints< double > background_constraints
std::function< bool()> load_balance_iteration_check_function
std::function< void()> contact_detection_iteration_check_function
bool disable_position_integration

Detailed Description

template<int dim, typename PropertiesIndex>
class DEMSolver< dim, PropertiesIndex >

Solver using the soft-sphere model of the discrete element method (DEM) to simulate granular systems.

Template Parameters
dimAn integer that denotes the number of spatial dimensions.
PropertiesIndexIndex of the properties used within the ParticleHandler.

Definition at line 48 of file dem.h.

Constructor & Destructor Documentation

◆ DEMSolver()

template<int dim, typename PropertiesIndex>
DEMSolver< dim, PropertiesIndex >::DEMSolver ( DEMSolverParameters< dim > dem_parameters)

Member Function Documentation

◆ box_refine_mesh()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::box_refine_mesh ( const bool restart)
private

Refine the triangulation within the user-specified refinement boxes.

Each box is described by its own mesh; every cell of the background triangulation that lies within a box is refined the number of times requested for that box. Nothing is done when restarting, since the triangulation stored in the checkpoint already carries its refinement.

Parameters
[in]restartFlag indicating whether this is a restart.

Definition at line 296 of file dem.cc.

References Parameters::MeshBoxRefinement< dim, spacedim >::box_additional_refinements, build_refinement_box_triangulation(), computing_timer, LetheGridTools::flag_cells_in_refinement_box(), Parameters::MeshBoxRefinement< dim, spacedim >::number_of_refinement_boxes, parameters, pcout, Parameters::MeshBoxRefinement< dim, spacedim >::refinement_boxes_meshes, and triangulation.

◆ check_contact_search_iteration_constant()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::check_contact_search_iteration_constant ( )
inlineprivate

Establish if this is a contact detection iteration using the constant contact detection frequency. If the iteration number is a multiple of the frequency, this iteration is considered to be a contact detection iteration.

Definition at line 533 of file dem.cc.

References action_manager, parameters, and simulation_control.

◆ check_contact_search_iteration_dynamic()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::check_contact_search_iteration_dynamic ( )
inlineprivate

Establish if this is a contact detection iteration using the maximal displacement of the particles. If this particle displacement surpasses a threshold, this iteration is a contact detection iteration.

Definition at line 517 of file dem.cc.

References displacement, find_particle_contact_detection_step(), mpi_communicator, parameters, particle_handler, simulation_control, and smallest_contact_search_criterion.

◆ compute_contact_forces()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::compute_contact_forces ( )
private

Calculate the particle-particle and the particle-wall contact forces and torques at the current position of the particles.

Definition at line 776 of file dem.cc.

References contact_manager, contact_outcome, grid_motion_object, particle_particle_contact_force_object, particle_wall_contact_force(), simulation_control, and updated_boundary_points_and_normal_vectors.

◆ execute_contact_detection_and_search()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::execute_contact_detection_and_search ( )
private

Check if a contact detection is required at the current iteration and, if it is, map the solid objects in the background triangulation, sort the particles into subdomains and cells and execute the particle-particle and particle-wall broad and fine searches. Otherwise, only update the ghost particles.

Definition at line 684 of file dem.cc.

References action_manager, background_dh, boundary_cell_object, contact_build_number, contact_detection_iteration_check_function, contact_manager, find_floating_mesh_mapping_step(), mpi_communicator, neighborhood_threshold_squared, parameters, particle_handler, periodic_boundaries_cells_information, periodic_boundaries_object, simulation_control, smallest_solid_object_mapping_criterion, solid_surfaces, solid_surfaces_mesh_info, solid_volumes, solid_volumes_mesh_info, sort_particles_into_subdomains_and_cells(), sparse_contacts_object, and triangulation.

◆ finish_simulation()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::finish_simulation ( )
private

◆ insert_particles()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::insert_particles ( )
private

Check if particles have to be inserted at this iteration and perform it if necessary.

Definition at line 542 of file dem.cc.

References action_manager, insertion_object, parameters, particle_handler, simulation_control, and triangulation.

◆ load_balance()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::load_balance ( )
private

◆ move_solid_objects()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::move_solid_objects ( )
private

Move all solid objects.

Definition at line 628 of file dem.cc.

References action_manager, simulation_control, solid_surfaces, and solid_volumes.

◆ packed_insertion_report_and_status()

template<int dim, typename PropertiesIndex>
bool DEMSolver< dim, PropertiesIndex >::packed_insertion_report_and_status ( )
private

◆ particle_wall_contact_force()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::particle_wall_contact_force ( )
private

◆ post_process_results()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::post_process_results ( )
private

Calculate average velocity and other post-processed quantities that need to be outputted to files.

Definition at line 970 of file dem.cc.

References background_dh, grid_pvdhandler, mpi_communicator, parameters, particle_handler, simulation_control, sparse_contacts_object, triangulation, and write_post_processing_results().

◆ report_statistics()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::report_statistics ( )
private

Calculate statistics on the particles and report them to the terminal. This function is notably used to monitor the time min, max and total performed contact searches, and the instant min, max, avg and total values of the linear velocity, angular velocity, linear kinetic energy and angular kinetic.

Definition at line 990 of file dem.cc.

References add_statistics_to_table_handler(), DEM::calculate_granular_statistics(), computing_timer, contact_build_number, contact_list, Parameters::Timer::iteration, mpi_communicator, DEM::omega, parameters, particle_handler, pcout, DEM::rotational_kinetic_energy, simulation_control, this_mpi_process, DEM::translational_kinetic_energy, and DEM::velocity.

◆ set_contact_search_iteration_function()

template<int dim, typename PropertiesIndex>
std::function< void()> DEMSolver< dim, PropertiesIndex >::set_contact_search_iteration_function ( )
inlineprivate

Set the iteration check function according to the chosen contact detection method.

Returns
Contact detection method function.

Definition at line 255 of file dem.cc.

References check_contact_search_iteration_constant(), check_contact_search_iteration_dynamic(), and parameters.

◆ set_integrator_type()

template<int dim, typename PropertiesIndex>
std::shared_ptr< Integrator< dim, PropertiesIndex > > DEMSolver< dim, PropertiesIndex >::set_integrator_type ( )
private

Set the integration method.

Returns
The pointer to the integration object

Definition at line 275 of file dem.cc.

References parameters.

◆ setup_background_dofs()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::setup_background_dofs ( )
private

Set up the background degree of freedom used for parallel grid output or mapping of periodic dofs when using periodic boundaries.

Definition at line 394 of file dem.cc.

References action_manager, background_constraints, background_dh, parameters, and sparse_contacts_object.

◆ setup_distribution_type()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::setup_distribution_type ( )
private

Initialize the distribution type for the particles, and sets the maximum particle diameter and the neighborhood threshold squared in the process.

Definition at line 160 of file dem.cc.

References maximum_particle_diameter, neighborhood_threshold_squared, parameters, pcout, setup_distributions(), size_distribution_object_container, and this_mpi_process.

◆ setup_functions_and_pointers()

◆ setup_parameters()

◆ setup_solid_objects()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::setup_solid_objects ( )
private

Set up the solid object containers with serial objects. TODO: Modify this set up once the solid volumes are fully implemented.

Definition at line 177 of file dem.cc.

References action_manager, parameters, solid_surfaces, solid_surfaces_mesh_info, solid_volumes, and solid_volumes_mesh_info.

◆ setup_triangulation_dependent_parameters()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::setup_triangulation_dependent_parameters ( )
private

◆ solve()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::solve ( )

Engine of the DEM solver. Calls all the necessary functions to set parameters, solve the simulation, and finish the simulation.

Definition at line 1158 of file dem.cc.

References action_manager, announce_string(), boundary_cell_object, box_refine_mesh(), checkpoint_controller, collision_event_log, compute_contact_forces(), computing_timer, contact_manager, contact_outcome, disable_position_integration, execute_contact_detection_and_search(), finish_simulation(), force, forces_boundary_information, g, grid_motion_object, grid_pvdhandler, DEM::has_thermal_properties, insert_particles(), insertion_object, integrate_temperature(), integrator_object, load_balance(), log_collision_data(), maximum_particle_diameter, MOI, move_solid_objects(), mpi_communicator, ongoing_collision_log, packed_insertion_report_and_status(), parameters, particle_handler, particles_pvdhandler, pcout, periodic_boundaries_cells_information, post_process_results(), read_checkpoint(), read_mesh_and_manifolds(), report_cell_size_to_particle_diameter_ratio(), report_statistics(), setup_functions_and_pointers(), setup_parameters(), setup_triangulation_dependent_parameters(), simulation_control, solid_surfaces, sparse_contacts_object, synchronize_velocities(), this_mpi_process, torque, torques_boundary_information, triangulation, update_temperature_solid_objects(), update_temperature_walls(), updated_boundary_points_and_normal_vectors, Parameters::verbose, write_checkpoint(), write_collision_stats(), write_forces_torques_output_locally(), and write_output_results().

◆ sort_particles_into_subdomains_and_cells()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::sort_particles_into_subdomains_and_cells ( )
inlineprivate

Execute the sorting of particle into subdomains and cells, and reinitialize the containers dependent on the local particle ids.

Definition at line 1070 of file dem.cc.

References action_manager, contact_outcome, displacement, MOI, and particle_handler.

◆ synchronize_velocities()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::synchronize_velocities ( )
private

Carry out the closing half velocity step of a staggered integration scheme, which synchronizes the velocities of the particles with their positions at the final time. The contact forces are re-evaluated at the final position of the particles, hence n + 1 integration operations are carried out to complete n time steps.

Definition at line 805 of file dem.cc.

References action_manager, compute_contact_forces(), execute_contact_detection_and_search(), force, g, integrator_object, MOI, particle_handler, simulation_control, sparse_contacts_object, torque, and triangulation.

◆ update_temperature_solid_objects()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::update_temperature_solid_objects ( )
private

Update solid objects temperatures.

Definition at line 648 of file dem.cc.

References action_manager, DEM::has_thermal_properties, simulation_control, solid_surfaces, and solid_volumes.

◆ update_temperature_walls()

template<int dim, typename PropertiesIndex>
void DEMSolver< dim, PropertiesIndex >::update_temperature_walls ( )
private

Update the temperatures of the walls of the grid.

Definition at line 672 of file dem.cc.

References DEM::has_thermal_properties, parameters, set_wall_temperature_time(), and simulation_control.

◆ write_output_results()

Member Data Documentation

◆ action_manager

template<int dim, typename PropertiesIndex>
DEMActionManager* DEMSolver< dim, PropertiesIndex >::action_manager
private

The action manager that manages the actions triggered by events.

Definition at line 311 of file dem.h.

◆ background_constraints

template<int dim, typename PropertiesIndex>
AffineConstraints<double> DEMSolver< dim, PropertiesIndex >::background_constraints
private

The constraints for the background grid needed for the adaptive sparse.

Definition at line 562 of file dem.h.

◆ background_dh

template<int dim, typename PropertiesIndex>
DoFHandler<dim> DEMSolver< dim, PropertiesIndex >::background_dh
private

The background degree of freedom handler uses for parallel grid processing.

Definition at line 526 of file dem.h.

◆ boundary_cell_object

template<int dim, typename PropertiesIndex>
BoundaryCellsInformation<dim> DEMSolver< dim, PropertiesIndex >::boundary_cell_object
private

The boundary cells object.

Definition at line 384 of file dem.h.

◆ checkpoint_controller

template<int dim, typename PropertiesIndex>
CheckpointControl DEMSolver< dim, PropertiesIndex >::checkpoint_controller
private

The checkpoint controller of the DEM simulation.

Definition at line 290 of file dem.h.

◆ collision_event_log

template<int dim, typename PropertiesIndex>
CompletedCollisionLog<dim> DEMSolver< dim, PropertiesIndex >::collision_event_log
private

Class object to store the complete collision events (start and end).

Definition at line 463 of file dem.h.

◆ computing_timer

template<int dim, typename PropertiesIndex>
TimerOutput DEMSolver< dim, PropertiesIndex >::computing_timer
private

The timer that keeps track of the time spent in some functions. Currently theses functions are: load balancing and VTU output.

Definition at line 317 of file dem.h.

◆ contact_build_number

template<int dim, typename PropertiesIndex>
unsigned int DEMSolver< dim, PropertiesIndex >::contact_build_number
private

The counter to keep track of the number of contact search.

Definition at line 364 of file dem.h.

◆ contact_detection_iteration_check_function

template<int dim, typename PropertiesIndex>
std::function<void()> DEMSolver< dim, PropertiesIndex >::contact_detection_iteration_check_function
private

The pointer to the contact detection function that checks if a contact search is required.

Definition at line 574 of file dem.h.

◆ contact_list

template<int dim, typename PropertiesIndex>
statistics DEMSolver< dim, PropertiesIndex >::contact_list
private

The storage of statistics about time and contact lists.

Definition at line 536 of file dem.h.

◆ contact_manager

template<int dim, typename PropertiesIndex>
DEMContactManager<dim, PropertiesIndex> DEMSolver< dim, PropertiesIndex >::contact_manager
private

The manager of all the contact search operations.

Definition at line 369 of file dem.h.

◆ contact_outcome

template<int dim, typename PropertiesIndex>
ParticleInteractionOutcomes<PropertiesIndex> DEMSolver< dim, PropertiesIndex >::contact_outcome
private

Class object to store the vectors of force, torque and heat transfer rate applied to particles.

Definition at line 443 of file dem.h.

◆ disable_position_integration

template<int dim, typename PropertiesIndex>
bool DEMSolver< dim, PropertiesIndex >::disable_position_integration
private

Disable position integration, useful for multiphysic simulations with a packed bed, loaded with another prm.

Definition at line 580 of file dem.h.

◆ displacement

template<int dim, typename PropertiesIndex>
std::vector<double> DEMSolver< dim, PropertiesIndex >::displacement
private

The displacement tracking of particles for the dynamic contact detection.

Definition at line 469 of file dem.h.

◆ force

template<int dim, typename PropertiesIndex>
std::vector<Tensor<1, 3> >& DEMSolver< dim, PropertiesIndex >::force = contact_outcome.force
private

The vector of force of particles.

Definition at line 453 of file dem.h.

◆ forces_boundary_information

template<int dim, typename PropertiesIndex>
dem_data_structures<dim>::vector_on_boundary DEMSolver< dim, PropertiesIndex >::forces_boundary_information
private

The boundary information of the forces.

Definition at line 501 of file dem.h.

◆ g

template<int dim, typename PropertiesIndex>
Tensor<1, 3> DEMSolver< dim, PropertiesIndex >::g
private

The acceleration acting on the particles.

Definition at line 329 of file dem.h.

◆ grid_motion_object

template<int dim, typename PropertiesIndex>
std::shared_ptr<::GridMotionBase<dim> > DEMSolver< dim, PropertiesIndex >::grid_motion_object
private

The grid motion object.

Definition at line 389 of file dem.h.

◆ grid_pvdhandler

template<int dim, typename PropertiesIndex>
PVDHandler DEMSolver< dim, PropertiesIndex >::grid_pvdhandler
private

The grid PVD handler.

Definition at line 531 of file dem.h.

◆ insertion_object

template<int dim, typename PropertiesIndex>
std::shared_ptr<Insertion<dim, PropertiesIndex> > DEMSolver< dim, PropertiesIndex >::insertion_object
private

The insertion object.

Definition at line 423 of file dem.h.

◆ integrator_object

template<int dim, typename PropertiesIndex>
std::shared_ptr<Integrator<dim, PropertiesIndex> > DEMSolver< dim, PropertiesIndex >::integrator_object
private

The integrator object.

Definition at line 418 of file dem.h.

◆ load_balance_iteration_check_function

template<int dim, typename PropertiesIndex>
std::function<bool()> DEMSolver< dim, PropertiesIndex >::load_balance_iteration_check_function
private

The pointer to the function that checks if a load balancing is required.

Definition at line 568 of file dem.h.

◆ load_balancing

template<int dim, typename PropertiesIndex>
LagrangianLoadBalancing<dim, PropertiesIndex> DEMSolver< dim, PropertiesIndex >::load_balancing
private

The load balancing handler.

Definition at line 374 of file dem.h.

◆ mapping

template<int dim, typename PropertiesIndex>
MappingQGeneric<dim> DEMSolver< dim, PropertiesIndex >::mapping
private

The polynomial mapping. The mapping is first order in DEM simulations.

Definition at line 301 of file dem.h.

◆ maximum_particle_diameter

template<int dim, typename PropertiesIndex>
double DEMSolver< dim, PropertiesIndex >::maximum_particle_diameter
private

The maximum particle diameter.

Definition at line 359 of file dem.h.

◆ MOI

template<int dim, typename PropertiesIndex>
std::vector<double> DEMSolver< dim, PropertiesIndex >::MOI
private

The moment of inertia of particles.

Definition at line 474 of file dem.h.

◆ mpi_communicator

template<int dim, typename PropertiesIndex>
MPI_Comm DEMSolver< dim, PropertiesIndex >::mpi_communicator
private

The MPI communicator used for the parallel simulation.

Definition at line 264 of file dem.h.

◆ n_mpi_processes

template<int dim, typename PropertiesIndex>
const unsigned int DEMSolver< dim, PropertiesIndex >::n_mpi_processes
private

The number of MPI processes used for the parallel simulation.

Definition at line 269 of file dem.h.

◆ neighborhood_threshold_squared

template<int dim, typename PropertiesIndex>
double DEMSolver< dim, PropertiesIndex >::neighborhood_threshold_squared
private

The neighborhood threshold squared. \((\text{neighborhood_threshold} * D_{p,max})^2\).

Definition at line 354 of file dem.h.

◆ ongoing_collision_log

template<int dim, typename PropertiesIndex>
OngoingCollisionLog<dim> DEMSolver< dim, PropertiesIndex >::ongoing_collision_log
private

Class object to store the particle id, boundary id, velocity tensor, omega tensor and time of ongoing collisions.

Definition at line 458 of file dem.h.

◆ parameters

template<int dim, typename PropertiesIndex>
DEMSolverParameters<dim> DEMSolver< dim, PropertiesIndex >::parameters
private

The parameters of the DEM simulation.

Definition at line 285 of file dem.h.

◆ particle_handler

template<int dim, typename PropertiesIndex>
Particles::ParticleHandler<dim, dim> DEMSolver< dim, PropertiesIndex >::particle_handler
private

The particle handler that manages the particles.

Definition at line 306 of file dem.h.

◆ particle_particle_contact_force_object

template<int dim, typename PropertiesIndex>
std::shared_ptr<ParticleParticleContactForceBase<dim, PropertiesIndex> > DEMSolver< dim, PropertiesIndex >::particle_particle_contact_force_object
private

The particle-particle contact force object.

Definition at line 395 of file dem.h.

◆ particle_point_line_contact_force_object

template<int dim, typename PropertiesIndex>
ParticlePointLineForce<dim, PropertiesIndex> DEMSolver< dim, PropertiesIndex >::particle_point_line_contact_force_object
private

The particle-point-line contact force object.

Definition at line 407 of file dem.h.

◆ particle_wall_contact_force_object

template<int dim, typename PropertiesIndex>
std::shared_ptr<ParticleWallContactForceBase<dim, PropertiesIndex> > DEMSolver< dim, PropertiesIndex >::particle_wall_contact_force_object
private

The particle-wall contact force object.

Definition at line 401 of file dem.h.

◆ particles_force_chains_object

template<int dim, typename PropertiesIndex>
std::shared_ptr<ParticlesForceChainsBase<dim, PropertiesIndex> > DEMSolver< dim, PropertiesIndex >::particles_force_chains_object
private

The particle force chains post-processing object.

Definition at line 413 of file dem.h.

◆ particles_pvdhandler

template<int dim, typename PropertiesIndex>
PVDHandler DEMSolver< dim, PropertiesIndex >::particles_pvdhandler
private

The particle PVD handler.

Definition at line 433 of file dem.h.

◆ particles_pvdhandler_force_chains

template<int dim, typename PropertiesIndex>
PVDHandler DEMSolver< dim, PropertiesIndex >::particles_pvdhandler_force_chains
private

The force chains PVD handler.

Definition at line 438 of file dem.h.

◆ pcout

template<int dim, typename PropertiesIndex>
ConditionalOStream DEMSolver< dim, PropertiesIndex >::pcout
private

The output stream used for the parallel simulation, only used by the process 0.

Definition at line 280 of file dem.h.

◆ periodic_boundaries_cells_information

template<int dim, typename PropertiesIndex>
DEM::dem_data_structures<dim>::periodic_boundaries_cells_info DEMSolver< dim, PropertiesIndex >::periodic_boundaries_cells_information
private

The periodic boundaries cells information map. Only used with a simulation with periodic boundaries.

Definition at line 514 of file dem.h.

◆ periodic_boundaries_object

template<int dim, typename PropertiesIndex>
PeriodicBoundariesManipulator<dim> DEMSolver< dim, PropertiesIndex >::periodic_boundaries_object
private

The periodic boundaries manipulator. Only used with a simulation with periodic boundaries.

Definition at line 520 of file dem.h.

◆ properties_class

template<int dim, typename PropertiesIndex>
DEM::ParticleProperties<dim, PropertiesIndex> DEMSolver< dim, PropertiesIndex >::properties_class
private

The properties of the DEM simulation.

Template Parameters
dimAn integer that denotes the number of spatial dimensions.
PropertiesIndexIndex of the properties used within the ParticleHandler.

Definition at line 324 of file dem.h.

◆ simulation_control

template<int dim, typename PropertiesIndex>
std::shared_ptr<SimulationControl> DEMSolver< dim, PropertiesIndex >::simulation_control
private

The simulation control (DEM Transient).

Definition at line 379 of file dem.h.

◆ size_distribution_object_container

template<int dim, typename PropertiesIndex>
std::vector<std::shared_ptr<Distribution> > DEMSolver< dim, PropertiesIndex >::size_distribution_object_container
private

The container of the distribution objects.

Definition at line 551 of file dem.h.

◆ smallest_contact_search_criterion

template<int dim, typename PropertiesIndex>
double DEMSolver< dim, PropertiesIndex >::smallest_contact_search_criterion
private

The contact search frequency criterion for the dynamic contact detection method. The value is the smallest value between those two quantities:

  • The diameter of the smallest active cell of a triangulation minus the largest particle radius. \(D_{c,min} - D_{p,max} / 2\)
  • A security factor on the neighboring threshold times the largest particle radius. \(factor * (neighborhood_threshold - 1) * D_{p,max} / 2\)

Definition at line 342 of file dem.h.

◆ smallest_solid_object_mapping_criterion

template<int dim, typename PropertiesIndex>
double DEMSolver< dim, PropertiesIndex >::smallest_solid_object_mapping_criterion
private

The smallest solid object mapping criterion. The value is \(2^-0.5 * D_{c,min}\).

Definition at line 348 of file dem.h.

◆ solid_surfaces

template<int dim, typename PropertiesIndex>
std::vector<std::shared_ptr<SerialSolid<dim - 1, dim> > > DEMSolver< dim, PropertiesIndex >::solid_surfaces
private

The container of the solid surfaces.

Definition at line 541 of file dem.h.

◆ solid_surfaces_mesh_info

template<int dim, typename PropertiesIndex>
dem_data_structures<dim>::solid_surfaces_mesh_information DEMSolver< dim, PropertiesIndex >::solid_surfaces_mesh_info
private

The vector of vector of pairs of the mapping of the background mesh to the solid surface.

Definition at line 481 of file dem.h.

◆ solid_volumes

template<int dim, typename PropertiesIndex>
std::vector<std::shared_ptr<SerialSolid<dim, dim> > > DEMSolver< dim, PropertiesIndex >::solid_volumes
private

The container of the solid volumes.

Definition at line 546 of file dem.h.

◆ solid_volumes_mesh_info

template<int dim, typename PropertiesIndex>
dem_data_structures<dim>::solid_volumes_mesh_info DEMSolver< dim, PropertiesIndex >::solid_volumes_mesh_info
private

The vector of vector of pairs of the mapping of the background mesh to the solid volume.

Definition at line 488 of file dem.h.

◆ sparse_contacts_object

template<int dim, typename PropertiesIndex>
AdaptiveSparseContacts<dim, PropertiesIndex> DEMSolver< dim, PropertiesIndex >::sparse_contacts_object
private

The object handling the adaptive sparse contacts (ASC). Only used with the ASC method.

Definition at line 557 of file dem.h.

◆ this_mpi_process

template<int dim, typename PropertiesIndex>
const unsigned int DEMSolver< dim, PropertiesIndex >::this_mpi_process
private

The rank of the current MPI process.

Definition at line 274 of file dem.h.

◆ torque

template<int dim, typename PropertiesIndex>
std::vector<Tensor<1, 3> >& DEMSolver< dim, PropertiesIndex >::torque = contact_outcome.torque
private

The vector of torque of particles.

Definition at line 448 of file dem.h.

◆ torques_boundary_information

template<int dim, typename PropertiesIndex>
dem_data_structures<dim>::vector_on_boundary DEMSolver< dim, PropertiesIndex >::torques_boundary_information
private

The torques boundary information.

Definition at line 507 of file dem.h.

◆ triangulation

template<int dim, typename PropertiesIndex>
parallel::distributed::Triangulation<dim> DEMSolver< dim, PropertiesIndex >::triangulation
private

The distributed triangulation used for the DEM simulation.

Definition at line 295 of file dem.h.

◆ updated_boundary_points_and_normal_vectors

template<int dim, typename PropertiesIndex>
dem_data_structures<dim>::boundary_points_and_normal_vectors DEMSolver< dim, PropertiesIndex >::updated_boundary_points_and_normal_vectors
private

The map of the point and normal vector of grid. Only used with grid motion.

Definition at line 495 of file dem.h.

◆ visualization_object

template<int dim, typename PropertiesIndex>
Visualization<dim, PropertiesIndex> DEMSolver< dim, PropertiesIndex >::visualization_object
private

The visualization object.

Definition at line 428 of file dem.h.


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