MFEMComplexTreeCotreeGaugeEssentialConstraint

Overview

Complex counterpart of MFEMTreeCotreeGaugeEssentialConstraint. It applies a tree-cotree gauge to a complex (first-kind Nedelec) variable, removing the gradient null space of a frequency-domain curl-curl operator wherever no mass-like term is present to remove it.

The set of degrees of freedom to fix is computed exactly as in the real case - a distributed Boruvka pass grows the unique minimum spanning forest of the mesh graph under a canonical, geometry-derived edge order, so the gauge is independent of the MPI partitioning (the implementation is shared through Moose::MFEM::TreeCotreeGauge), and higher order spaces are handled as in MFEMTreeCotreeGaugeEssentialConstraint. Here the real and imaginary parts** of each gauged dof are both strongly set to zero.

Other essential conditions and the block parameter are handled as for the real constraint: edges already fixed by an essential boundary condition or another essential constraint on the variable seed the forest, and block restricts the gauge to the subdomains that need it, with the complementary subdomains seeding the forest but never being gauged.

Example: a time-harmonic A-formulation

The parameters above are formulation-independent; this is one concrete case. For the magnetic vector potential in a frequency-domain A-formulation

the term removes the gradient null space inside a conducting region, while a surrounding non-conducting region has no such term and is singular there. Setting block to the non-conducting subdomain(s) gauges exactly the region that needs it.

Example Input File Syntax

[Constraints<<<{"href": "../../../syntax/Constraints/index.html"}>>>]
  [tree_cotree_gauge]
    type = MFEMComplexTreeCotreeGaugeEssentialConstraint<<<{"description": "Applies a tree-cotree gauge to a complex H(curl) (Nedelec) variable by strongly fixing the real and imaginary parts of the edge degrees of freedom on a spanning tree of the mesh to zero, and in a higher order space those of a selection of the degrees of freedom of every other edge, face and element, removing the gradient null space of a curl-curl operator. Edges carrying an essential condition on the variable seed the spanning forest. Set 'block' to the subdomains to gauge; the complement seeds the spanning forest but is not gauged. Leaving 'block' empty gauges the whole mesh. Above SECOND order, the mesh must have no triangular faces.", "href": "MFEMComplexTreeCotreeGaugeEssentialConstraint.html"}>>>
    variable<<<{"description": "Variable on which to apply the constraint"}>>> = a_field
    block<<<{"description": "The list of subdomains (names or ids) that this object will be restricted to. Leave empty to apply to all subdomains."}>>> = ${insulator_block}
  []
[]
(test/tests/mfem/constraints/tree_cotree_gauge_time_harmonic.i)

Input Parameters

  • blockThe list of subdomains (names or ids) that this object will be restricted to. Leave empty to apply to all subdomains.

    C++ Type:std::vector<SubdomainName>

    Controllable:No

    Description:The list of subdomains (names or ids) that this object will be restricted to. Leave empty to apply to all subdomains.

  • variableVariable on which to apply the constraint

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:Variable on which to apply the constraint

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

Input Files