chrono::vehicle::fmtv::MTV_ShockForceRear Class Reference

Description

MTV rear shock functor class - implements a nonlinear damper.

#include <MTV_SpringDamper.h>

Inheritance diagram for chrono::vehicle::fmtv::MTV_ShockForceRear:
Collaboration diagram for chrono::vehicle::fmtv::MTV_ShockForceRear:

Public Member Functions

 MTV_ShockForceRear (double compression_slope, double compression_degressivity, double expansion_slope, double expansion_degressivity)
 
virtual double operator() (double time, double rest_length, double length, double vel, ChLinkTSDA *link) override
 Calculate and return the general spring-damper force at the specified configuration. More...
 

Member Function Documentation

◆ operator()()

double chrono::vehicle::fmtv::MTV_ShockForceRear::operator() ( double  time,
double  rest_length,
double  length,
double  vel,
ChLinkTSDA link 
)
overridevirtual

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().

Parameters
timecurrent time
rest_lengthundeformed length
lengthcurrent length
velcurrent velocity (positive when extending)
linkback-pointer to associated link

Implements chrono::ChLinkTSDA::ForceFunctor.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_models/vehicle/mtv/MTV_SpringDamper.h
  • /builds/uwsbel/chrono/src/chrono_models/vehicle/mtv/MTV_SpringDamper.cpp