chrono::vehicle::DegressiveDamperForce Class Reference


Utility class for specifying a degressive translational damper force.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::DegressiveDamperForce:
Collaboration diagram for chrono::vehicle::DegressiveDamperForce:

Public Member Functions

 DegressiveDamperForce (double c_compression)
 Fallback to LinearDamperForce.
 DegressiveDamperForce (double c_compression, double c_expansion)
 Fallback to LinearDamperForce with different compression and expansion bins.
 DegressiveDamperForce (double c_compression, double degr_compression, double degr_expansion)
 Different compression and expansion degressivity, same damper coefficient at origin.
 DegressiveDamperForce (double c_compression, double degr_compression, double c_expansion, double degr_expansion)
 Full parametrization.
virtual double evaluate (double time, double rest_length, double length, double vel, const ChLinkTSDA &link) override
 Calculate and return the general spring-damper force at the specified configuration. More...

Member Function Documentation

◆ evaluate()

virtual double chrono::vehicle::DegressiveDamperForce::evaluate ( double  time,
double  rest_length,
double  length,
double  vel,
const ChLinkTSDA link 

Calculate and return the general spring-damper force at the specified configuration.

If the link has internal ODE states, the current states can be accessed with link->GetStates().

timecurrent time
rest_lengthundeformed length
lengthcurrent length
velcurrent velocity (positive when extending)
linkassociated TSDA link

Implements chrono::ChLinkTSDA::ForceFunctor.

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_vehicle/ChSubsysDefs.h