chrono::ChLoaderPressure Class Reference


Commonly used surface loader: constant pressure load, a 3D per-area force aligned with the surface normal.

#include <ChLoaderUV.h>

Inheritance diagram for chrono::ChLoaderPressure:
Collaboration diagram for chrono::ChLoaderPressure:

Public Member Functions

 ChLoaderPressure (std::shared_ptr< ChLoadableUV > mloadable)
virtual void ComputeF (double U, double V, ChVectorDynamic<> &F, ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w) override
 Evaluate F = F(u,v) for this line load. More...
void SetPressure (double mpressure)
double GetPressure ()
void SetIntegrationPoints (int val)
virtual int GetIntegrationPointsU () override
virtual int GetIntegrationPointsV () override
void SetStiff (bool val)
virtual bool IsStiff () override
- Public Member Functions inherited from chrono::ChLoaderUVdistributed
 ChLoaderUVdistributed (std::shared_ptr< ChLoadableUV > mloadable)
virtual void ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w) override
 Compute the generalized load Q = integral (N'*F*detJ dudvdz), using the ComputeF method. More...
- Public Member Functions inherited from chrono::ChLoaderUV
 ChLoaderUV (std::shared_ptr< ChLoadableUV > mloadable)
void SetLoadable (std::shared_ptr< ChLoadableUV > mloadable)
virtual std::shared_ptr< ChLoadableGetLoadable () override
std::shared_ptr< ChLoadableUVGetLoadableUV ()

Additional Inherited Members

- Public Attributes inherited from chrono::ChLoaderUV
std::shared_ptr< ChLoadableUVloadable
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q

Member Function Documentation

◆ ComputeF()

virtual void chrono::ChLoaderPressure::ComputeF ( double  U,
double  V,
ChVectorDynamic<> &  F,
ChVectorDynamic<> *  state_x,
ChVectorDynamic<> *  state_w 

Evaluate F = F(u,v) for this line load.

The vector F is set to zero on entry. The function provided by derived classes is called by ComputeQ to perform integration over the domain.

Uparametric coordinate in surface
Vparametric coordinate in surface
Fresult vector, size = field dim 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::ChLoaderUV.

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