- sourceVector H(div) MFEMVariable to take the divergence of.
C++ Type:VariableName
Unit:(no unit assumed)
Controllable:No
Description:Vector H(div) MFEMVariable to take the divergence of.
- variableThe name of the variable that this object applies to
C++ Type:AuxVariableName
Unit:(no unit assumed)
Controllable:No
Description:The name of the variable that this object applies to
MFEMDivAux
Overview
AuxKernel for calculating the divergence of an conforming source variable defined on a 3D Raviart-Thomas finite element space and storing it in a scalar elemental result variable defined on an FE space.
The result may be scaled by an optional (global) scalar factor.
where , and is a scalar constant.
Example Input File Syntax
[AuxKernels<<<{"href": "../../../syntax/AuxKernels/index.html"}>>>]
[div]
type = MFEMDivAux<<<{"description": "Calculates the divergence of an H(div) conforming RT source variable and stores the result on an L2 conforming result auxvariable", "href": "MFEMDivAux.html"}>>>
variable<<<{"description": "The name of the variable that this object applies to"}>>> = divF
source<<<{"description": "Vector H(div) MFEMVariable to take the divergence of."}>>> = F
execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = TIMESTEP_END
[]
[](test/tests/mfem/kernels/graddiv.i)Input Parameters
- execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.
Default:TIMESTEP_END
C++ Type:ExecFlagEnum
Controllable:No
Description:The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.
- scale_factor1Factor to scale result auxvariable by.
Default:1
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Factor to scale result auxvariable by.
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.