Advanced DEM kernel.
This model is a linearized version of Edward Biegert, Bernhard Vowinckel, Eckart Meiburg A collision model for grain-resolving simulations of flows over dense, mobile, polydisperse granular sediment beds https://doi.org/10.1016/j.jcp.2017.03.035
#include <LinearSpringDashpot.h>
Public Member Functions | |
LinearSpringDashpot (const uint_t numParticleTypes) | |
LinearSpringDashpot (const LinearSpringDashpot &other)=default | |
LinearSpringDashpot (LinearSpringDashpot &&other)=default | |
LinearSpringDashpot & | operator= (const LinearSpringDashpot &other)=default |
LinearSpringDashpot & | operator= (LinearSpringDashpot &&other)=default |
template<typename Accessor > | |
void | operator() (const size_t p_idx1, const size_t p_idx2, Accessor &ac, const Vec3 &contactPoint, const Vec3 &contactNormal, const real_t &penetrationDepth, const real_t &dt) const |
real_t | calcCoefficientOfRestitution (const size_t type1, const size_t type2, const real_t effectiveMass) |
real_t | calcCollisionTime (const size_t type1, const size_t type2, const real_t effectiveMass) |
void | setStiffnessAndDamping (const size_t type1, const size_t type2, const real_t coefficientOfRestitution, const real_t collisionTime, const real_t kappa, const real_t effectiveMass) |
void | setStiffnessN (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
void | setStiffnessT (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
void | setDampingN (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
void | setDampingT (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
void | setFrictionCoefficientStatic (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
void | setFrictionCoefficientDynamic (const size_t type1, const size_t type2, const real_t &val) |
assumes this parameter is symmetric More... | |
real_t | getStiffnessN (const size_t type1, const size_t type2) const |
real_t | getStiffnessT (const size_t type1, const size_t type2) const |
real_t | getDampingN (const size_t type1, const size_t type2) const |
real_t | getDampingT (const size_t type1, const size_t type2) const |
real_t | getFrictionCoefficientStatic (const size_t type1, const size_t type2) const |
real_t | getFrictionCoefficientDynamic (const size_t type1, const size_t type2) const |
Private Attributes | |
uint_t | numParticleTypes_ |
std::vector< real_t > | stiffnessN_ {} |
std::vector< real_t > | stiffnessT_ {} |
std::vector< real_t > | dampingN_ {} |
std::vector< real_t > | dampingT_ {} |
std::vector< real_t > | frictionCoefficientStatic_ {} |
std::vector< real_t > | frictionCoefficientDynamic_ {} |
walberla::mesa_pd::kernel::LinearSpringDashpot::LinearSpringDashpot | ( | const uint_t | numParticleTypes | ) |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
assumes this parameter is symmetric
|
inline |
assumes this parameter is symmetric
|
inline |
assumes this parameter is symmetric
|
inline |
assumes this parameter is symmetric
|
inline |
|
inline |
assumes this parameter is symmetric
|
inline |
assumes this parameter is symmetric
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |