- 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.
- vector_coefficientThe vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).
C++ Type:MFEMVectorCoefficientName
Controllable:No
Description:The vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces).
MFEMVectorIC
Overview
MFEMVectorIC is used to set initial conditions of vector valued MFEM variables from an mfem::VectorCoefficient. The initial condition will be applied on all subdomains in the mesh.
Example Input File Syntax
[ICs<<<{"href": "../../../syntax/ICs/index.html"}>>>]
[h1_vector_ic]
type = MFEMVectorIC<<<{"description": "Sets the initial values of an MFEM vector variable from a user-specified vector coefficient.", "href": "MFEMVectorIC.html"}>>>
variable<<<{"description": "The variable to apply the initial condition on."}>>> = h1_vector
vector_coefficient<<<{"description": "The vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces)."}>>> = external_vector_field
[]
[l2_vector_ic]
type = MFEMVectorIC<<<{"description": "Sets the initial values of an MFEM vector variable from a user-specified vector coefficient.", "href": "MFEMVectorIC.html"}>>>
variable<<<{"description": "The variable to apply the initial condition on."}>>> = l2_vector
vector_coefficient<<<{"description": "The vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces)."}>>> = external_vector_field
[]
[nd_vector_ic]
type = MFEMVectorIC<<<{"description": "Sets the initial values of an MFEM vector variable from a user-specified vector coefficient.", "href": "MFEMVectorIC.html"}>>>
variable<<<{"description": "The variable to apply the initial condition on."}>>> = nd_vector
vector_coefficient<<<{"description": "The vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces)."}>>> = external_vector_field
[]
[rt_vector_ic]
type = MFEMVectorIC<<<{"description": "Sets the initial values of an MFEM vector variable from a user-specified vector coefficient.", "href": "MFEMVectorIC.html"}>>>
variable<<<{"description": "The variable to apply the initial condition on."}>>> = rt_vector
vector_coefficient<<<{"description": "The vector coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a numeric vector value (enclosed in curly braces)."}>>> = external_vector_field
[]
[](test/tests/mfem/ics/vector_ic.i)Input 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.