- componentGradient component to constrain
C++ Type:unsigned int
Description:Gradient component to constrain
- master_boundaryThe name of the master boundary sideset.
C++ Type:BoundaryName
Description:The name of the master boundary sideset.
- master_subdomainThe name of the master subdomain.
C++ Type:SubdomainName
Description:The name of the master subdomain.
- slave_boundaryThe name of the slave boundary sideset.
C++ Type:BoundaryName
Description:The name of the slave boundary sideset.
- slave_subdomainThe name of the slave subdomain.
C++ Type:SubdomainName
Description:The name of the slave subdomain.
EqualGradientConstraint
The EqualGradientConstraint
class is used to enforce continuity of a component of a variable gradient across a mortar interface or in a periodic boundary condition. The gradient component to be matched is specified using the unsigned parameter component
. The variable is specified using the master_variable
parameter. If the gradients to be matched are between different variables, the slave_variable
parameter can also be supplied. Lagrange multipliers are used to perform the constraint enforcement.
EqualGradientConstraint enforces continuity of a gradient component between slave and master sides of a mortar interface using lagrange multipliers
Input Parameters
- compute_lm_residualsTrueWhether to compute Lagrange Multiplier residuals
Default:True
C++ Type:bool
Description:Whether to compute Lagrange Multiplier residuals
- compute_primal_residualsTrueWhether to compute residuals for the primal variable.
Default:True
C++ Type:bool
Description:Whether to compute residuals for the primal variable.
- execute_onLINEARThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.
Default:LINEAR
C++ Type:ExecFlagEnum
Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.
- master_variablePrimal variable on master surface. If this parameter is not provided then the master variable will be initialized to the slave variable
C++ Type:VariableName
Description:Primal variable on master surface. If this parameter is not provided then the master variable will be initialized to the slave variable
- periodicFalseWhether this constraint is going to be used to enforce a periodic condition. This has the effect of changing the normals vector for projection from outward to inward facing
Default:False
C++ Type:bool
Description:Whether this constraint is going to be used to enforce a periodic condition. This has the effect of changing the normals vector for projection from outward to inward facing
- slave_variablePrimal variable on slave surface.
C++ Type:VariableName
Description:Primal variable on slave surface.
- variableThe name of the lagrange multiplier variable that this constraint is applied to. This parameter may not be supplied in the case of using penalty methods for example
C++ Type:NonlinearVariableName
Description:The name of the lagrange multiplier variable that this constraint is applied to. This parameter may not be supplied in the case of using penalty methods for example
Optional Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Description:Set the enabled status of the MooseObject.
- use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Default:False
C++ Type:bool
Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Advanced Parameters
- extra_matrix_tagsThe extra tags for the matrices this Kernel should fill
C++ Type:std::vector
Description:The extra tags for the matrices this Kernel should fill
- extra_vector_tagsThe extra tags for the vectors this Kernel should fill
C++ Type:std::vector
Description:The extra tags for the vectors this Kernel should fill
- matrix_tagssystemThe tag for the matrices this Kernel should fill
Default:system
C++ Type:MultiMooseEnum
Description:The tag for the matrices this Kernel should fill
- vector_tagsnontimeThe tag for the vectors this Kernel should fill
Default:nontime
C++ Type:MultiMooseEnum
Description:The tag for the vectors this Kernel should fill
Tagging Parameters
Input Files
- test/tests/mortar/continuity-2d-conforming/equalgradient.i
- modules/combined/examples/mortar/mortar_gradient.i
- modules/combined/examples/mortar/eigenstrain.i