NetDEM v1.0
Loading...
Searching...
No Matches
netdem::ContactForces Class Reference

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}
 

Detailed Description

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.

Member Function Documentation

◆ Clear()

void netdem::ContactForces::Clear ( )
inline

Set all force and moment components to zero.

Member Data Documentation

◆ fc_n

double netdem::ContactForces::fc_n {0}

Normal, tangential, and shear force components acting at each point of contact.

◆ fc_s

double netdem::ContactForces::fc_s {0}

◆ fc_t

double netdem::ContactForces::fc_t {0}

◆ fd_n

double netdem::ContactForces::fd_n {0}

Normal, tangential, and shear damping force components acting at each point of contact.

◆ fd_s

double netdem::ContactForces::fd_s {0}

◆ fd_t

double netdem::ContactForces::fd_t {0}

◆ force

Vec3d netdem::ContactForces::force {0, 0, 0}

Total force vector acting on the object due to all points of contact.

◆ force_n

Vec3d netdem::ContactForces::force_n {0, 0, 0}

Force components acting along the normal direction.

◆ force_t

Vec3d netdem::ContactForces::force_t {0, 0, 0}

Force components acting along the tangential direction.

◆ mc_n

double netdem::ContactForces::mc_n {0}

Normal, tangential, and shear moment components acting at each point of contact.

◆ mc_s

double netdem::ContactForces::mc_s {0}

◆ mc_t

double netdem::ContactForces::mc_t {0}

◆ md_n

double netdem::ContactForces::md_n {0}

Normal, tangential, and shear damping moment components acting at each point of contact.

◆ md_s

double netdem::ContactForces::md_s {0}

◆ md_t

double netdem::ContactForces::md_t {0}

◆ moment

Vec3d netdem::ContactForces::moment {0, 0, 0}

Total moment vector acting on the object due to all points of contact.

◆ moment_n

Vec3d netdem::ContactForces::moment_n {0, 0, 0}

Moment components acting along the normal direction.

◆ moment_t

Vec3d netdem::ContactForces::moment_t {0, 0, 0}

Moment components acting along the tangential direction.


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