- HbyA_fluxThe total HbyA face flux value. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
C++ Type:MooseFunctorName
Unit:(no unit assumed)
Controllable:No
Description:The total HbyA face flux value. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- boundaryThe list of boundary IDs from the mesh where this object applies
C++ Type:std::vector<BoundaryName>
Controllable:No
Description:The list of boundary IDs from the mesh where this object applies
- variableThe name of the variable that this boundary condition applies to
C++ Type:LinearVariableName
Unit:(no unit assumed)
Controllable:No
Description:The name of the variable that this boundary condition applies to
LinearFVPressureSymmetryBC
Description
LinearFVPressureSymmetryBC enforces a symmetry constraint for the pressure correction equation in segregated linear finite-volume Navier-Stokes solves. It sets the face pressure equal to the adjacent cell value, yielding a zero normal gradient while respecting the Rhie-Chow coupling between pressure and velocity.
For a boundary face with unit normal , the pressure degrees of freedom satisfy
The current approximation of the face value assumes that the face centroid is close to the point where the line from the cell center in the normal direction intersects the face. This means that on unstructured meshes, this results a spatially first-order discretization.
and the residual contribution stemming from the Rhie-Chow momentum-flux correction is
where is provided through RhieChowMassFlux to provide the "HbyA_flux" functor. This flux is used to populate the right-hand side contribution so that the pressure gradient remains consistent with the momentum equation discretisation on symmetry planes.
An example of this boundary condition applied alongside the velocity symmetry condition for a channel flow is shown in:
[LinearFVBCs<<<{"href": "../../syntax/LinearFVBCs/index.html"}>>>]
[symmetry-p]
type = LinearFVPressureSymmetryBC<<<{"description": "Adds a symmetry boundary condition for pressure in a segregated velocity and pressure solve.", "href": "LinearFVPressureSymmetryBC.html"}>>>
variable<<<{"description": "The name of the variable that this boundary condition applies to"}>>> = pressure
boundary<<<{"description": "The list of boundary IDs from the mesh where this object applies"}>>> = 'bottom'
HbyA_flux<<<{"description": "The total HbyA face flux value. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 'HbyA' # Functor created in the RhieChowMassFlux UO
[]
[](moose/modules/navier_stokes/test/tests/finite_volume/ins/channel-flow/linear-segregated/2d-symmetric/channel.i)Input Parameters
- matrix_onlyFalseWhether this object is only doing assembly to matrices (no vectors)
Default:False
C++ Type:bool
Controllable:No
Description:Whether this object is only doing assembly to matrices (no vectors)
Optional Parameters
- absolute_value_vector_tagsThe tags for the vectors this residual object should fill with the absolute value of the residual contribution
C++ Type:std::vector<TagName>
Controllable:No
Description:The tags for the vectors this residual object should fill with the absolute value of the residual contribution
- extra_matrix_tagsThe extra tags for the matrices this Kernel should fill
C++ Type:std::vector<TagName>
Controllable:No
Description:The extra tags for the matrices this Kernel should fill
- extra_vector_tagsThe extra tags for the vectors this Kernel should fill
C++ Type:std::vector<TagName>
Controllable:No
Description:The extra tags for the vectors this Kernel should fill
- matrix_tagssystemThe tag for the matrices this Kernel should fill
Default:system
C++ Type:MultiMooseEnum
Controllable:No
Description:The tag for the matrices this Kernel should fill
- vector_tagsrhsThe tag for the vectors this Kernel should fill
Default:rhs
C++ Type:MultiMooseEnum
Controllable:No
Description:The tag for the vectors this Kernel should fill
Contribution To Tagged Field Data 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:Yes
Description:Set the enabled status of the MooseObject.
- implicitTrueDetermines whether this object is calculated using an implicit or explicit form
Default:True
C++ Type:bool
Controllable:No
Description:Determines whether this object is calculated using an implicit or explicit form
- search_methodnearest_node_connected_sidesChoice of search algorithm. All options begin by finding the nearest node in the primary boundary to a query point in the secondary boundary. In the default nearest_node_connected_sides algorithm, primary boundary elements are searched iff that nearest node is one of their nodes. This is fast to determine via a pregenerated node-to-elem map and is robust on conforming meshes. In the optional all_proximate_sides algorithm, primary boundary elements are searched iff they touch that nearest node, even if they are not topologically connected to it. This is more CPU-intensive but is necessary for robustness on any boundary surfaces which has disconnections (such as Flex IGA meshes) or non-conformity (such as hanging nodes in adaptively h-refined meshes).
Default:nearest_node_connected_sides
C++ Type:MooseEnum
Controllable:No
Description:Choice of search algorithm. All options begin by finding the nearest node in the primary boundary to a query point in the secondary boundary. In the default nearest_node_connected_sides algorithm, primary boundary elements are searched iff that nearest node is one of their nodes. This is fast to determine via a pregenerated node-to-elem map and is robust on conforming meshes. In the optional all_proximate_sides algorithm, primary boundary elements are searched iff they touch that nearest node, even if they are not topologically connected to it. This is more CPU-intensive but is necessary for robustness on any boundary surfaces which has disconnections (such as Flex IGA meshes) or non-conformity (such as hanging nodes in adaptively h-refined meshes).