/[MITgcm]/MITgcm/pkg/ggl90/GGL90.h
ViewVC logotype

Contents of /MITgcm/pkg/ggl90/GGL90.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Sep 16 11:27:18 2004 UTC (19 years, 8 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint55c_post, checkpoint55b_post, checkpoint55, checkpoint54f_post, checkpoint55a_post
File MIME type: text/plain
o initial check-in of TKE-model of Gaspar et al. 1990

1 C $Header: $
2 C $Name: $
3
4 #ifdef ALLOW_GGL90
5
6 CBOP
7 C !ROUTINE: GGL90.h
8
9 C !DESCRIPTION: \bv
10 C /==========================================================\
11 C | GGL90.h |
12 C | o Basic header for Garpar et al. (1990) |
13 C | vertical mixing parameterization. Implementation |
14 C | follows OPA implementation of Blanke+Delecuse (1993) |
15 C | Contains all GGL90 field declarations. |
16 C \==========================================================/
17
18 C-----------------------------------------------------------------------
19 C
20 C Parameters that can be set in data.ggl90
21 C unless otherwise noted, equation numbers refer to Gaspar et al.
22 C (1990), JGR, 95(C9) pp. 16,179ff.
23 C
24 C GGL90ck - constant in viscosity coefficient (eq.10)
25 C GGL90ceps - dissipation constant according to Kolmogorov (1942)
26 C GGL90m2 - constant relating wind stress to vertical stress of TKE
27 C in K [d(TKE)/dz](0)=m2*ustar^3
28 C GGL90alpha - constant relating viscosity to GGL90 diffusivity
29 C (default=1 in Gaspar etal.)
30 C GGL90TKEmin - minimum kinetic energy, leads to minimum mixing if TKE=0.
31 C GGL90TKEbottom - bottom bounardy condition for kinetic energy
32 C (default=GGL90TKEmin)
33 C GGL90TKEFile - File with initial field of TKE
34 C
35 C GGL90dumpFreq - analogue of dumpFreq (= default)
36 C GGL90taveFreq - analogue of taveFreq (= default)
37 C GGL90mixingMaps - output to standard out (default = .FALSE.)
38 C GGL90writeState - output to files (default = .FALSE.)
39 C
40 C Time varying parameters computed by subroutine ggl90_calc
41 C GGL90TKE - prognostic variable stepped forward in time ((m/s)^2)
42 C GGL90viscAr - Vertical eddy viscosity coefficient (m^2/s)
43 C GGL90diffKr - Vertical diffusion coefficient for heat,
44 C salt and tracers (m^2/s)
45 C
46 C-----------------------------------------------------------------------
47 C \ev
48 CEOP
49 _RL SQRTTWO
50 PARAMETER ( SQRTTWO = 1.41421356237310D0 )
51 _RL GGL90eps
52 PARAMETER ( GGL90eps = 2.23D-16 )
53
54 CHARACTER*(MAX_LEN_FNAM) GGL90TKEFile
55 COMMON /GGL90_PARMS_C/ GGL90TKEFile
56
57
58 _RL GGL90ck, GGL90ceps
59 _RL GGL90alpha, GGL90m2
60 _RL GGL90mixingLengthMin
61 _RL GGL90TKEmin, GGL90TKEbottom
62 _RL GGL90viscMax, GGL90diffMax
63 _RL GGL90dumpFreq, GGL90taveFreq
64 COMMON /GGL90_PARMS_R/
65 & GGL90ck, GGL90ceps,
66 & GGL90alpha, GGL90m2,
67 & GGL90mixingLengthMin,
68 & GGL90TKEmin, GGL90TKEbottom,
69 & GGL90viscMax, GGL90diffMax,
70 & GGL90dumpFreq, GGL90taveFreq
71
72 _RL GGL90TKE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
73 _RL GGL90viscAr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
74 _RL GGL90diffKr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
75 _RL recip_hFacI(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
76 COMMON /GGL90_FIELDS/ GGL90TKE,
77 & GGL90viscAr, GGL90diffKr,
78 & recip_hFacI
79
80 LOGICAL GGL90isOn, GGL90mixingMaps, GGL90writeState
81 COMMON /GGL90_PARMS_L/
82 & GGL90isOn, GGL90mixingMaps, GGL90writeState
83
84 #endif /* ALLOW_GGL90 */

  ViewVC Help
Powered by ViewVC 1.1.22