- 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.
MFEMScalarBoundaryIC
Overview
MFEMScalarBoundaryIC is used to set initial conditions of scalar valued MFEM variables from an mfem::Coefficient. The initial condition will be applied on all boundaries specified by the user in the mesh.
Example Input File Syntax
[ICs<<<{"href": "../../../syntax/ICs/index.html"}>>>]
[coil_external_potential_ic]
type = MFEMScalarBoundaryIC<<<{"description": "Sets the initial values of an MFEM scalar variable from a user-specified scalar coefficient.", "href": "MFEMScalarBoundaryIC.html"}>>>
variable<<<{"description": "The variable to apply the initial condition on."}>>> = coil_external_potential
boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries."}>>> = ${coil_cut_surface}
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."}>>> = ${coil_loop_voltage}
[]
[](test/tests/mfem/submeshes/cut_closed_coil.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.
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.