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

  • componentGradient component to constrain

    C++ Type:unsigned int

    Options:

    Description:Gradient component to constrain

  • master_boundaryThe name of the master boundary sideset.

    C++ Type:BoundaryName

    Options:

    Description:The name of the master boundary sideset.

  • master_subdomainThe name of the master subdomain.

    C++ Type:SubdomainName

    Options:

    Description:The name of the master subdomain.

  • slave_boundaryThe name of the slave boundary sideset.

    C++ Type:BoundaryName

    Options:

    Description:The name of the slave boundary sideset.

  • slave_subdomainThe name of the slave subdomain.

    C++ Type:SubdomainName

    Options:

    Description:The name of the slave subdomain.

Required Parameters

  • compute_lm_residualsTrueWhether to compute Lagrange Multiplier residuals

    Default:True

    C++ Type:bool

    Options:

    Description:Whether to compute Lagrange Multiplier residuals

  • compute_primal_residualsTrueWhether to compute residuals for the primal variable.

    Default:True

    C++ Type:bool

    Options:

    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

    Options:NONE INITIAL LINEAR NONLINEAR TIMESTEP_END TIMESTEP_BEGIN FINAL CUSTOM

    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

    Options:

    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

    Options:

    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

    Options:

    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

    Options:

    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

    Options:

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Options:

    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

    Options:

    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

    Options:

    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

    Options:

    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

    Options:nontime system

    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

    Options:nontime time

    Description:The tag for the vectors this Kernel should fill

Tagging Parameters

Input Files

References