-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSFVEddyViscCSVReynoldsStress.h
53 lines (38 loc) · 1.21 KB
/
INSFVEddyViscCSVReynoldsStress.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#pragma once
#include "INSFVFluxKernel.h"
#include "INSFVMomentumResidualObject.h"
// Forward declare variable class
class INSFVVelocityVariable;
class INSFVEddyViscCSVReynoldsStress : public INSFVFluxKernel
{
public:
static InputParameters validParams();
INSFVEddyViscCSVReynoldsStress(const InputParameters & params);
using INSFVFluxKernel::gatherRCData;
void gatherRCData(const FaceInfo &) override final;
protected:
/**
* Routine to compute this object's strong residual (e.g. not multipled by area). This routine
* should also populate the _ae and _an coefficients
*/
ADReal computeStrongResidual();
/// The dimension of the simulation
const unsigned int _dim;
/// index x|y|z
const unsigned int _axis_index;
/// x-velocity
const INSFVVelocityVariable * const _u_var;
/// y-velocity
const INSFVVelocityVariable * const _v_var;
/// z-velocity
const INSFVVelocityVariable * const _w_var;
/// Density
const Moose::Functor<ADReal> & _rho;
/// Turbulent eddy mixing length
//const Moose::Functor<ADReal> & _mixing_len;
const Moose::Functor<ADReal> & _eddy_visc_csv;
/// Rhie-Chow element coefficient
ADReal _ae = 0;
/// Rhie-Chow neighbor coefficient
ADReal _an = 0;
};