MFEMVectorBoundaryFluxIntegralPostprocessor

Overview

Postprocessor for calculating the integral of the flux of a vector , , , or conforming source variable through a given boundary surface.

where , , , or , is an optional scalar coefficient, is the user-specified mesh boundary, and is the outward facing unit normal vector on the boundary. If is provided as a material coefficient, it must be defined on the boundary itself, rather than on a submesh adjacent to the boundary.

Example Input File Syntax

[Postprocessors<<<{"href": "../../../syntax/Postprocessors/index.html"}>>>]
  [CoilCurrent]
    type = MFEMVectorBoundaryFluxIntegralPostprocessor<<<{"description": "Calculates the integral of the flux of a vector variable across a boundary.", "href": "MFEMVectorBoundaryFluxIntegralPostprocessor.html"}>>>
    coefficient<<<{"description": "Name of optional scalar coefficient to scale integrand by. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = conductivity_boundary
    variable<<<{"description": "Name of the vector variable."}>>> = flux_e_field
    boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries."}>>> = 'MeasurementPlane'
  []
[]
(test/tests/mfem/submeshes/av_magnetostatic.i)

Input Parameters

  • variableName of the vector variable.

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:Name of the vector variable.

Required 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.

  • coefficient1.Name of optional scalar coefficient to scale integrand by. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

    Default:1.

    C++ Type:MFEMScalarCoefficientName

    Controllable:No

    Description:Name of optional scalar coefficient to scale integrand by. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

  • 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

    Options:XFEM_MARK, FORWARD, ADJOINT, HOMOGENEOUS_FORWARD, ADJOINT_TIMESTEP_BEGIN, ADJOINT_TIMESTEP_END, NONE, INITIAL, LINEAR, LINEAR_CONVERGENCE, NONLINEAR, NONLINEAR_CONVERGENCE, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, MULTIAPP_FIXED_POINT_CONVERGENCE, FINAL, CUSTOM

    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.

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.

  • outputsVector of output names where you would like to restrict the output of variables(s) associated with this object

    C++ Type:std::vector<OutputName>

    Controllable:No

    Description:Vector of output names where you would like to restrict the output of variables(s) associated with this object

Advanced Parameters

Input Files