chrono::fea::ChLoaderBeamWrenchDistributed Class Reference

Description

Distributed constant wrench.

Loader for a constant wrench (force+torque) distributed on a beam. An distributed wrench on the beam contains a "force per unit length" and a "torque per unit length"

#include <ChLoadsBeam.h>

Inheritance diagram for chrono::fea::ChLoaderBeamWrenchDistributed:
Collaboration diagram for chrono::fea::ChLoaderBeamWrenchDistributed:

Public Member Functions

 ChLoaderBeamWrenchDistributed (std::shared_ptr< ChLoadableU > mloadable)
 
virtual void ComputeF (const double U, ChVectorDynamic<> &F, ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)
 Children classes must provide this function that evaluates F = F(u) This will be evaluated during ComputeQ() to perform integration over the domain. More...
 
virtual int GetIntegrationPointsU ()
 
void SetForcePerUnit (const ChVector<> &mf)
 Set force per unit legth (ex. [N/m] )
 
ChVector GetForcePerUnit () const
 
void SetTorquePerUnit (const ChVector<> &mt)
 Set torque per unit legth (ex. [Nm/m] )
 
ChVector GetTorquePerUnit () const
 
- Public Member Functions inherited from chrono::ChLoaderUdistributed
 ChLoaderUdistributed (std::shared_ptr< ChLoadableU > mloadable)
 
virtual void ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w) override
 Computes Q = integral (N'*F*detJ du) More...
 
- Public Member Functions inherited from chrono::ChLoaderU
 ChLoaderU (std::shared_ptr< ChLoadableU > mloadable)
 
void SetLoadable (std::shared_ptr< ChLoadableU > mloadable)
 
virtual std::shared_ptr
< ChLoadable
GetLoadable () override
 
std::shared_ptr< ChLoadableUGetLoadableU ()
 
- Public Member Functions inherited from chrono::ChLoader
virtual bool IsStiff ()
 

Additional Inherited Members

- Public Types inherited from chrono::ChLoaderU
typedef ChLoadableU type_loadable
 
- Public Attributes inherited from chrono::ChLoaderU
std::shared_ptr< ChLoadableUloadable
 
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q
 

Member Function Documentation

virtual void chrono::fea::ChLoaderBeamWrenchDistributed::ComputeF ( const double  U,
ChVectorDynamic<> &  F,
ChVectorDynamic<> *  state_x,
ChVectorDynamic<> *  state_w 
)
virtual

Children classes must provide this function that evaluates F = F(u) This will be evaluated during ComputeQ() to perform integration over the domain.

Parameters
Uparametric coordinate in line
FResult F vector here, size must be = n.field coords.of loadable
state_xif != 0, update state (pos. part) to this, then evaluate F
state_wif != 0, update state (speed part) to this, then evaluate F

Implements chrono::ChLoaderU.