chrono::vehicle::NonlinearDamperTorque Class Reference

Description

Utility class for specifying a nonlinear rotational damper torque.

#include <ChSubsysDefs.h>

Inheritance diagram for chrono::vehicle::NonlinearDamperTorque:
Collaboration diagram for chrono::vehicle::NonlinearDamperTorque:

Public Member Functions

 NonlinearDamperTorque (const std::vector< std::pair< double, double >> &dataC)
 
void add_pointC (double x, double y)
 
virtual double evaluate (double time, double rest_angle, double angle, double vel, const ChLinkRSDA &link) override
 Calculate and return the general spring-damper torque at the specified configuration. More...
 
virtual rapidjson::Value exportJSON (rapidjson::Document::AllocatorType &allocator) override
 Optional reporting function to generate a JSON value with functor information.
 

Member Function Documentation

◆ evaluate()

double chrono::vehicle::NonlinearDamperTorque::evaluate ( double  time,
double  rest_angle,
double  angle,
double  vel,
const ChLinkRSDA link 
)
overridevirtual

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

Parameters
timecurrent time
rest_angleundeformed angle
anglerelative angle of rotation
velrelative angular speed
linkassociated RSDA link

Implements chrono::ChLinkRSDA::TorqueFunctor.


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