https://mooseframework.inl.gov
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 {
21 public:
23 
28  LinearFVTKESourceSink(const InputParameters & params);
29 
30  virtual void initialSetup() override;
31 
32  virtual Real computeMatrixContribution() override;
33 
34  virtual Real computeRightHandSideContribution() override;
35 
36 protected:
38  const unsigned int _dim;
39 
46 
49 
52 
55 
58 
60  const std::vector<BoundaryName> & _wall_boundary_names;
61 
63  const bool _linearized_model;
64 
67 
69  const Real _C_mu;
70 
72  const Real _C_pl;
73 
76  std::unordered_set<const Elem *> _wall_bounded;
77  std::map<const Elem *, std::vector<Real>> _dist;
78  std::map<const Elem *, std::vector<const FaceInfo *>> _face_infos;
80 };
const Moose::Functor< Real > * _w_var
z-velocity
std::map< const Elem *, std::vector< Real > > _dist
const Real _C_pl
Production Limiter Constant.
const Moose::Functor< Real > & _u_var
x-velocity
WallTreatmentEnum
Wall treatment options.
Definition: NS.h:182
const NS::WallTreatmentEnum _wall_treatment
Method used for wall treatment.
const Moose::Functor< Real > & _rho
Density.
const std::vector< BoundaryName > & _wall_boundary_names
Wall boundaries.
Kernel that adds contributions to the source and the sink of the turbulent kinetic energy discretized...
const Real _C_mu
C_mu constant.
const Moose::Functor< Real > & _epsilon
epsilon - dissipation rate of TKE
std::unordered_set< const Elem * > _wall_bounded
const unsigned int _dim
The dimension of the domain.
const Moose::Functor< Real > & _mu
Dynamic viscosity.
static InputParameters validParams()
virtual Real computeMatrixContribution() override
LinearFVTKESourceSink(const InputParameters &params)
Class constructor.
virtual Real computeRightHandSideContribution() override
const bool _linearized_model
Linearized model?
virtual void initialSetup() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::map< const Elem *, std::vector< const FaceInfo * > > _face_infos
const Moose::Functor< Real > & _mu_t
Turbulent dynamic viscosity.
const Moose::Functor< Real > * _v_var
y-velocity