1 |
C $Header: /u/gcmpack/MITgcm/pkg/aim_v23/com_physvar.h,v 1.2 2004/03/11 14:33:19 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#ifdef ALLOW_AIM |
5 |
|
6 |
C-- COMMON /PHYGR1/ : Model variables on gaussian grid (updated in PHYPAR) |
7 |
C UG1 = u-wind |
8 |
C VG1 = v-wind |
9 |
C TG1 = abs. temperature |
10 |
C QG1 = specific humidity (g/kg) |
11 |
C PHIG1 = geopotential |
12 |
C PSLG1 = log. of surface pressure |
13 |
C VsurfSq = Square of surface wind speed (grid position = as T,Q) |
14 |
c COMMON /PHYGR1/ TG1, QG1, Vsurfsq |
15 |
c _RL UG1 (NGP,NLEV) |
16 |
c _RL VG1 (NGP,NLEV) |
17 |
_RL TG1 (NGP,NLEV) |
18 |
_RL QG1 (NGP,NLEV) |
19 |
c _RL PHIG1 (NGP,NLEV) |
20 |
c _RL PSLG1 (NGP) |
21 |
_RL VsurfSq(NGP) |
22 |
|
23 |
C-- COMMON /PHYGR2/ : Diagnosed upper-air variables (updated in PHYPAR) |
24 |
C SE = dry static energy <- replaced by Pot.Temp. |
25 |
C RH = relative humidity |
26 |
C QSAT = saturation specific humidity (g/kg) |
27 |
c COMMON /PHYGR2/ SE, RH, QSAT |
28 |
COMMON /PHYGR2/ RH |
29 |
_RL SE (NGP,NLEV) |
30 |
_RL RH (NGP,NLEV,MAX_NO_THREADS) |
31 |
_RL QSAT (NGP,NLEV) |
32 |
|
33 |
|
34 |
C-- COMMON /PHYGR3/ : Diagnosed surface variables (updated in PHYPAR) |
35 |
C PSG = surface pressure (normalized) |
36 |
C TS = surface temperature |
37 |
C TSKIN = skin temperature |
38 |
C U0 = near-surface u-wind |
39 |
C V0 = near-surface v-wind |
40 |
C T0 = near-surface air temperature |
41 |
C Q0 = near-surface specific humidity (g/kg) |
42 |
C CLOUDC = total cloud cover (fraction) |
43 |
C CLTOP = norm. pressure at cloud top |
44 |
c COMMON /PHYGR3/ PSG, TS, TSKIN, |
45 |
COMMON /PHYGR3/ TS, TSKIN, T0, Q0, CLOUDC, CLTOP |
46 |
_RL PSG (NGP) |
47 |
_RL TS (NGP,MAX_NO_THREADS) |
48 |
_RL TSKIN (NGP,MAX_NO_THREADS) |
49 |
c _RL U0(NGP), V0(NGP) |
50 |
_RL T0 (NGP,MAX_NO_THREADS) |
51 |
_RL Q0 (NGP,MAX_NO_THREADS) |
52 |
_RL CLTOP (NGP,MAX_NO_THREADS) |
53 |
_RL CLOUDC(NGP,MAX_NO_THREADS) |
54 |
|
55 |
C-- COMMON /PHYTEN/ : Physical param. tendencies (updated in PHYPAR) |
56 |
C TT_CNV = temperature tendency due to convection |
57 |
C QT_CNV = sp. humidity tendency due to convection |
58 |
C TT_LSC = temperature tendency due to large-scale condensation |
59 |
C QT_LSC = sp. humidity tendency due to large-scale condensation |
60 |
C TT_RSW = temperature tendency due to short-wave radiation |
61 |
C TT_RLW = temperature tendency due to long-wave radiation |
62 |
C UT_PBL = u-wind tendency due to PBL and diffusive processes |
63 |
C VT_PBL = v-wind tendency due to PBL and diffusive processes |
64 |
C TT_PBL = temperature tendency due to PBL and diffusive processes |
65 |
C QT_PBL = sp. humidity tendency due to PBL and diffusive processes |
66 |
COMMON /PHYTEN/ TT_CNV, QT_CNV, TT_LSC, QT_LSC, |
67 |
& TT_RSW, TT_RLW, TT_PBL, QT_PBL |
68 |
_RL TT_CNV (NGP,NLEV,MAX_NO_THREADS) |
69 |
_RL QT_CNV (NGP,NLEV,MAX_NO_THREADS) |
70 |
_RL TT_LSC (NGP,NLEV,MAX_NO_THREADS) |
71 |
_RL QT_LSC (NGP,NLEV,MAX_NO_THREADS) |
72 |
_RL TT_RSW (NGP,NLEV,MAX_NO_THREADS) |
73 |
_RL TT_RLW (NGP,NLEV,MAX_NO_THREADS) |
74 |
c _RL UT_PBL (NGP,NLEV,MAX_NO_THREADS) |
75 |
c _RL VT_PBL (NGP,NLEV,MAX_NO_THREADS) |
76 |
_RL TT_PBL (NGP,NLEV,MAX_NO_THREADS) |
77 |
_RL QT_PBL (NGP,NLEV,MAX_NO_THREADS) |
78 |
|
79 |
C-- COMMON /FLUXES/ : Surface and upper boundary fluxes (updated in PHYPAR) |
80 |
C PRECNV = convective precipitation [g/m2/s] |
81 |
C PRECLS = large-scale precipitation [g/m2/s] |
82 |
C EnPrec = energy of precipitation (snow, rain temp) [J/g] |
83 |
C CBMF = cloud-base mass flux |
84 |
C TSR = top-of-atm. shortwave radiation (downward) |
85 |
C SSR = surf. shortwave radiation (downward) (1:land, 2:sea, 3:sea-ice) |
86 |
C SLR = surface longwave radiation (upward) (1:land, 2:sea, 3:sea-ice) |
87 |
C OLR = outgoing longwave radiation (upward) |
88 |
C USTR = u-stress (1:land, 2:sea, 3:weighted average) |
89 |
C VSTR = v-stress (1:land, 2:sea, 3:weighted average) |
90 |
C SHF = sensible heat flux (1:land, 2:sea, 3:sea-ice) |
91 |
C EVAP = evaporation [g/m2/s] (1:land, 2:sea, 3:sea-ice) |
92 |
C DRAG = surface Drag term (= Cd*Rho*|V|) (1:land, 2:sea, 3:sea-ice) |
93 |
COMMON /FLUXES/ PRECNV, PRECLS, EnPrec, |
94 |
& CBMF, TSR, SSR, SLR, OLR, |
95 |
& SHF, EVAP, SPEED0, DRAG |
96 |
_RL PRECNV (NGP,MAX_NO_THREADS) |
97 |
_RL PRECLS (NGP,MAX_NO_THREADS) |
98 |
_RL EnPrec (NGP,MAX_NO_THREADS) |
99 |
_RL CBMF (NGP,MAX_NO_THREADS) |
100 |
_RL TSR (NGP,MAX_NO_THREADS) |
101 |
_RL SSR (NGP,0:3,MAX_NO_THREADS) |
102 |
_RL SLR (NGP,0:3,MAX_NO_THREADS) |
103 |
_RL OLR (NGP,MAX_NO_THREADS) |
104 |
c _RL USTR (NGP,3) |
105 |
c _RL VSTR (NGP,3) |
106 |
_RL SHF (NGP,0:3,MAX_NO_THREADS) |
107 |
_RL EVAP (NGP,0:3,MAX_NO_THREADS) |
108 |
_RL SPEED0 (NGP,MAX_NO_THREADS) |
109 |
_RL DRAG (NGP,0:3,MAX_NO_THREADS) |
110 |
|
111 |
#ifdef ALLOW_CLR_SKY_DIAG |
112 |
C TT_SWclr = temp. tendency due to clear-sky short-wave radiation |
113 |
C TSWclr = top-of-atm. clear-sky shortwave radiation (downward) |
114 |
C SSWclr = clear-sky surf. (net) shortwave radiation (downward) |
115 |
C TT_LWclr = temp. tendency due to clear-sky long-wave radiation |
116 |
C OLWclr = clear-sky outgoing longwave radiation (upward) |
117 |
C SLWclr = clear-sky surf. (net) longwave radiation (upward) |
118 |
COMMON /CLRSKYDIAG/ |
119 |
& TT_SWclr, TSWclr, SSWclr, |
120 |
& TT_LWclr, OLWclr, SLWclr |
121 |
_RL TT_SWclr(NGP,NLEV,MAX_NO_THREADS) |
122 |
_RL TSWclr (NGP,MAX_NO_THREADS) |
123 |
_RL SSWclr (NGP,MAX_NO_THREADS) |
124 |
_RL TT_LWclr(NGP,NLEV,MAX_NO_THREADS) |
125 |
_RL OLWclr (NGP,MAX_NO_THREADS) |
126 |
_RL SLWclr (NGP,MAX_NO_THREADS) |
127 |
#endif |
128 |
|
129 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
130 |
#endif /* ALLOW_AIM */ |