FixDofs

FixDofs provides a mechanism to fix (constrain) specific degrees of freedom (DOFs) in a finite element system to given values.

API Reference

ExtendableFEM.FixDofsMethod
FixDofs(
    u;
    dofs,
    vals,
    kwargs...
) -> FixDofs{_A, Vector{Any}, Vector{Float64}} where _A

Construct a FixDofs operator to strongly enforce fixed values on specified degrees of freedom (dofs) in a finite element system.

Arguments

  • u: The unknown (field variable) or its identifier for which dofs are to be fixed.

Keyword Arguments

  • dofs: Vector of dof indices to be fixed (default: empty vector).

  • vals: Vector of values to assign to the fixed dofs (default: zeros of same length as dofs).

    • name: name for operator used in printouts. Default: ''FixDofs''

    • penalty: penalty for fixed degrees of freedom. Default: 1.0e30

    • verbosity: verbosity level. Default: 0

Returns

  • A FixDofs operator instance specifying which dofs to fix and their target values.
source