/[MITgcm]/MITgcm/pkg/timeave/TIMEAVE_STATV.h
ViewVC logotype

Contents of /MITgcm/pkg/timeave/TIMEAVE_STATV.h

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


Revision 1.5 - (show annotations) (download)
Thu May 1 22:17:42 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint50c_post, checkpoint51, checkpoint50d_post, checkpoint51d_post, checkpoint51b_pre, checkpoint50f_post, checkpoint50f_pre, checkpoint51b_post, checkpoint51c_post, checkpoint50g_post, checkpoint50h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint50e_post, checkpoint50d_pre, checkpoint51a_post
Changes since 1.4: +7 -3 lines
File MIME type: text/plain
add time-average diagnostic of U*V and diff_Kr*theta

1 C $Header: /u/gcmpack/MITgcm/pkg/timeave/TIMEAVE_STATV.h,v 1.4 2002/09/18 16:38:02 mlosch Exp $
2 C $Name: $
3
4 #ifdef ALLOW_TIMEAVE
5
6 CBOP
7 C !ROUTINE: TIMEAVE_STATV.h
8 C !INTERFACE:
9 C include "TIMEAVE_STATV.h"
10 C !DESCRIPTION: \bw
11 C *================================================================*
12 C | TIMEAVE_STATV.h
13 C | o Time averages of model state-variables
14 C | (common block TAVE_STATEVARS)
15 C *================================================================*
16 C | Time average of state variables is (generally) centered on the
17 C | middle of the time step (time average interval = TimeAve_half)
18 C | Time average of intermediate and tandancy variables is centered
19 C | on the time step (time average interval=TimeAve_full)
20 C *================================================================*
21 C \ev
22 CEOP
23
24 C TimeAve_* :: time of temporal integration (s) *** for each thread ***
25 C TimeAve_half :: half time_step multiple (used for state variables)
26 C TimeAve_full :: full time_step multiple (used for for intermediate var.)
27 C etatave :: surface displacement (r unit, i.e. ocean:z, atmos:p)
28 C uVeltave :: zonal velocity (m/s, i=1 held at western face)
29 C vVeltave :: meridional velocity (m/s, j=1 held at southern face)
30 C wVeltave :: vertical velocity ([r]/s, i.e.: ocean:m/s atmos:Pa/s)
31 C thetatave :: potential temperature (oC, held at pressure/tracer point)
32 C salttave :: salinity (ppt, held at pressure/tracer point)
33 C Eta2tave :: eta * eta
34 C TTtave :: theta * theta
35 C UUtave :: uVel * uVel (used to compute the averaged KE)
36 C VVtave :: vVel * vVel (used to compute the averaged KE)
37 C UVtave :: uVel * vVel (at vorticity point, i.e. grid-corner)
38 C KEtave :: Kinetic Energy
39 C UTtave :: uVel * theta (* hFacW)
40 C VTtave :: vVel * theta (* hFacS)
41 C WTtave :: wVel * theta
42 C tDiffRtave :: vertical diffusion flux of Temperature (theta)
43 C phiHydtave :: Hydrostatic (ocean) pressure / (atmos) geo- Potential
44 C phiHydLowtave:: Hydrostatic (ocean) pressure / (atmos) geo- Potential
45 C at the fixed boundary: (ocean) bottom pressure
46 C (atmos) geo- Potential
47 C ConvectCountTave :: Average number of convective adjustment event
48
49 COMMON /TAVE_TIME/ TimeAve_half,TimeAve_full
50 _RL TimeAve_half(Nr,nSx,nSy)
51 _RL TimeAve_full(Nr,nSx,nSy)
52
53 COMMON /TAVE_STATEVARS/
54 & etatave,Eta2tave,
55 & uVeltave,vVeltave,wVeltave,
56 & thetatave,salttave,
57 & TTtave,UUtave,VVtave,UVtave,
58 & UTtave,VTtave,WTtave,TdiffRtave,
59 & phiHydtave,
60 & phiHydLowtave,phiHydLow2Tave,
61 & ConvectCountTave
62 c & ,KEtave
63 _RL etatave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
64 _RL eta2Tave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
65 _RL uVeltave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
66 _RL vVeltave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
67 _RL wVeltave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
68 _RL thetatave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
69 _RL salttave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
70 _RL TTtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
71 _RL UUtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
72 _RL VVtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
73 _RL UVtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
74 c _RL KEtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
75 _RL UTtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
76 _RL VTtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
77 _RL WTtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
78 _RL TdiffRtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
79 _RL phiHydtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
80 _RL phiHydLowtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
81 _RL phiHydLow2Tave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
82 _RL ConvectCountTave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
83
84 #ifdef NONLIN_FRSURF
85 C hUtave :: average zonal flow (=hFacW*uVel) (still in m/s !)
86 C hVtave :: average merid.flow (=hFacS*vVel) (still in m/s !)
87 C hFacCtave :: average thickness fraction of open water, Center
88 C hFacWtave :: average thickness fraction of open water, West side
89 C hFacStave :: average thickness fraction of open water, South side
90
91 COMMON /TAVE_THICKNESS/
92 & hUtave, hVtave
93 c & , hFacCtave, hFacWtave, hFacStave
94 _RL hUtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
95 _RL hVtave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
96 c _RL hFacCtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
97 c _RL hFacWtave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
98 c _RL hFacStave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
99 #endif /* NONLIN_FRSURF */
100
101 #endif /* ALLOW_TIMEAVE */

  ViewVC Help
Powered by ViewVC 1.1.22