/[MITgcm]/MITgcm/pkg/thsice/THSICE_VARS.h
ViewVC logotype

Contents of /MITgcm/pkg/thsice/THSICE_VARS.h

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


Revision 1.13 - (show annotations) (download)
Thu May 2 20:03:12 2013 UTC (11 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.12: +2 -4 lines
File MIME type: text/plain
remove snowPrc from common block THSICE_FLUX, in THSICE_VARS.h
 and declared it locally (without bi,bj) in thsice_main.F & aim_do_physics.F

1 C $Header: /u/gcmpack/MITgcm/pkg/thsice/THSICE_VARS.h,v 1.12 2012/08/01 18:22:41 jmc Exp $
2 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 C Qice1 :: enthalpy of ice layer 1 [J/kg]
20 C Qice2 :: enthalpy of ice layer 2 [J/kg]
21 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 C siceAlb :: area weighted sea-ice albedo [0-1]
41 C icAlbNIR :: seaice(+snow) surface Near Infra-Red Albedo
42 C atmospheric fluxes (change along the time-stepping):
43 C icFlxSW :: short-wave heat flux (+=down) over sea-ice
44 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 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 C adjustFrW :: global adjustment to surface fresh-water flux [kg/m2/s]
54 COMMON / THSICE_FLUX /
55 c & oceQsw, oceQnet, oceFWfx, oceSflx,
56 & sHeating, flxCndBt,
57 & siceAlb, icAlbNIR,
58 & icFlxSW, icFlxAtm, icFrwAtm,
59 & adjustFrW
60
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 _RL siceAlb (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
68 _RL icAlbNIR(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
69 _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 _RL adjustFrW
73
74 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 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
106 CEH3 ;;; Local Variables: ***
107 CEH3 ;;; mode:fortran ***
108 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22