NetDEM v1.0
|
A class representing the contact forces and moments arising from a contact interaction. More...
#include <contact_forces.hpp>
Public Member Functions | |
void | Clear () |
Public Attributes | |
double | fc_n {0} |
double | fc_s {0} |
double | fc_t {0} |
double | mc_n {0} |
double | mc_s {0} |
double | mc_t {0} |
double | fd_n {0} |
double | fd_s {0} |
double | fd_t {0} |
double | md_n {0} |
double | md_s {0} |
double | md_t {0} |
Vec3d | force {0, 0, 0} |
Vec3d | moment {0, 0, 0} |
Vec3d | force_n {0, 0, 0} |
Vec3d | force_t {0, 0, 0} |
Vec3d | moment_n {0, 0, 0} |
Vec3d | moment_t {0, 0, 0} |
A class representing the contact forces and moments arising from a contact interaction.
This class stores both local and global representations of the contact forces and moments, as well as separate components along the normal and tangential directions. The local representation includes the contact force and moment components computed at each point of contact, while the global representation includes the summed contact forces and moments acting on all points of contact.
|
inline |
Set all force and moment components to zero.
double netdem::ContactForces::fc_n {0} |
Normal, tangential, and shear force components acting at each point of contact.
double netdem::ContactForces::fc_s {0} |
double netdem::ContactForces::fc_t {0} |
double netdem::ContactForces::fd_n {0} |
Normal, tangential, and shear damping force components acting at each point of contact.
double netdem::ContactForces::fd_s {0} |
double netdem::ContactForces::fd_t {0} |
Vec3d netdem::ContactForces::force {0, 0, 0} |
Total force vector acting on the object due to all points of contact.
Vec3d netdem::ContactForces::force_n {0, 0, 0} |
Force components acting along the normal direction.
Vec3d netdem::ContactForces::force_t {0, 0, 0} |
Force components acting along the tangential direction.
double netdem::ContactForces::mc_n {0} |
Normal, tangential, and shear moment components acting at each point of contact.
double netdem::ContactForces::mc_s {0} |
double netdem::ContactForces::mc_t {0} |
double netdem::ContactForces::md_n {0} |
Normal, tangential, and shear damping moment components acting at each point of contact.
double netdem::ContactForces::md_s {0} |
double netdem::ContactForces::md_t {0} |
Vec3d netdem::ContactForces::moment {0, 0, 0} |
Total moment vector acting on the object due to all points of contact.
Vec3d netdem::ContactForces::moment_n {0, 0, 0} |
Moment components acting along the normal direction.
Vec3d netdem::ContactForces::moment_t {0, 0, 0} |
Moment components acting along the tangential direction.