![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <parameters_lagrangian.h>
Public Types | |
| enum class | LoadBalanceMethod { none , once , frequent , dynamic , dynamic_with_sparse_contacts } |
| enum class | ContactDetectionMethod { constant , dynamic } |
| enum class | IntegrationMethod { velocity_verlet , explicit_euler } |
Public Member Functions | |
| void | parse_parameters (ParameterHandler &prm) |
Static Public Member Functions | |
| static void | declare_parameters (ParameterHandler &prm) |
Numerical model parameters for DEM simulations.
This class stores the contact detection, load balancing, force model selection, time integration, and sparse contact optimization parameters.
| dim | Number of spatial dimensions. |
Definition at line 538 of file parameters_lagrangian.h.
|
strong |
Contact detection method used in the simulation.
| Enumerator | |
|---|---|
| constant | Carry-out contact detection at a constant frequency. |
| dynamic | Carry-out contact detection when the maximum displacement of a particle exceeds the smallest contact search criterion. |
Definition at line 599 of file parameters_lagrangian.h.
|
strong |
Time integration method for particle motion.
| Enumerator | |
|---|---|
| velocity_verlet | Velocity Verlet second-order time integration scheme. |
| explicit_euler | Explicit Euler first-order time integration scheme. |
Definition at line 635 of file parameters_lagrangian.h.
|
strong |
Load balancing strategy for parallel DEM simulations.
| Enumerator | |
|---|---|
| none | No load-balancing will be performed. |
| once | Perform load-balancing once. |
| frequent | Perform load-balancing at a given frequency. |
| dynamic | Perform load-balancing when the computational load among processes becomes too uneven. |
| dynamic_with_sparse_contacts | Perform load-balancing in a similar manner to LoadBalanceMethod::dynamic but considering also the mobility status of the cells. |
Definition at line 544 of file parameters_lagrangian.h.
|
static |
Declare the parameters in the parameter handler.
| [in,out] | prm | The parameter handler object. |
Definition at line 965 of file parameters_lagrangian.cc.
References active_load_balancing_factor, advect_particles, contact_detection_frequency, contact_detection_method, declare_enum_entry(), disable_position_integration, dmt_cut_off_threshold, dynamic_contact_search_factor, dynamic_load_balance_check_frequency, f_coefficient_epsd, granular_temperature_threshold, inactive_load_balancing_factor, integration_method, load_balance_frequency, load_balance_method, load_balance_particle_weight, load_balance_step, load_balance_threshold, neighborhood_threshold, particle_particle_contact_force_model, particle_wall_contact_force_method, rolling_resistance_method, solid_fraction_threshold, solver_type, and sparse_particle_contacts.
| void Parameters::Lagrangian::ModelParameters< dim >::parse_parameters | ( | ParameterHandler & | prm | ) |
Parse the parameters from the parameter handler.
| [in] | prm | The parameter handler object. |
Definition at line 1158 of file parameters_lagrangian.cc.
References active_load_balancing_factor, advect_particles, cell_weight_function, contact_detection_frequency, contact_detection_method, disable_position_integration, dmt_cut_off_threshold, dynamic_contact_search_factor, dynamic_load_balance_check_frequency, dynamic_with_sparse_contacts, f_coefficient_epsd, granular_temperature_threshold, inactive_load_balancing_factor, integration_method, load_balance_frequency, load_balance_method, load_balance_particle_weight, load_balance_step, load_balance_threshold, neighborhood_threshold, particle_particle_contact_force_model, particle_wall_contact_force_method, rolling_resistance_method, solid_fraction_threshold, solver_type, sparse_particle_contacts, and string_to_enum().
| double Parameters::Lagrangian::ModelParameters< dim >::active_load_balancing_factor = 1.0 |
Factor applied to particle weight for active cells in load balancing (only used with adaptive sparse contacts).
Definition at line 587 of file parameters_lagrangian.h.
| bool Parameters::Lagrangian::ModelParameters< dim >::advect_particles = false |
Enable advection of particles using cell-averaged fluid velocity and acceleration.
Definition at line 653 of file parameters_lagrangian.h.
| std::shared_ptr<Function<dim> > Parameters::Lagrangian::ModelParameters< dim >::cell_weight_function |
Function returning the weight of a cell based on its barycenter position.
Definition at line 580 of file parameters_lagrangian.h.
| unsigned int Parameters::Lagrangian::ModelParameters< dim >::contact_detection_frequency = 1 |
Frequency of particle-particle and particle-wall contact detection.
Definition at line 576 of file parameters_lagrangian.h.
| enum Parameters::Lagrangian::ModelParameters::ContactDetectionMethod Parameters::Lagrangian::ModelParameters< dim >::contact_detection_method |
Contact detection method used in the simulation.
| bool Parameters::Lagrangian::ModelParameters< dim >::disable_position_integration = false |
Disable position integration for particles.
Definition at line 664 of file parameters_lagrangian.h.
| double Parameters::Lagrangian::ModelParameters< dim >::dmt_cut_off_threshold = 0.1 |
Cut-off threshold beyond which Van der Waals forces are ignored.
Definition at line 615 of file parameters_lagrangian.h.
| double Parameters::Lagrangian::ModelParameters< dim >::dynamic_contact_search_factor = 0.8 |
Safety factor for dynamic contact search.
Definition at line 594 of file parameters_lagrangian.h.
| unsigned int Parameters::Lagrangian::ModelParameters< dim >::dynamic_load_balance_check_frequency = 10000 |
Check frequency for dynamic load balancing.
Definition at line 573 of file parameters_lagrangian.h.
| double Parameters::Lagrangian::ModelParameters< dim >::f_coefficient_epsd = 0. |
Model parameter for the EPSD rolling resistance model.
Definition at line 630 of file parameters_lagrangian.h.
| double Parameters::Lagrangian::ModelParameters< dim >::granular_temperature_threshold = 1e-4 |
Minimum granular temperature for cells where particle contacts are evaluated.
Definition at line 657 of file parameters_lagrangian.h.
| double Parameters::Lagrangian::ModelParameters< dim >::inactive_load_balancing_factor = 1.0 |
Factor applied to particle weight for inactive cells in load balancing (only used with adaptive sparse contacts).
Definition at line 591 of file parameters_lagrangian.h.
| enum Parameters::Lagrangian::ModelParameters::IntegrationMethod Parameters::Lagrangian::ModelParameters< dim >::integration_method |
Time integration method for particle motion.
| unsigned int Parameters::Lagrangian::ModelParameters< dim >::load_balance_frequency = 100000 |
Load balance frequency (in time steps).
Definition at line 567 of file parameters_lagrangian.h.
| enum Parameters::Lagrangian::ModelParameters::LoadBalanceMethod Parameters::Lagrangian::ModelParameters< dim >::load_balance_method |
Load balancing strategy for parallel DEM simulations.
| unsigned int Parameters::Lagrangian::ModelParameters< dim >::load_balance_particle_weight = 2000 |
Particle weight used for load balancing.
Definition at line 583 of file parameters_lagrangian.h.
| unsigned int Parameters::Lagrangian::ModelParameters< dim >::load_balance_step = 100000 |
Load balance step (for single-step load balancing).
Definition at line 564 of file parameters_lagrangian.h.
| double Parameters::Lagrangian::ModelParameters< dim >::load_balance_threshold = 0.5 |
Load balance threshold (for dynamic load balancing).
Definition at line 570 of file parameters_lagrangian.h.
| double Parameters::Lagrangian::ModelParameters< dim >::neighborhood_threshold = 1.3 |
Contact search neighborhood threshold (neighborhood diameter to particle diameter ratio).
Definition at line 612 of file parameters_lagrangian.h.
| ParticleParticleContactForceModel Parameters::Lagrangian::ModelParameters< dim >::particle_particle_contact_force_model |
Particle-particle contact force model.
Definition at line 618 of file parameters_lagrangian.h.
| ParticleWallContactForceModel Parameters::Lagrangian::ModelParameters< dim >::particle_wall_contact_force_method |
Particle-wall contact force model.
Definition at line 622 of file parameters_lagrangian.h.
| RollingResistanceMethod Parameters::Lagrangian::ModelParameters< dim >::rolling_resistance_method |
Rolling resistance torque method.
Definition at line 626 of file parameters_lagrangian.h.
| double Parameters::Lagrangian::ModelParameters< dim >::solid_fraction_threshold = 0.4 |
Maximum solid fraction for cells where particle contacts are always evaluated regardless of granular temperature.
Definition at line 661 of file parameters_lagrangian.h.
| DEM::SolverType Parameters::Lagrangian::ModelParameters< dim >::solver_type = DEM::SolverType::dem |
Solver type (DEM, CFD-DEM, or DEM multiphysics).
Definition at line 646 of file parameters_lagrangian.h.
| bool Parameters::Lagrangian::ModelParameters< dim >::sparse_particle_contacts = false |
Enable sparse particle contacts to optimize performance.
Definition at line 649 of file parameters_lagrangian.h.