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

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

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


Revision 1.4 - (hide annotations) (download)
Fri Jan 30 02:23:56 2009 UTC (15 years, 4 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint62, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62i, checkpoint62h, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.3: +12 -5 lines
File MIME type: text/plain
A few adjustments

1 dfer 1.4 C $Header: /u/gcmpack/MITgcm/pkg/ggl90/GGL90.h,v 1.3 2006/06/06 16:18:18 mlosch Exp $
2 mlosch 1.1 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 mlosch 1.3 C GGL90TKEsurfmin - minimum of surface kinetic energy boundary condition
31     C (default=GGL90TKEmin)
32 mlosch 1.1 C GGL90TKEmin - minimum kinetic energy, leads to minimum mixing if TKE=0.
33     C GGL90TKEbottom - bottom bounardy condition for kinetic energy
34     C (default=GGL90TKEmin)
35     C GGL90TKEFile - File with initial field of TKE
36     C
37     C GGL90dumpFreq - analogue of dumpFreq (= default)
38     C GGL90taveFreq - analogue of taveFreq (= default)
39     C GGL90mixingMaps - output to standard out (default = .FALSE.)
40     C GGL90writeState - output to files (default = .FALSE.)
41     C
42     C Time varying parameters computed by subroutine ggl90_calc
43     C GGL90TKE - prognostic variable stepped forward in time ((m/s)^2)
44     C GGL90viscAr - Vertical eddy viscosity coefficient (m^2/s)
45     C GGL90diffKr - Vertical diffusion coefficient for heat,
46     C salt and tracers (m^2/s)
47     C
48     C-----------------------------------------------------------------------
49     C \ev
50     CEOP
51     _RL SQRTTWO
52     PARAMETER ( SQRTTWO = 1.41421356237310D0 )
53     _RL GGL90eps
54     PARAMETER ( GGL90eps = 2.23D-16 )
55    
56     CHARACTER*(MAX_LEN_FNAM) GGL90TKEFile
57     COMMON /GGL90_PARMS_C/ GGL90TKEFile
58    
59    
60     _RL GGL90ck, GGL90ceps
61     _RL GGL90alpha, GGL90m2
62 mlosch 1.2 _RL GGL90diffTKEh
63 mlosch 1.1 _RL GGL90mixingLengthMin
64 mlosch 1.3 _RL GGL90TKEmin, GGL90TKEsurfMin, GGL90TKEbottom
65 mlosch 1.1 _RL GGL90viscMax, GGL90diffMax
66     _RL GGL90dumpFreq, GGL90taveFreq
67 dfer 1.4 INTEGER mxlMaxFlag
68 mlosch 1.1 COMMON /GGL90_PARMS_R/
69     & GGL90ck, GGL90ceps,
70     & GGL90alpha, GGL90m2,
71 mlosch 1.2 & GGL90diffTKEh,
72 mlosch 1.1 & GGL90mixingLengthMin,
73 mlosch 1.3 & GGL90TKEmin, GGL90TKEsurfMin, GGL90TKEbottom,
74 mlosch 1.1 & GGL90viscMax, GGL90diffMax,
75 dfer 1.4 & GGL90dumpFreq, GGL90taveFreq, mxlMaxFlag
76 mlosch 1.1
77     _RL GGL90TKE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
78     _RL GGL90viscAr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
79     _RL GGL90diffKr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
80 dfer 1.4 c _RL recip_hFacI(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
81 mlosch 1.1 COMMON /GGL90_FIELDS/ GGL90TKE,
82 dfer 1.4 & GGL90viscAr, GGL90diffKr
83     c & ,recip_hFacI
84 mlosch 1.1
85     LOGICAL GGL90isOn, GGL90mixingMaps, GGL90writeState
86     COMMON /GGL90_PARMS_L/
87     & GGL90isOn, GGL90mixingMaps, GGL90writeState
88    
89 dfer 1.4 #ifdef ALLOW_GGL90_SMOOTH
90     COMMON /GGL90_CORNER/ mskCor, GGL90diffKrS
91     _RL mskCor(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
92     _RL GGL90diffKrS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
93     #endif
94    
95 mlosch 1.1 #endif /* ALLOW_GGL90 */

  ViewVC Help
Powered by ViewVC 1.1.22