https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LinearFVTKEDSourceSink.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
21{
22public:
24
30
31 virtual void initialSetup() override;
32
33 virtual Real computeMatrixContribution() override;
34
35 virtual Real computeRightHandSideContribution() override;
36
37protected:
39 const unsigned int _dim;
40
47
50
53
56
59
61 const std::vector<BoundaryName> & _wall_boundary_names;
62
65
68
71
73 const Real _C_mu;
74
76 const Real _C_pl;
77
79
80 std::unordered_set<const Elem *> _wall_bounded;
81 std::map<const Elem *, std::vector<Real>> _dist;
82 std::map<const Elem *, std::vector<const FaceInfo *>> _face_infos;
84};
Kernel that adds contributions to the source and the sink of the turbulent kinetic energy dissipation...
const Moose::Functor< Real > & _u_var
x-velocity
const Moose::Functor< Real > * _w_var
z-velocity
const Moose::Functor< Real > & _C1_eps
Value of the first epsilon closure coefficient.
NS::WallTreatmentEnum _wall_treatment
Method used for wall treatment.
std::map< const Elem *, std::vector< Real > > _dist
static InputParameters validParams()
const unsigned int _dim
The dimension of the simulation.
const Moose::Functor< Real > & _C2_eps
Value of the second epsilon closure coefficient.
std::map< const Elem *, std::vector< const FaceInfo * > > _face_infos
virtual void initialSetup() override
const Moose::Functor< Real > & _mu_t
Turbulent dynamic viscosity.
const Moose::Functor< Real > & _k
Turbulent kinetic energy.
virtual Real computeMatrixContribution() override
const std::vector< BoundaryName > & _wall_boundary_names
Wall boundaries.
const Real _C_pl
Production Limiter Constant.
std::unordered_set< const Elem * > _wall_bounded
Maps for wall treatment.
virtual Real computeRightHandSideContribution() override
const Moose::Functor< Real > * _v_var
y-velocity
const Moose::Functor< Real > & _rho
Density.
const Moose::Functor< Real > & _mu
Dynamic viscosity.
const Real _C_mu
C_mu constant.
WallTreatmentEnum
Wall treatment options.
Definition NS.h:187