- AinvThe 1/A where A is the momentum system diagonal vector. 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 1/A where A is the momentum system diagonal vector. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- 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
- rhoThe density functor used together with the prescribed boundary velocity. 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 density functor used together with the prescribed boundary velocity. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- uThe x-velocity functor on the boundary. 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 x-velocity functor on the boundary. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- 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
LinearFVPressureFluxBC
Description
This pressure boundary condition is meant to be used with a LinearFVAdvectionDiffusionFunctorDirichletBC applied to the velocity field. It makes the boundary pressure flux consistent with the pressure Poisson equation and the prescribed boundary velocity. The flux supplied by RhieChowMassFlux includes the off-diagonal momentum contributions and every assembled non-pressure momentum source.
The boundary velocity functors "u", "v", and "w", together with the density functor "rho", define the prescribed normal mass flux that this boundary condition enforces:
Anisotropic boundary reconstruction
The boundary condition supplies the complete signed pressure-diffusion flux to the diffusion kernel:
Let denote the diagonal pressure-diffusion tensor supplied through "Ainv", and let . The normal points outward from the cell on which the boundary condition acts. The complete tensor-weighted flux can be decomposed into normal and tangential pressure-gradient contributions:
The boundary condition therefore reconstructs the boundary-normal pressure gradient as
The bracketed vector is orthogonal to , so its dot product contains only the tangential pressure-gradient contribution. This contribution is used only to recover the normal gradient; the kernel does not add it to because the prescribed flux is already the complete tensor-weighted flux.
For the boundary value, let point from the boundary-cell centroid to the boundary face centroid and let . The reconstructed pressure is
The last term provides the geometric tangential correction on a nonorthogonal boundary cell. At startup, before momentum assembly has populated , is exactly zero. The boundary condition then uses the cell pressure as the boundary pressure and a zero normal gradient until a valid inverse momentum diagonal is available.
The reconstruction can be disabled explicitly by setting "use_two_term_expansion" to false. In that case, the boundary pressure is approximated by the adjacent cell pressure and the boundary-normal gradient used for reconstruction is zero. The complete pressure-diffusion flux imposed on the pressure equation is unchanged. This one-term option avoids division by for configurations in which the boundary-normal inverse momentum coefficient may remain zero.
Input Parameters
- use_two_term_expansionTrueWhether to reconstruct the boundary pressure using the pressure flux and cell gradient. If false, the boundary pressure is approximated by the adjacent cell pressure.
Default:True
C++ Type:bool
Controllable:No
Description:Whether to reconstruct the boundary pressure using the pressure flux and cell gradient. If false, the boundary pressure is approximated by the adjacent cell pressure.
- vThe y-velocity functor on the boundary. 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 y-velocity functor on the boundary. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
- wThe z-velocity functor on the boundary. 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 z-velocity functor on the boundary. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.
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_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)
- 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).
Advanced Parameters
Input Files
- (modules/navier_stokes/test/tests/finite_volume/ins/natural_convection/linear_segregated/2d/diff_heated_cavity_linear_segregated.i)
- (modules/navier_stokes/test/tests/finite_volume/ins/linear_fv_pressure_flux_bc/internal-neighbor.i)
- (modules/navier_stokes/test/tests/finite_volume/ins/linear_fv_pressure_flux_bc/errors.i)
- (modules/navier_stokes/test/tests/finite_volume/ins/channel-flow/linear-segregated/2d/2d-velocity-pressure.i)
- (modules/navier_stokes/test/tests/finite_volume/ins/natural_convection/linear_segregated/2d/diff_heated_cavity_linear_buoyancy.i)
- (modules/navier_stokes/test/tests/finite_volume/ins/mms/linear-segregated/2d-symmetric-vortex/2d-symmetric-vortex.i)