MFEMMixedVectorWeakDivergenceKernel

Overview

Adds the domain integrator for integrating the bilinear form

where or , , and is a scalar coefficient.

This term arises from the weak form of the divergence operator

Example Input File Syntax

[Kernels<<<{"href": "../../../syntax/Kernels/index.html"}>>>]
  [curlcurl_A]
    type = MFEMComplexKernel<<<{"description": "Holds MFEMKernel objects for the real and imaginary parts of a complex kernel.", "href": "MFEMComplexKernel.html"}>>>
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = A
    [RealComponent]
      type = MFEMCurlCurlKernel
      coefficient = 1.0
    []
  []
  [mixed_grad_V]
    type = MFEMMixedSesquilinearFormKernel<<<{"description": "Base class for mixed sesquilinear form kernels, allowing different trial and test variables. Transposition of each component is controlled individually via the `transpose` parameter on each `RealComponent`/`ImagComponent` sub-block.", "href": "MFEMMixedSesquilinearFormKernel.html"}>>>
    trial_variable<<<{"description": "The trial variable this kernel is acting on and which will be solved for. If empty (default), it will be the same as the test variable."}>>> = V
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = A
    [RealComponent]
      type = MFEMMixedVectorGradientKernel
      coefficient = 1.0
    []
  []
  [mass_A]
    type = MFEMComplexKernel<<<{"description": "Holds MFEMKernel objects for the real and imaginary parts of a complex kernel.", "href": "MFEMComplexKernel.html"}>>>
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = A
    [ImagComponent]
      type = MFEMVectorFEMassKernel
      coefficient = ${omega}
    []
  []
  [diff_V]
    type = MFEMComplexKernel<<<{"description": "Holds MFEMKernel objects for the real and imaginary parts of a complex kernel.", "href": "MFEMComplexKernel.html"}>>>
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = V
    [RealComponent]
      type = MFEMDiffusionKernel
      coefficient = 1.0
    []
  []
  [mixed_mass_A]
    type = MFEMMixedSesquilinearFormKernel<<<{"description": "Base class for mixed sesquilinear form kernels, allowing different trial and test variables. Transposition of each component is controlled individually via the `transpose` parameter on each `RealComponent`/`ImagComponent` sub-block.", "href": "MFEMMixedSesquilinearFormKernel.html"}>>>
    trial_variable<<<{"description": "The trial variable this kernel is acting on and which will be solved for. If empty (default), it will be the same as the test variable."}>>> = A
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = V
    [ImagComponent]
      type = MFEMMixedVectorWeakDivergenceKernel
      coefficient = -${omega}
    []
  []
[]
(test/tests/mfem/complex/mixed_sesquilinear.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.

  • coefficient1.Name of property k to use. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

    Default:1.

    C++ Type:MFEMScalarCoefficientName

    Controllable:No

    Description:Name of property k to use. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

  • transposeFalseIf true, adds the transpose of the integrator to the system instead.

    Default:False

    C++ Type:bool

    Controllable:No

    Description:If true, adds the transpose of the integrator to the system instead.

  • trial_variableThe trial variable this kernel is acting on and which will be solved for. If empty (default), it will be the same as the test variable.

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:The trial variable this kernel is acting on and which will be solved for. If empty (default), it will be the same as the test variable.

  • variableVariable labelling the weak form this kernel is added to

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:Variable labelling the weak form this kernel is added to

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