/[MITgcm]/MITgcm/pkg/aim_v23/com_physvar.h
ViewVC logotype

Contents of /MITgcm/pkg/aim_v23/com_physvar.h

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


Revision 1.3 - (show annotations) (download)
Thu Jun 24 23:41:12 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint57g_pre, checkpoint57s_post, checkpoint58b_post, checkpoint57b_post, checkpoint57g_post, checkpoint56b_post, checkpoint57y_post, checkpoint54d_post, checkpoint54e_post, checkpoint57r_post, checkpoint57d_post, checkpoint57i_post, checkpoint59, checkpoint58, checkpoint55, checkpoint54, checkpoint57, checkpoint56, checkpoint58f_post, checkpoint57n_post, checkpoint58d_post, checkpoint58a_post, checkpoint57z_post, checkpoint54f_post, checkpoint62a, checkpoint58y_post, checkpoint58t_post, checkpoint55i_post, checkpoint58m_post, checkpoint57l_post, checkpoint57t_post, checkpoint55c_post, checkpoint57v_post, checkpoint57f_post, checkpoint60, checkpoint61, checkpoint62, checkpoint57a_post, checkpoint57h_pre, checkpoint54b_post, checkpoint58w_post, checkpoint57h_post, checkpoint57y_pre, checkpoint55g_post, checkpoint58o_post, checkpoint57c_post, checkpoint58p_post, checkpoint58q_post, checkpoint55d_post, checkpoint58e_post, checkpoint54a_pre, checkpoint55d_pre, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint54a_post, checkpoint55h_post, checkpoint58n_post, checkpoint57e_post, checkpoint55b_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint53g_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post, eckpoint57e_pre, checkpoint58k_post, checkpoint58v_post, checkpoint56a_post, checkpoint58l_post, checkpoint53f_post, checkpoint57h_done, checkpoint57j_post, checkpoint57f_pre, checkpoint61f, checkpoint58g_post, checkpoint58x_post, checkpoint61n, checkpoint58h_post, checkpoint56c_post, checkpoint58j_post, checkpoint57a_pre, checkpoint55a_post, checkpoint57o_post, checkpoint61q, checkpoint57k_post, checkpoint61z, checkpoint57w_post, checkpoint61e, checkpoint58i_post, checkpoint57x_post, checkpoint58c_post, checkpoint58u_post, checkpoint58s_post, checkpoint55e_post, checkpoint61g, checkpoint61d, checkpoint54c_post, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61x, checkpoint61y
Changes since 1.2: +19 -1 lines
File MIME type: text/plain
- include stability function into surf.Flux derivative relative to Ts
- calculate clear-sky radiation & surface temp. change
- update diagnostics (snap-shot, timeave & diagnostics)

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 */

  ViewVC Help
Powered by ViewVC 1.1.22