MFEMDGDiffusionBC

Overview

Adds a boundary face integrator to the linear/bilinear forms. createBFIntegrator() returns an mfem::DGDiffusionIntegrator. createLFIntegrator() returns an mfem::DGDirichletLFIntegrator. The DG parameters and can be set, but both have default values of and , respectively. is the order of the finite element space of the variable this BC applies to. A value of corresponds to a symmetric interior penalty DG method.

Example Input File Syntax

[BCs<<<{"href": "../../../syntax/BCs/index.html"}>>>]
  [dg_diff_bc]
    type = MFEMDGDiffusionBC<<<{"description": "Applies a Dirichlet condition for DG diffusion", "href": "MFEMDGDiffusionBC.html"}>>>
    variable<<<{"description": "Variable on which to apply the boundary condition"}>>> = concentration
  []
[]
(test/tests/mfem/kernels/dg_diffusion.i)

Input Parameters

  • boundary-1 The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries.

    Default:-1

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

    Controllable:No

    Description:The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries.

  • boundary_coefficient0.0Name of property for Dirichlet coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

    Default:0.0

    C++ Type:MFEMScalarCoefficientName

    Controllable:No

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

  • diffusion_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 on which to apply the boundary condition

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:Variable on which to apply the boundary condition

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