20 "Represents the matrix and right hand side contributions of a "
21 "time derivative term for a turbulent variable in a partial differential equation.");
23 params.
addParam<std::vector<BoundaryName>>(
24 "walls", {},
"Boundaries that correspond to solid walls.");
30 _wall_boundary_names(getParam<
std::vector<BoundaryName>>(
"walls"))
registerMooseObject("NavierStokesApp", LinearFVTurbulentTimeDerivative)
virtual const std::set< SubdomainID > & blockIDs() const
const Elem * elem() const
const ElemInfo * _current_elem_info
virtual void addRightHandSideContribution() override
virtual void addMatrixContribution() override
static InputParameters validParams()
Kernel that adds contributions from a time derivative term of the turbulent variables,...
const std::vector< BoundaryName > & _wall_boundary_names
Wall boundaries.
virtual void addRightHandSideContribution() override
LinearFVTurbulentTimeDerivative(const InputParameters ¶ms)
Class constructor.
std::unordered_set< const Elem * > _wall_bounded
List for wall bounded elements.
static InputParameters validParams()
virtual void initialSetup() override
bool currentElemIsWallBounded() const
Whether the current element is wall bounded.
virtual void addMatrixContribution() override
FEProblemBase & _fe_problem
virtual void initialSetup()
void getWallBoundedElements(const std::vector< BoundaryName > &wall_boundary_name, const FEProblemBase &fe_problem, const SubProblem &subproblem, const std::set< SubdomainID > &block_ids, std::unordered_set< const Elem * > &wall_bounded)
Map marking wall bounded elements The map passed in wall_bounded_map gets cleared and re-populated.