- bcsList of boundary conditions to add to the weak form
C++ Type:std::vector<MFEMBoundaryConditionName>
Controllable:No
Description:List of boundary conditions to add to the weak form
- kernelsList of kernels to add to the weak form
C++ Type:std::vector<MFEMKernelName>
Controllable:No
Description:List of kernels to add to the weak form
MFEMWeakForm
Overview
The MFEMWeakForm is a MOOSE object responsible for the construction of an initialised MFEM EquationSystem, based on the set of kernels and boundary conditions provided by the user. If no MFEMWeakFormBase object is specified by the user in a real problem using an MFEMSteady executioner, a default MFEMWeakForm object will be created to set up an EquationSystem using all kernels and boundary conditions added in the input file.
Example Input File Syntax
[WeakForms<<<{"href": "../../../syntax/WeakForms/index.html"}>>>]
[Darcy]
type = MFEMWeakForm<<<{"description": "Builds a real-valued MFEM EquationSystem from the kernels and boundary conditions named by this weak form.", "href": "MFEMWeakForm.html"}>>>
kernels<<<{"description": "List of kernels to add to the weak form"}>>> = 'VelocityMass PressureGrad VelocityDiv'
bcs<<<{"description": "List of boundary conditions to add to the weak form"}>>> = 'flux_boundaries'
[]
[](test/tests/mfem/weakforms/steady_weakform.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.
Advanced Parameters
Input Files
- (test/tests/mfem/weakforms/real_weakform_complex_problem.i)
- (test/tests/mfem/weakforms/unknown_kernel.i)
- (test/tests/mfem/weakforms/named_weakform.i)
- (test/tests/mfem/weakforms/ambiguous_weakform.i)
- (test/tests/mfem/weakforms/unknown_bc.i)
- (test/tests/mfem/problemcomposers/two_problem_composers.i)
- (test/tests/mfem/weakforms/unknown_weakform.i)
- (test/tests/mfem/weakforms/steady_weakform.i)