MFEMConvectiveHeatFluxBC

Overview

Adds the boundary integrator for integrating the bilinear form

where are the trial and test variables, and are scalar coefficients on the boundary independent of .

This boundary condition is particularly useful for thermal problems, where it can be used to represent a heat transfer boundary condition

by identifying as the heat transfer coefficient on the boundary, as the trial variable for the temperature, as the test variable, and as the equilibrium temperature far from the boundary.

Example Input File Syntax

[BCs<<<{"href": "../../../syntax/BCs/index.html"}>>>]
  active<<<{"description": "If specified only the blocks named will be visited and made active"}>>> = 'bottom top_convective'
  [bottom]
    type = MFEMScalarDirichletBC<<<{"description": "Applies a Dirichlet condition to a scalar variable.", "href": "MFEMScalarDirichletBC.html"}>>>
    variable<<<{"description": "Variable on which to apply the boundary condition"}>>> = temperature
    boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries."}>>> = '1'
    coefficient<<<{"description": "The coefficient setting the values on the essential boundary. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = 1.0
  []
  [top_convective]
    type = MFEMConvectiveHeatFluxBC<<<{"description": "Convective heat transfer boundary condition with temperature and heat transfer coefficent given by material properties to add to MFEM problems.", "href": "MFEMConvectiveHeatFluxBC.html"}>>>
    variable<<<{"description": "Variable on which to apply the boundary condition"}>>> = temperature
    boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries."}>>> = '2'
    T_infinity<<<{"description": "Name of a coefficient specifying the far-field temperature. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = .5
    heat_transfer_coefficient<<<{"description": "Name of the coefficient specifying the heat transfer coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = 5
  []
  [top_dirichlet]
    type = MFEMScalarDirichletBC<<<{"description": "Applies a Dirichlet condition to a scalar variable.", "href": "MFEMScalarDirichletBC.html"}>>>
    variable<<<{"description": "Variable on which to apply the boundary condition"}>>> = temperature
    boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries."}>>> = '2'
  []
[]
(test/tests/mfem/kernels/heattransfer.i)

Input Parameters

  • T_infinity0.Name of a coefficient specifying the far-field temperature. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

    Default:0.

    C++ Type:MFEMScalarCoefficientName

    Controllable:No

    Description:Name of a coefficient specifying the far-field temperature. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

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

  • heat_transfer_coefficient1.Name of the coefficient specifying the heat transfer coefficient. 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 the coefficient specifying the heat transfer coefficient. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.

  • variableVariable on which to apply the boundary condition

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:Variable on which to apply the boundary condition

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.

Advanced Parameters

Input Files