- boundaryWhich face of the domain this boundary condition applies to.
C++ Type:MooseEnum
Controllable:No
Description:Which face of the domain this boundary condition applies to.
- variableThe field this boundary condition applies to.
C++ Type:std::string
Controllable:No
Description:The field this boundary condition applies to.
TensorNeumannBC
Neumann boundary condition (du/dn = flux) on a non-periodic domain face.
Overview
Imposes "flux" on one face of a non-periodic direction, with the outward normal. It is TensorRobinBC with and . The flux can vary along the face, from "flux_function" or "flux_buffer" (see the BCs system).
Example Input File Syntax
[TensorComputes<<<{"href": "../../syntax/TensorComputes/index.html"}>>>]
[BCs<<<{"href": "../../syntax/TensorComputes/BCs/index.html"}>>>]
[left]
type = TensorDirichletBC<<<{"description": "Dirichlet boundary condition (u = value) on a non-periodic domain face.", "href": "TensorDirichletBC.html"}>>>
variable<<<{"description": "The field this boundary condition applies to."}>>> = u
boundary<<<{"description": "Which face of the domain this boundary condition applies to."}>>> = left
value<<<{"description": "Prescribed value of the field on this face (u = value)."}>>> = 1
[]
[right]
type = TensorNeumannBC<<<{"description": "Neumann boundary condition (du/dn = flux) on a non-periodic domain face.", "href": "TensorNeumannBC.html"}>>>
variable<<<{"description": "The field this boundary condition applies to."}>>> = u
boundary<<<{"description": "Which face of the domain this boundary condition applies to."}>>> = right
flux<<<{"description": "Prescribed outward normal flux on this face (du/dn = flux)."}>>> = 2
[]
[]
[](test/tests/real_space/neumann_linear.i)Input Parameters
- flux0Prescribed outward normal flux on this face (du/dn = flux).
Default:0
C++ Type:Real
Unit:(no unit assumed)
Controllable:No
Description:Prescribed outward normal flux on this face (du/dn = flux).
- flux_bufferBuffer whose first owned cell layer next to the face holds the outward normal flux along the face. The compute that writes it must evaluate it at the face position, not at the cell centres.
C++ Type:std::string
Controllable:No
Description:Buffer whose first owned cell layer next to the face holds the outward normal flux along the face. The compute that writes it must evaluate it at the face position, not at the cell centres.
- flux_functionFunction giving the outward normal flux along the face, evaluated at the face position at the solve time.
C++ Type:FunctionName
Unit:(no unit assumed)
Controllable:No
Description:Function giving the outward normal flux along the face, evaluated at the face position at the solve time.
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.