1 | module turb_mod |
---|
2 | |
---|
3 | !! variables |
---|
4 | REAL,SAVE,ALLOCATABLE :: q2(:,:) ! Turbulent Kinetic Energy |
---|
5 | REAL,SAVE,ALLOCATABLE :: sens(:) |
---|
6 | REAL,allocatable,SAVE :: l0(:) |
---|
7 | REAL,SAVE,ALLOCATABLE :: yustar(:) |
---|
8 | REAL,SAVE,ALLOCATABLE :: wstar(:) |
---|
9 | REAL,SAVE,ALLOCATABLE :: tstar(:) |
---|
10 | REAL,SAVE,ALLOCATABLE :: hfmax_th(:) |
---|
11 | REAL,SAVE,ALLOCATABLE :: zmax_th(:) |
---|
12 | ! REAL,SAVE,ALLOCATABLE :: sensibFlux(:) |
---|
13 | LOGICAL :: turb_resolved = .false. |
---|
14 | ! this is a flag to say 'turbulence is resolved' |
---|
15 | ! mostly for LES use. default is FALSE (for GCM and mesoscale) |
---|
16 | |
---|
17 | !contains |
---|
18 | |
---|
19 | ! subroutine ini_turb_mod(ngrid,nlayer) |
---|
20 | |
---|
21 | ! implicit none |
---|
22 | ! integer,intent(in) :: ngrid ! number of atmospheric columns |
---|
23 | ! integer,intent(in) :: nlayer ! number of atmospheric layers |
---|
24 | |
---|
25 | ! allocate(q2(ngrid,nlayer+1)) |
---|
26 | ! allocate(l0(ngrid)) |
---|
27 | ! allocate(wstar(ngrid)) |
---|
28 | ! allocate(ustar(ngrid)) |
---|
29 | ! allocate(tstar(ngrid)) |
---|
30 | ! allocate(hfmax_th(ngrid)) |
---|
31 | ! allocate(zmax_th(ngrid)) |
---|
32 | ! allocate(sensibFlux(ngrid)) |
---|
33 | |
---|
34 | ! end subroutine ini_turb_mod |
---|
35 | |
---|
36 | end module turb_mod |
---|