20 params.
set<
bool>(
"_compute_primal_gradients") =
false;
24 "component", component,
"The force component constraint that this object is supplying");
26 "Used to apply tangential stresses from frictional contact using lagrange multipliers");
27 params.
addRequiredParam<UserObjectName>(
"cohesive_zone_uo",
"The cohesive zone user object.");
28 params.
set<
bool>(
"interpolate_normals") =
false;
29 params.
set<
bool>(
"compute_lm_residual") =
false;
32 params.
set<
bool>(
"use_displaced_mesh") =
true;
38 _component(getParam<
MooseEnum>(
"component")),
42 if (!getParam<bool>(
"use_displaced_mesh"))
44 "'use_displaced_mesh' must be true for the MortarGenericTraction object");
52 case Moose::MortarType::Secondary:
54 case Moose::MortarType::Primary:
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("ContactApp", MortarGenericTraction)
This class enforces mortar constraints on lower dimensional domains, skipping interior nodes.
static InputParameters validParams()
Base class for mortar-based cohesive zone model.
virtual const ADVariableValue & czmGlobalTraction(unsigned int i) const
const std::string & type() const
void paramError(const std::string ¶m, Args... args) const
const VariableTestValue & _test_secondary
const VariableTestValue & _test_primary
const CohesiveZoneModelBase & _cohesize_zone_uo
The cohesive zone user object that provides the surface traction.
MortarGenericTraction(const InputParameters ¶meters)
static InputParameters validParams()
const MooseEnum _component
Displacement component on which the residual will be computed.
ADReal computeQpResidual(Moose::MortarType type) final