https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LinearFVTKESourceSink.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://www.mooseframework.org
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
13#include "NS.h"
14
20{
21public:
23
29
30 virtual void initialSetup() override;
31
32 virtual Real computeMatrixContribution() override;
33
34 virtual Real computeRightHandSideContribution() override;
35
36protected:
38 const unsigned int _dim;
39
46
49
52
55
58
60 const std::vector<BoundaryName> & _wall_boundary_names;
61
64
66 const Real _C_mu;
67
69 const Real _C_pl;
70
73 std::unordered_set<const Elem *> _wall_bounded;
74 std::map<const Elem *, std::vector<Real>> _dist;
75 std::map<const Elem *, std::vector<const FaceInfo *>> _face_infos;
77};
Kernel that adds contributions to the source and the sink of the turbulent kinetic energy discretized...
const Moose::Functor< Real > & _mu
Dynamic viscosity.
virtual Real computeRightHandSideContribution() override
const Moose::Functor< Real > & _epsilon
epsilon - dissipation rate of TKE
const Real _C_pl
Production Limiter Constant.
const NS::WallTreatmentEnum _wall_treatment
Method used for wall treatment.
std::unordered_set< const Elem * > _wall_bounded
std::map< const Elem *, std::vector< const FaceInfo * > > _face_infos
virtual void initialSetup() override
std::map< const Elem *, std::vector< Real > > _dist
static InputParameters validParams()
const Real _C_mu
C_mu constant.
const Moose::Functor< Real > * _w_var
z-velocity
const Moose::Functor< Real > & _rho
Density.
const Moose::Functor< Real > & _u_var
x-velocity
const std::vector< BoundaryName > & _wall_boundary_names
Wall boundaries.
const Moose::Functor< Real > * _v_var
y-velocity
const Moose::Functor< Real > & _mu_t
Turbulent dynamic viscosity.
virtual Real computeMatrixContribution() override
const unsigned int _dim
The dimension of the domain.
WallTreatmentEnum
Wall treatment options.
Definition NS.h:187