Skip to content

C++ functions to calculate some frictional dyamics problems on horizontal and inclined planes.

License

Notifications You must be signed in to change notification settings

dev-xero/friction-dynamics-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Friction Dynamics

Some functions that calculate problems in evaluating the frictional force required in some friction dynamics problems.

Implemented

1. CalculateFrictionalForceOnHorizontal():

Evaluates the frictional force experienced by a rigid body on a non-smooth horizontal plane.

  double CalculateFrictionalForceOnHorizontal(double mu, double normalReaction);

2. CalculateFrictionalForceOnInclined():

Evaluates the frictional force experienced by a rigid body on an inclined, non-smooth horizontal plane.

  double CalculateFrictionalForceOnInclined(double mu, double normalReaction, double angle);

Building From Source

I've setup a CMAKE toolchain to simplify the building and linking process. To get started, ensure you have gcc, make and CMake installed. In the root directory, run this command to build and link object files:

  cmake .

The compiled binary will be located in a build folder in the root directory.

About

C++ functions to calculate some frictional dyamics problems on horizontal and inclined planes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages