MFIX  2016-1
ghdtheory_mod.f
Go to the documentation of this file.
1  MODULE ghdtheory
2 
3 
4  Use param
5  Use param1
6 
7 !
8 ! Zeroth order dissipation term
9  DOUBLE PRECISION, DIMENSION(:), ALLOCATABLE :: zeta0
10 !
11 ! cooling rate transport coefficient (1st order)
12  DOUBLE PRECISION, DIMENSION(:), ALLOCATABLE :: zetau
13 !
14 ! Thermal diffusivity DiT
15  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: dit
16 !
17 ! Mass mobility coefficient
18  DOUBLE PRECISION, DIMENSION(:, :, :), ALLOCATABLE :: dijf
19 !
20 ! Thermal mobility
21  DOUBLE PRECISION, DIMENSION(:, :, :), ALLOCATABLE :: lij
22 !
23 ! Ordinary diffusion
24  DOUBLE PRECISION, DIMENSION(:, :, :), ALLOCATABLE :: dij
25 !
26 ! Dufour coefficient
27  DOUBLE PRECISION, DIMENSION(:, :, :), ALLOCATABLE :: dijq
28 !
29 ! Species mass flux in X-direction
30  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: joix
31 !
32 ! Species mass flux in Y-direction
33  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: joiy
34 !
35 ! Species mass flux in Z-direction
36  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: joiz
37 !
38 ! external force in X-direction
39  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fix
40 !
41 ! external force in Y-direction
42  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fiy
43 !
44 ! external force in Z-direction
45  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fiz
46 
47 ! external force in X-direction--flux
48  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fixvel
49 !
50 ! external force in Y-direction--flux
51  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fiyvel
52 !
53 ! external force in Z-direction--flux
54  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fizvel
55 !
56 ! external force Minus Drag term in Y-direction
57  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fiminusdragx
58 !
59 ! Species mass flux Without Drag term in Y-direction
60  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: joiminusdragx
61 !
62 ! external force Minus Drag term in Y-direction
63  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fiminusdragy
64 !
65 ! Species mass flux Without Drag term in Y-direction
66  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: joiminusdragy
67 !
68 ! external force Minus Drag term in Z-direction
69  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: fiminusdragz
70 !
71 ! Species mass flux Without Drag term in Z-direction
72  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: joiminusdragz
73 
74 
75 ! Everything that does not depend on the velocity of ith particle
76  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: deltau
77 !
78 ! Everything that does not depend on the velocity of the ith particle
79  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: deltav
80 !
81 ! Everything that does not depned on the velocity of the ith particle
82  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: deltaw
83 
84 ! Everything that does not depend on the velocity of ith particle
85  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: del_dot_j
86 
87 ! drag force in X-direction
88  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: dragfx
89 !
90 ! drag force in Y-direction
91  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: dragfy
92 !
93 ! drag force in Z-direction
94  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: dragfz
95 ! drag force in X-direction
96  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: dragfxflux
97 !
98 ! drag force in Y-direction
99  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: dragfyflux
100 !
101 ! drag force in Z-direction
102  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: dragfzflux
103 ! drag force in X-direction
104  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: beta_cell_x
105 !
106 ! drag force in Y-direction
107  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: beta_cell_y
108 !
109 ! drag force in Z-direction
110  DOUBLE PRECISION, DIMENSION(:, :), ALLOCATABLE :: beta_cell_z
111 ! drag force in X-direction
112  DOUBLE PRECISION, DIMENSION(:, :, :), ALLOCATABLE :: beta_ij_cell_x
113 !
114 ! drag force in Y-direction
115  DOUBLE PRECISION, DIMENSION(:, :, :), ALLOCATABLE :: beta_ij_cell_y
116 !
117 ! drag force in Z-direction
118  DOUBLE PRECISION, DIMENSION(:, :, :), ALLOCATABLE :: beta_ij_cell_z
119 
120 ! decide whether to do harmonic or arithmetic thermal diffusivity east
121  LOGICAL, DIMENSION(:), ALLOCATABLE :: dit_harme
122 ! decide whether to do harmonic or arithmetic thermal diffusivity north
123  LOGICAL, DIMENSION(:), ALLOCATABLE :: dit_harmn
124 ! decide whether to do harmonic or arithmetic thermal diffusivity top
125  LOGICAL, DIMENSION(:), ALLOCATABLE :: dit_harmt
126 
127 ! decide whether to do harmonic or arithmetic mass mobility east
128  LOGICAL, DIMENSION(:,:), ALLOCATABLE :: dijf_harme
129 ! decide whether to do harmonic or arithmetic mass mobility north
130  LOGICAL, DIMENSION(:,:), ALLOCATABLE :: dijf_harmn
131 ! decide whether to do harmonic or arithmetic mass mobility top
132  LOGICAL, DIMENSION(:,:), ALLOCATABLE :: dijf_harmt
133 
134 ! decide whether to do harmonic or arithmetic ordinary diffusivity east
135  LOGICAL, DIMENSION(:,:), ALLOCATABLE :: dij_harme
136 ! decide whether to do harmonic or arithmetic ordinary diffusivity north
137  LOGICAL, DIMENSION(:,:), ALLOCATABLE :: dij_harmn
138 ! decide whether to do harmonic or arithmetic ordinary diffusivity top
139  LOGICAL, DIMENSION(:,:), ALLOCATABLE :: dij_harmt
140 
141  END MODULE ghdtheory
double precision, dimension(:,:,:), allocatable beta_ij_cell_z
double precision, dimension(:,:), allocatable joix
Definition: ghdtheory_mod.f:30
double precision, dimension(:,:), allocatable del_dot_j
Definition: ghdtheory_mod.f:85
double precision, dimension(:,:,:), allocatable beta_ij_cell_x
logical, dimension(:), allocatable dit_harme
logical, dimension(:,:), allocatable dijf_harmt
logical, dimension(:), allocatable dit_harmt
double precision, dimension(:,:,:), allocatable beta_ij_cell_y
logical, dimension(:,:), allocatable dij_harmn
double precision, dimension(:,:), allocatable joiminusdragx
Definition: ghdtheory_mod.f:60
double precision, dimension(:,:), allocatable fiminusdragy
Definition: ghdtheory_mod.f:63
double precision, dimension(:,:), allocatable dragfyflux
Definition: ghdtheory_mod.f:99
double precision, dimension(:,:), allocatable deltaw
Definition: ghdtheory_mod.f:82
double precision, dimension(:,:), allocatable fix
Definition: ghdtheory_mod.f:39
double precision, dimension(:,:), allocatable beta_cell_x
double precision, dimension(:,:), allocatable fiz
Definition: ghdtheory_mod.f:45
double precision, dimension(:,:,:), allocatable dij
Definition: ghdtheory_mod.f:24
double precision, dimension(:,:), allocatable fixvel
Definition: ghdtheory_mod.f:48
double precision, dimension(:,:,:), allocatable lij
Definition: ghdtheory_mod.f:21
double precision, dimension(:,:), allocatable dragfx
Definition: ghdtheory_mod.f:88
logical, dimension(:,:), allocatable dij_harme
logical, dimension(:), allocatable dit_harmn
double precision, dimension(:,:), allocatable joiy
Definition: ghdtheory_mod.f:33
double precision, dimension(:,:), allocatable beta_cell_y
double precision, dimension(:), allocatable zetau
Definition: ghdtheory_mod.f:12
Definition: param_mod.f:2
double precision, dimension(:,:), allocatable dit
Definition: ghdtheory_mod.f:15
double precision, dimension(:,:), allocatable dragfy
Definition: ghdtheory_mod.f:91
double precision, dimension(:,:), allocatable dragfz
Definition: ghdtheory_mod.f:94
logical, dimension(:,:), allocatable dijf_harmn
double precision, dimension(:,:), allocatable deltau
Definition: ghdtheory_mod.f:76
double precision, dimension(:,:), allocatable fiminusdragx
Definition: ghdtheory_mod.f:57
double precision, dimension(:,:), allocatable dragfxflux
Definition: ghdtheory_mod.f:96
double precision, dimension(:,:), allocatable fiy
Definition: ghdtheory_mod.f:42
double precision, dimension(:,:), allocatable fiyvel
Definition: ghdtheory_mod.f:51
double precision, dimension(:,:), allocatable joiminusdragy
Definition: ghdtheory_mod.f:66
logical, dimension(:,:), allocatable dijf_harme
double precision, dimension(:,:), allocatable dragfzflux
double precision, dimension(:,:,:), allocatable dijf
Definition: ghdtheory_mod.f:18
double precision, dimension(:), allocatable zeta0
Definition: ghdtheory_mod.f:9
double precision, dimension(:,:), allocatable beta_cell_z
double precision, dimension(:,:), allocatable fizvel
Definition: ghdtheory_mod.f:54
double precision, dimension(:,:,:), allocatable dijq
Definition: ghdtheory_mod.f:27
double precision, dimension(:,:), allocatable joiminusdragz
Definition: ghdtheory_mod.f:72
double precision, dimension(:,:), allocatable deltav
Definition: ghdtheory_mod.f:79
double precision, dimension(:,:), allocatable joiz
Definition: ghdtheory_mod.f:36
logical, dimension(:,:), allocatable dij_harmt
double precision, dimension(:,:), allocatable fiminusdragz
Definition: ghdtheory_mod.f:69