1 |
jmc |
1.13 |
C $Header: /u/gcmpack/MITgcm/pkg/thsice/THSICE_VARS.h,v 1.12 2012/08/01 18:22:41 jmc Exp $ |
2 |
jmc |
1.1 |
C $Name: $ |
3 |
|
|
|
4 |
|
|
#ifdef ALLOW_THSICE |
5 |
|
|
|
6 |
|
|
C !ROUTINE: THSICE_VARS.h |
7 |
|
|
C ------------------------------- |
8 |
|
|
C THSICE_VARS.h |
9 |
|
|
C variable for thermodynamics - Sea-Ice model |
10 |
|
|
C ------------------------------- |
11 |
|
|
|
12 |
|
|
C-- COMMON /THSICE_VARS/ state variables of sea-ice model : |
13 |
|
|
C iceMask :: sea-ice fraction: no ice=0, grid all ice 1 [] |
14 |
|
|
C iceHeight :: depth of ice layer [m] |
15 |
|
|
C snowHeight:: depth of snow layer [m] |
16 |
|
|
C Tsrf :: temperature at surface [oC] |
17 |
|
|
C Tice1 :: temperature of ice layer 1 [oC] |
18 |
|
|
C Tice2 :: temperature of ice layer 2 [oC] |
19 |
jmc |
1.4 |
C Qice1 :: enthalpy of ice layer 1 [J/kg] |
20 |
|
|
C Qice2 :: enthalpy of ice layer 2 [J/kg] |
21 |
jmc |
1.1 |
C snowAge :: snow age [s] |
22 |
|
|
COMMON /THSICE_VARS/ |
23 |
|
|
& iceMask, iceHeight, snowHeight, |
24 |
|
|
& Tsrf, Tice1, Tice2, |
25 |
|
|
& Qice1, Qice2, snowAge |
26 |
|
|
|
27 |
|
|
_RL iceMask(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
28 |
|
|
_RL iceHeight (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
29 |
|
|
_RL snowHeight(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
30 |
|
|
_RL Tsrf (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
31 |
|
|
_RL Tice1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
32 |
|
|
_RL Tice2 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
33 |
|
|
_RL Qice1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
34 |
|
|
_RL Qice2 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
35 |
|
|
_RL snowAge(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
36 |
|
|
|
37 |
|
|
C-- COMMON /THSICE_FLUX/ hold fluxes needed for thsice model |
38 |
|
|
C sHeating :: surf heating left to melt snow or ice (= Atmos-Conduction) |
39 |
|
|
C flxCndBt :: heat flux conducted through the ice to bottom surface |
40 |
jmc |
1.2 |
C siceAlb :: area weighted sea-ice albedo [0-1] |
41 |
jmc |
1.11 |
C icAlbNIR :: seaice(+snow) surface Near Infra-Red Albedo |
42 |
jmc |
1.7 |
C atmospheric fluxes (change along the time-stepping): |
43 |
jmc |
1.8 |
C icFlxSW :: short-wave heat flux (+=down) over sea-ice |
44 |
jmc |
1.7 |
C (downward SW / net SW @ surface / net SW below sea-ice) |
45 |
|
|
C icFlxAtm :: Atmospheric surf. heat flux over sea-ice [W/m2] (+=down) |
46 |
|
|
C (over sea-ice only / weighted by ice-fraction) |
47 |
|
|
C icFrwAtm :: fresh-water flux (E-P) from the atmosphere [kg/m2/s] (+=up) |
48 |
|
|
C ( ice Evap only / ice E-P / ice - ocean weighted E-P ) |
49 |
jmc |
1.1 |
C oceQnet :: net heat flux to the ocean (+=down) [W/m2] |
50 |
|
|
C oceQsw :: net short-wave that enter the ocean (+=down) [W/m2] |
51 |
|
|
C oceFWfx :: net fresh water flux to the ocean (+=down) [kg/m2] |
52 |
|
|
C oceSflx :: net salt flux to the ocean (+=down) [psu.kg/m2] |
53 |
jmc |
1.12 |
C adjustFrW :: global adjustment to surface fresh-water flux [kg/m2/s] |
54 |
jmc |
1.1 |
COMMON / THSICE_FLUX / |
55 |
|
|
c & oceQsw, oceQnet, oceFWfx, oceSflx, |
56 |
|
|
& sHeating, flxCndBt, |
57 |
jmc |
1.13 |
& siceAlb, icAlbNIR, |
58 |
jmc |
1.12 |
& icFlxSW, icFlxAtm, icFrwAtm, |
59 |
|
|
& adjustFrW |
60 |
jmc |
1.1 |
|
61 |
|
|
c _RL oceQnet(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
62 |
|
|
c _RL oceQsw (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
63 |
|
|
c _RL oceFWfx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
64 |
|
|
c _RL oceSflx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
65 |
|
|
_RL sHeating(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
66 |
|
|
_RL flxCndBt(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
67 |
jmc |
1.2 |
_RL siceAlb (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
68 |
jmc |
1.11 |
_RL icAlbNIR(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
69 |
jmc |
1.7 |
_RL icFlxSW (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
70 |
|
|
_RL icFlxAtm(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
71 |
|
|
_RL icFrwAtm(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
72 |
jmc |
1.12 |
_RL adjustFrW |
73 |
jmc |
1.1 |
|
74 |
jmc |
1.10 |
C-- COMMON /THSICE_DYN_R/ variables used with sea-ice advection/diffusion |
75 |
|
|
C oceFWfx :: fresh water flux to the ocean [kg/m^2/s] |
76 |
|
|
C oceSflx :: salt flux to the ocean [psu.kg/m^2/s] (~g/m^2/s) |
77 |
|
|
C oceQnet :: heat flux to the ocean [W/m^2] |
78 |
|
|
C--- |
79 |
|
|
C Note :: when ice volume is too small to be kept, ice & snow is melt |
80 |
|
|
C and fresh water, salt and heat are returned to the ocean. |
81 |
|
|
C For now, those fluxes are stored separately and will try to find |
82 |
|
|
C out how to incorporate them more naturally in the usual forcing. |
83 |
|
|
C--- |
84 |
|
|
COMMON /THSICE_DYN_R/ |
85 |
|
|
& oceFWfx, oceSflx, oceQnet |
86 |
|
|
|
87 |
|
|
_RL oceFWfx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
88 |
|
|
_RL oceSflx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
89 |
|
|
_RL oceQnet(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
90 |
|
|
|
91 |
jmc |
1.1 |
C-- COMMON / THSICE_OCEMXLAYER / oceanic mixed layer state |
92 |
|
|
C hOceMxL :: thickness of the ocean mixed layer [m] |
93 |
|
|
C tOceMxL :: temperature in the ocean mixed layer [oC] |
94 |
|
|
C sOceMxL :: salinity in the ocean mixed layer [psu] |
95 |
|
|
C v2ocMxL :: velocity (square) in the mixed layer [m2/s2] |
96 |
|
|
COMMON / THSICE_OCEMXLAYER / |
97 |
|
|
& hOceMxL, tOceMxL, sOceMxL, v2ocMxL |
98 |
|
|
|
99 |
|
|
_RL hOceMxL(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
100 |
|
|
_RL tOceMxL(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
101 |
|
|
_RL sOceMxL(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
102 |
|
|
_RL v2ocMxL(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
103 |
|
|
|
104 |
|
|
#endif /* ALLOW_THSICE */ |
105 |
edhill |
1.3 |
|
106 |
|
|
CEH3 ;;; Local Variables: *** |
107 |
|
|
CEH3 ;;; mode:fortran *** |
108 |
|
|
CEH3 ;;; End: *** |