MFEMVectorFEDivergenceKernel

Overview

Adds the domain integrator for integrating the mixed 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"}>>>]
  [VelocityMass]
    type = MFEMVectorFEMassKernel<<<{"description": "Adds the domain integrator to an MFEM problem for the bilinear form $(k \\vec u, \\vec v)_\\Omega$ arising from the weak form of the mass operator $k \\vec u$.", "href": "MFEMVectorFEMassKernel.html"}>>>
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = velocity
  []
  [PressureGrad]
    type = MFEMVectorFEDivergenceKernel<<<{"description": "Adds the domain integrator to an MFEM problem for the mixed bilinear form $(k \\vec \\nabla \\cdot \\vec u, v)_\\Omega$ arising from the weak form of the divergence operator $k \\vec \\nabla \\cdot \\vec u$.", "href": "MFEMVectorFEDivergenceKernel.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."}>>> = pressure
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = velocity
    coefficient<<<{"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."}>>> = -1
    transpose<<<{"description": "If true, adds the transpose of the integrator to the system instead."}>>> = true
  []
  [VelocityDiv]
    type = MFEMVectorFEDivergenceKernel<<<{"description": "Adds the domain integrator to an MFEM problem for the mixed bilinear form $(k \\vec \\nabla \\cdot \\vec u, v)_\\Omega$ arising from the weak form of the divergence operator $k \\vec \\nabla \\cdot \\vec u$.", "href": "MFEMVectorFEDivergenceKernel.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."}>>> = velocity
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = pressure
    coefficient<<<{"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."}>>> = -1
  []
[]
(test/tests/mfem/kernels/darcy.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