-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMixingLengthModel.h
47 lines (34 loc) · 1.26 KB
/
MixingLengthModel.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
#ifndef _MIXING_LENGTH_MODEL_H_
#define _MIXING_LENGTH_MODEL_H_
#include "Definitions.h"
#include "Parameters.h"
#include "TurbulentFlowField.h"
class MixingLengthModel {
protected:
const Parameters & _parameters;
public:
MixingLengthModel(const Parameters & parameters);
virtual ~MixingLengthModel();
// Return the value of lm at position (i, j, k)
virtual FLOAT at(TurbulentFlowField & flowField, int i, int j) = 0;
virtual FLOAT at(TurbulentFlowField & flowField, int i, int j, int k) = 0;
};
class LmKh : public MixingLengthModel {
public:
LmKh(const Parameters & parameters);
virtual FLOAT at(TurbulentFlowField & flowField, int i, int j);
virtual FLOAT at(TurbulentFlowField & flowField, int i, int j, int k);
};
class LmLaminarFlatPlate : public MixingLengthModel {
public:
LmLaminarFlatPlate(const Parameters & parameters);
virtual FLOAT at(TurbulentFlowField & flowField, int i, int j);
virtual FLOAT at(TurbulentFlowField & flowField, int i, int j, int k);
};
class LmTurbulentFlatPlate : public MixingLengthModel {
public:
LmTurbulentFlatPlate(const Parameters & parameters);
virtual FLOAT at(TurbulentFlowField & flowField, int i, int j);
virtual FLOAT at(TurbulentFlowField & flowField, int i, int j, int k);
};
#endif