Interface for objects that provide the physical normal contact pressure of a mortar interface. More...
#include <MortarContactPressureProvider.h>
Public Member Functions | |
| MortarContactPressureProvider (const MortarUserObject &provider_object) | |
| virtual | ~MortarContactPressureProvider ()=default |
| virtual ADReal | nodalContactPressure (const libMesh::Node &node) const =0 |
| virtual const VariableTestValue & | tractionBasis () const =0 |
| ADReal | qpContactPressure (const libMesh::Elem &lower_secondary_elem, unsigned int qp) const |
| void | checkConsumer (const MooseObject &consumer, const std::string ¶m, SubdomainID primary_subdomain, SubdomainID secondary_subdomain, bool use_displaced_mesh) const |
| Report an error unless a consumer lies on the same mortar interface and mesh as this provider. | |
Private Attributes | |
| const MortarUserObject & | _provider_object |
| The mortar user object that implements this interface. | |
Interface for objects that provide the physical normal contact pressure of a mortar interface.
A contact Lagrange multiplier variable can store a scaled pressure, so objects in other modules that need the pressure obtain it from the contact object through this interface.
Definition at line 28 of file MortarContactPressureProvider.h.
| MortarContactPressureProvider::MortarContactPressureProvider | ( | const MortarUserObject & | provider_object | ) |
| provider_object | The mortar user object that implements this interface. Consumers must share its interface and mesh. |
Definition at line 15 of file MortarContactPressureProvider.C.
|
virtualdefault |
| void MortarContactPressureProvider::checkConsumer | ( | const MooseObject & | consumer, |
| const std::string & | param, | ||
| SubdomainID | primary_subdomain, | ||
| SubdomainID | secondary_subdomain, | ||
| bool | use_displaced_mesh | ||
| ) | const |
Report an error unless a consumer lies on the same mortar interface and mesh as this provider.
nodalContactPressure() and tractionBasis() are only valid for the nodes and quadrature points of that interface and mesh.
| consumer | The object that reads the contact pressure |
| param | The consumer parameter that names this provider |
| primary_subdomain | The consumer primary lower-dimensional subdomain |
| secondary_subdomain | The consumer secondary lower-dimensional subdomain |
| use_displaced_mesh | Whether the consumer operates on the displaced mesh |
Definition at line 33 of file MortarContactPressureProvider.C.
|
pure virtual |
| node | A secondary node of the mortar interface |
node, carrying its derivatives with respect to the solution Referenced by qpContactPressure().
| ADReal MortarContactPressureProvider::qpContactPressure | ( | const libMesh::Elem & | lower_secondary_elem, |
| unsigned int | qp | ||
| ) | const |
| lower_secondary_elem | The current secondary lower-dimensional element |
| qp | The current mortar segment quadrature point |
qp, interpolated from the nodal pressures of lower_secondary_elem with tractionBasis() Definition at line 22 of file MortarContactPressureProvider.C.
|
pure virtual |
Referenced by qpContactPressure().
|
private |
The mortar user object that implements this interface.
Definition at line 78 of file MortarContactPressureProvider.h.
Referenced by checkConsumer().