MFEMComplexScalarDirichletBC

Overview

Boundary condition for enforcing an essential (Dirichlet) condition on a complex-valued scalar variable on the boundary, fixing its values to the input scalar coefficient on the boundary.

Example Input File Syntax

[BCs<<<{"href": "../../../syntax/BCs/index.html"}>>>]
  [dbc]
    type = MFEMComplexScalarDirichletBC<<<{"description": "Applies a Dirichlet condition to a scalar variable.", "href": "MFEMComplexScalarDirichletBC.html"}>>>
    variable<<<{"description": "Variable on which to apply the boundary condition"}>>> = u
    coefficient_real<<<{"description": "The coefficient setting the real part of the values on the essential boundary. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = u0_r
    coefficient_imag<<<{"description": "The coefficient setting the imaginary part of the values on the essential boundary. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = u0_i
  []
[]
(test/tests/mfem/complex/complex.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.

  • coefficient_imag0.The coefficient setting the imaginary part of the values on the essential boundary. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

    Default:0.

    C++ Type:MFEMScalarCoefficientName

    Controllable:No

    Description:The coefficient setting the imaginary part of the values on the essential boundary. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

  • coefficient_real0.The coefficient setting the real part of the values on the essential boundary. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

    Default:0.

    C++ Type:MFEMScalarCoefficientName

    Controllable:No

    Description:The coefficient setting the real part of the values on the essential boundary. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

  • 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