MFEMDGDiffusionKernel

Overview

This kernel complements the regular diffusion kernel, except this is applied to the bilinear form via the method AddInteriorFaceIntegrator(). createBFIntegrator() returns an mfem::DGDiffusionIntegrator.

Example Input File Syntax

[Kernels<<<{"href": "../../../syntax/Kernels/index.html"}>>>]
  [diff]
    type = MFEMDiffusionKernel<<<{"description": "Adds the domain integrator to an MFEM problem for the bilinear form $(k\\vec\\nabla u, \\vec\\nabla v)_\\Omega$ arising from the weak form of the Laplacian operator $- \\vec\\nabla \\cdot \\left( k \\vec \\nabla u \\right)$.", "href": "MFEMDiffusionKernel.html"}>>>
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = concentration
  []
  [forcing]
    type = MFEMDomainLFKernel<<<{"description": "Adds the domain integrator to an MFEM problem for the linear form $(f, v)_\\Omega$ arising from the weak form of the forcing term $f$.", "href": "MFEMDomainLFKernel.html"}>>>
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = concentration
  []
  [dg_diff]
    type = MFEMDGDiffusionKernel<<<{"description": "Adds the face integrator for DG diffusion", "href": "MFEMDGDiffusionKernel.html"}>>>
    variable<<<{"description": "Variable labelling the weak form this kernel is added to"}>>> = concentration
  []
[]
(test/tests/mfem/kernels/dg_diffusion.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.0Name of property for diffusion coefficient k. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

    Default:1.0

    C++ Type:MFEMScalarCoefficientName

    Controllable:No

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

  • kappaPenalty parameter. Should be non-negative. Will default to (order+1)^2

    C++ Type:Real

    Unit:(no unit assumed)

    Controllable:No

    Description:Penalty parameter. Should be non-negative. Will default to (order+1)^2

  • sigma-1Symmetry parameter. Typically +/- 1.0

    Default:-1

    C++ Type:Real

    Unit:(no unit assumed)

    Controllable:No

    Description:Symmetry parameter. Typically +/- 1.0

  • 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