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

Go to the source code of this file.

Functions

template<int dim, typename PropertiesIndex>
std::shared_ptr< ParticleWallContactForceBase< dim, PropertiesIndex > > set_particle_wall_contact_force_model (const DEMSolverParameters< dim > &dem_parameters)
template<int dim, typename PropertiesIndex, Parameters::Lagrangian::ParticleWallContactForceModel particle_wall_contact_force_model>
void set_rolling_resistance_model (const DEMSolverParameters< dim > &dem_parameters, std::shared_ptr< ParticleWallContactForceBase< dim, PropertiesIndex > > &particle_wall_contact_force_object)

Function Documentation

◆ set_particle_wall_contact_force_model()

template<int dim, typename PropertiesIndex>
std::shared_ptr< ParticleWallContactForceBase< dim, PropertiesIndex > > set_particle_wall_contact_force_model ( const DEMSolverParameters< dim > & dem_parameters)

Return the particle-wall contact force model based on the spring-dashpot model and the rolling resistance model (and the cohesive force model if applicable).

Template Parameters
dimAn integer that denotes the number of spatial dimensions.
PropertiesIndexIndex of the properties used within the ParticleHandler.
Parameters
[in]dem_parametersDEM parameters.
Returns
Pointer to the particle-wall contact force object.

Definition at line 14 of file set_particle_wall_contact_force_model.cc.

References Parameters::Lagrangian::DMT, Parameters::Lagrangian::JKR, Parameters::Lagrangian::linear, DEMSolverParameters< dim >::model_parameters, Parameters::Lagrangian::none, Parameters::Lagrangian::nonlinear, set_rolling_resistance_model(), and Parameters::Lagrangian::shift.

◆ set_rolling_resistance_model()

template<int dim, typename PropertiesIndex, Parameters::Lagrangian::ParticleWallContactForceModel particle_wall_contact_force_model>
void set_rolling_resistance_model ( const DEMSolverParameters< dim > & dem_parameters,
std::shared_ptr< ParticleWallContactForceBase< dim, PropertiesIndex > > & particle_wall_contact_force_object )

Set the rolling resistance model for the particle-wall contact force model.

Template Parameters
dimAn integer that denotes the number of spatial dimensions.
PropertiesIndexIndex of the properties used within the ParticleHandler.
particle_wall_contact_force_modelParticle-wall contact force model.
Parameters
[in]dem_parametersDEM parameters.
[out]particle_wall_contact_force_objectPointer to the particle- wall contact force object.

Definition at line 93 of file set_particle_wall_contact_force_model.cc.

References Parameters::Lagrangian::constant, Parameters::Lagrangian::epsd, DEMSolverParameters< dim >::model_parameters, Parameters::Lagrangian::none, and Parameters::Lagrangian::viscous.