MFEMScalarIC

Overview

MFEMScalarIC is used to set initial conditions of scalar valued MFEM variables from an mfem::Coefficient. The initial condition will be applied on all subdomains in the mesh.

Example Input File Syntax

[ICs<<<{"href": "../../../syntax/ICs/index.html"}>>>]
  [l2_scalar_ic]
    type = MFEMScalarIC<<<{"description": "Sets the initial values of an MFEM scalar variable from a user-specified scalar coefficient.", "href": "MFEMScalarIC.html"}>>>
    variable<<<{"description": "The variable to apply the initial condition on."}>>> = l2_scalar
    coefficient<<<{"description": "The scalar coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = 2.0
  []
  [h1_scalar_ic]
    type = MFEMScalarIC<<<{"description": "Sets the initial values of an MFEM scalar variable from a user-specified scalar coefficient.", "href": "MFEMScalarIC.html"}>>>
    variable<<<{"description": "The variable to apply the initial condition on."}>>> = h1_scalar
    coefficient<<<{"description": "The scalar coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = height
  []
[]
(test/tests/mfem/ics/scalar_ic.i)

Input Parameters

  • coefficientThe scalar coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

    C++ Type:MFEMScalarCoefficientName

    Controllable:No

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

  • variableThe variable to apply the initial condition on.

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:The variable to apply the initial condition on.

Required 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