27 "Computes the nodal worn-out depth from the frictional work dissipated on a mortar contact "
28 "surface (Reye's wear law, commonly called Archard's law)");
30 "Optional variable to take the value of. If omitted the value of the "
31 "`variable` itself is returned.");
33 "The displacement variables. This mortar nodal auxiliary kernel can "
34 "take two or three displacements");
37 "The mortar contact user object that provides the normal contact pressure. Required when the "
38 "contact pressure comes from a mechanical contact solve.");
41 "An auxiliary variable holding a prescribed physical normal contact pressure");
42 params.
addParam<
bool>(
"use_displaced_mesh",
44 "Whether to use the displaced mesh to compute the auxiliary kernel value");
48 "Whether to accumulate worn-out depth (The default 'true' is strongly recommended)");
50 "friction_coefficient",
51 "Coulomb friction coefficient used to compute the frictional dissipation rate (to match "
52 "that of frictional contact)");
54 "energy_wear_coefficient",
55 "Worn-out depth per unit frictional work dissipated per unit area (Reye's wear law)");
56 params.
set<
bool>(
"interpolate_normals") =
false;
63 _contact_pressure_provider(
64 isParamValid(
"weighted_gap_uo")
67 _normal_pressure(isCoupled(
"normal_pressure") || isCoupledConstant(
"normal_pressure")
68 ? &coupledValueLower(
"normal_pressure")
70 _friction_coefficient(getParam<Real>(
"friction_coefficient")),
71 _energy_wear_coefficient(getParam<Real>(
"energy_wear_coefficient")),
74 _has_disp_z(_displacements[2] ?
true : false),
75 _secondary_x_dot(_displacements[0]->adUDot()),
76 _primary_x_dot(_displacements[0]->adUDotNeighbor()),
77 _secondary_y_dot(_displacements[1]->adUDot()),
78 _primary_y_dot(_displacements[1]->adUDotNeighbor()),
79 _secondary_z_dot(_has_disp_z ? &_displacements[2]->adUDot() : nullptr),
80 _primary_z_dot(_has_disp_z ? &_displacements[2]->adUDotNeighbor() : nullptr),
82 _qp_gap_velocity_nodal(0)
87 "The MortarFrictionalWorkWearAux auxiliary kernel requires the use of displaced meshes to "
88 "compute the worn-out depth.");
92 "Provide the normal contact pressure through either 'normal_pressure' or "
93 "'weighted_gap_uo', but not both.");
96 "Provide the normal contact pressure through 'weighted_gap_uo' or "
97 "'normal_pressure'.");
115 "Normals and test_lower must be the same size");
137 RealVectorValue gap_velocity_vec;
148 const auto norm_tangential_vel = gap_velocity_vec.norm();
registerMooseObject("ContactApp", MortarFrictionalWorkWearAux)
registerMooseObjectRenamed("ContactApp", MortarArchardsLawAux, "06/30/2027 24:00", MortarFrictionalWorkWearAux)
const Node *const & _current_node
MooseVariable * getVar(const std::string &var_name, unsigned int comp)
void paramError(const std::string ¶m, Args... args) const
SubdomainID primarySubdomain() const
const libMesh::QBase *const & _qrule_msm
SubdomainID secondarySubdomain() const
std::vector< Point > _normals
const std::vector< Real > & _JxW_msm
Compute the nodal worn-out depth from Reye's wear law (Reye 1860, col.
Real computeValue() override
const Real _friction_coefficient
Coulomb friction coefficient used to compute the frictional dissipation rate.
const ADVariableValue & _secondary_x_dot
x-velocity on the secondary face
const ADVariableValue *const _primary_z_dot
z-velocity on the primary face
const bool _has_disp_z
For 2D mortar contact no displacement will be specified, so const pointers used.
Real _worn_depth
The worn-out depth (Aux Kernel computed value)
const ADVariableValue & _primary_x_dot
x-velocity on the primary face
const ADVariableValue & _secondary_y_dot
y-velocity on the secondary face
Real _nodal_normal_pressure
The normal contact pressure at the current node.
MortarFrictionalWorkWearAux(const InputParameters ¶meters)
Constructor of mortar auxiliary kernel to compute nodal worn-out depth.
Real normalPressure() const
The normal contact pressure at the current node.
const Real _energy_wear_coefficient
Worn-out depth per unit dissipated frictional energy density (Reye's wear coefficient)
const ADVariableValue *const _secondary_z_dot
z-velocity on the secondary face
void computeQpIProperties()
static InputParameters validParams()
void computeQpProperties()
const MortarContactPressureProvider *const _contact_pressure_provider
Mortar contact object that provides the physical normal contact pressure, or nullptr.
const VariableValue *const _normal_pressure
Prescribed normal contact pressure variable, or nullptr when the pressure comes from the user object ...
const ADVariableValue & _primary_y_dot
y-velocity on the primary face
const OutputTools< ComputeValueType >::VariableTestValue & _test_lower
const MooseArray< Real > & _coord_msm
static InputParameters validParams()
unsigned int n_points() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real