chrono::ChLoaderPressure Class Reference
Description
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< ChLoadable > | GetLoadable () override |
std::shared_ptr< ChLoadableUV > | GetLoadableUV () |
Additional Inherited Members | |
Public Attributes inherited from chrono::ChLoaderUV | |
std::shared_ptr< ChLoadableUV > | loadable |
Public Attributes inherited from chrono::ChLoader | |
ChVectorDynamic | Q |
Member Function Documentation
◆ ComputeF()
|
inlineoverridevirtual |
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.
- Parameters
-
U parametric coordinate in surface V parametric coordinate in surface F result vector, size = field dim of loadable state_x if != 0, update state (pos. part) to this, then evaluate F state_w if != 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