New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
ice.F90 in branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_3 – NEMO

source: branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_3/ice.F90 @ 2588

Last change on this file since 2588 was 2528, checked in by rblod, 13 years ago

Update NEMOGCM from branch nemo_v3_3_beta

  • Property svn:keywords set to Id
File size: 28.8 KB
Line 
1MODULE ice
2   !!======================================================================
3   !!                        ***  MODULE ice  ***
4   !! LIM-3 Sea Ice physics:  diagnostics variables of ice defined in memory
5   !!=====================================================================
6   !! History :  3.0  ! 2008-03  (M. Vancoppenolle) : original code LIM-3
7   !!----------------------------------------------------------------------
8#if defined key_lim3
9   !!----------------------------------------------------------------------
10   !!   'key_lim3' :                                   LIM3 sea-ice model
11   !!----------------------------------------------------------------------
12   USE par_ice          ! LIM sea-ice parameters
13
14   IMPLICIT NONE
15   PRIVATE
16
17   !!======================================================================
18   !! LIM3 by the use of sweat, agile fingers and sometimes brain juice,
19   !!  was developed in Louvain-la-Neuve by :
20   !!
21   !!    * Martin Vancoppenolle (UCL-ASTR, Belgium)
22   !!    * Sylvain Bouillon (UCL-ASTR, Belgium)
23   !!    * Miguel Angel Morales Maqueda (POL, UK)
24   !!
25   !! Based on extremely valuable earlier work by
26   !!
27   !!    * Thierry Fichefet
28   !!    * Hugues Goosse
29   !!
30   !! The following persons also contributed to the code in various ways
31   !!
32   !!    * Gurvan Madec, Claude Talandier, Christian Ethe
33   !! NEMO/LIM3 3.3 , UCL - NEMO Consortium (2010)
34   !!    * Xavier Fettweis (UCL-ASTR), Ralph Timmermann (AWI, Germany)
35   !!    * Bill Lipscomb (LANL), Cecilia Bitz (UWa)
36   !!      and Elisabeth Hunke (LANL), USA.
37   !!
38   !! (c) UCL-ASTR, 2005-2008
39   !!
40   !! For more info, the interested user is kindly invited to consult the
41   !! following references
42   !!    For model description and validation :
43   !!    * Vancoppenolle et al., Ocean Modelling, 2008a.
44   !!    * Vancoppenolle et al., Ocean Modelling, 2008b.
45   !!
46   !!    For a specific description of EVP :
47   !!    * Bouillon et al., in prep for 2008.
48   !!
49   !!    Or the reference manual, that should be available by 2010
50   !!======================================================================
51   !!                                                                     |
52   !!              I C E   S T A T E   V A R I A B L E S                  |
53   !!                                                                     |
54   !! Introduction :                                                      |
55   !! --------------                                                      |
56   !! Every ice-covered grid cell is characterized by a series of state   |
57   !! variables. To account for unresolved spatial variability in ice     |
58   !! thickness, the ice cover in divided in ice thickness categories.    |
59   !!                                                                     |
60   !! Sea ice state variables depend on the ice thickness category        |
61   !!                                                                     |
62   !! Those variables are divided into two groups                         |
63   !! * Extensive (or global) variables.                                  |
64   !!   These are the variables that are transported by all means         |
65   !! * Intensive (or equivalent) variables.                              |
66   !!   These are the variables that are either physically more           |
67   !!   meaningful and/or used in ice thermodynamics                      |
68   !!                                                                     |
69   !! Routines in limvar.F90 perform conversions                          |
70   !!  - lim_var_glo2eqv  : from global to equivalent variables           |
71   !!  - lim_var_eqv2glo  : from equivalent to global variables           |
72   !!                                                                     |
73   !! For various purposes, the sea ice state variables have sometimes    |
74   !! to be aggregated over all ice thickness categories. This operation  |
75   !! is done in :                                                        |
76   !!  - lim_var_agg                                                      |
77   !!                                                                     |
78   !! in icestp.F90, the routines that compute the changes in the ice     |
79   !! state variables are called                                          |
80   !! - lim_dyn : ice dynamics                                            |
81   !! - lim_trp : ice transport                                           |
82   !! - lim_itd_me : mechanical redistribution (ridging and rafting)      |
83   !! - lim_thd : ice halo-thermodynamics                                 |
84   !! - lim_itd_th : thermodynamic changes in ice thickness distribution  |
85   !!                and creation of new ice                              |
86   !!                                                                     |
87   !! See the associated routines for more information                    |
88   !!                                                                     |
89   !! List of ice state variables :                                       |
90   !! -----------------------------                                       |
91   !!                                                                     |
92   !!-------------|-------------|---------------------------------|-------|
93   !!   name in   |   name in   |              meaning            | units |
94   !! 2D routines | 1D routines |                                 |       |
95   !!-------------|-------------|---------------------------------|-------|
96   !!                                                                     |
97   !! ******************************************************************* |
98   !! ***         Dynamical variables (prognostic)                    *** |
99   !! ******************************************************************* |
100   !!                                                                     |
101   !! u_ice       |      -      |    Comp. U of the ice velocity  | m/s   |
102   !! v_ice       |      -      |    Comp. V of the ice velocity  | m/s   |
103   !!                                                                     |
104   !! ******************************************************************* |
105   !! ***         Category dependent state variables (prognostic)     *** |
106   !! ******************************************************************* |
107   !!                                                                     |
108   !! ** Global variables                                                 |
109   !!-------------|-------------|---------------------------------|-------|
110   !! a_i         | a_i_b       |    Ice concentration            |       |
111   !! v_i         |      -      |    Ice volume per unit area     | m     |
112   !! v_s         |      -      |    Snow volume per unit area    | m     |
113   !! smv_i       |      -      |    Sea ice salt content         | ppt.m |
114   !! oa_i        !      -      !    Sea ice areal age content    | day   |
115   !! e_i         !      -      !    Ice enthalpy                 | 10^9 J|
116   !!      -      ! q_i_b       !    Ice enthalpy per unit vol.   | J/m3  |
117   !! e_s         !      -      !    Snow enthalpy                | 10^9 J|
118   !!      -      ! q_s_b       !    Snow enthalpy per unit vol.  | J/m3  |
119   !!                                                                     |
120   !!-------------|-------------|---------------------------------|-------|
121   !!                                                                     |
122   !! ** Equivalent variables                                             |
123   !!-------------|-------------|---------------------------------|-------|
124   !!                                                                     |
125   !! ht_i        | ht_i_b      |    Ice thickness                | m     |
126   !! ht_s        ! ht_s_b      |    Snow depth                   | m     |
127   !! sm_i        ! sm_i_b      |    Sea ice bulk salinity        ! ppt   |
128   !! s_i         ! s_i_b       |    Sea ice salinity profile     ! ppt   |
129   !! o_i         !      -      |    Sea ice Age                  ! days  |
130   !! t_i         ! t_i_b       |    Sea ice temperature          ! K     |
131   !! t_s         ! t_s_b       |    Snow temperature             ! K     |
132   !! t_su        ! t_su_b      |    Sea ice surface temperature  ! K     |
133   !!                                                                     |
134   !! notes: the ice model only sees a bulk (i.e., vertically averaged)   |
135   !!        salinity, except in thermodynamic computations, for which    |
136   !!        the salinity profile is computed as a function of bulk       |
137   !!        salinity                                                     |
138   !!                                                                     |
139   !!        the sea ice surface temperature is not associated to any     |
140   !!        heat content. Therefore, it is not a state variable and      |
141   !!        does not have to be advected. Nevertheless, it has to be     |
142   !!        computed to determine whether the ice is melting or not      |
143   !!                                                                     |
144   !! ******************************************************************* |
145   !! ***         Category-summed state variables (diagnostic)        *** |
146   !! ******************************************************************* |
147   !! at_i        | at_i_b      |    Total ice concentration      |       |
148   !! vt_i        |      -      |    Total ice vol. per unit area | m     |
149   !! vt_s        |      -      |    Total snow vol. per unit ar. | m     |
150   !! smt_i       |      -      |    Mean sea ice salinity        | ppt   |
151   !! tm_i        |      -      |    Mean sea ice temperature     | K     |
152   !! ot_i        !      -      !    Sea ice areal age content    | day   |
153   !! et_i        !      -      !    Total ice enthalpy           | 10^9 J|
154   !! et_s        !      -      !    Total snow enthalpy          | 10^9 J|
155   !! bv_i        !      -      !    Mean relative brine volume   | ???   |
156   !!=====================================================================
157
158   LOGICAL, PUBLIC ::   con_i = .false.   ! switch for conservation test
159
160   !!--------------------------------------------------------------------------
161   !! * Share Module variables
162   !!--------------------------------------------------------------------------
163   INTEGER , PUBLIC ::   nstart    !: iteration number of the begining of the run
164   INTEGER , PUBLIC ::   nlast     !: iteration number of the end of the run
165   INTEGER , PUBLIC ::   nitrun    !: number of iteration
166   INTEGER , PUBLIC ::   numit     !: iteration number
167   REAL(wp), PUBLIC ::   tpstot    !: time of the run in seconds
168   REAL(wp), PUBLIC ::   rdt_ice   !: ice time step
169
170   INTEGER , PUBLIC ::   &     !!: ** ice-dynamic namelist (namicedyn) **
171      nbiter = 1      ,  &     !: number of sub-time steps for relaxation
172      nbitdr = 250    ,  &     !: maximum number of iterations for relaxation
173      nevp   = 400    ,  &     !: number of iterations for subcycling
174      nlay_i = 5               !: number of layers in the ice
175
176   REAL(wp), PUBLIC ::   &     !!: ** ice-dynamic namelist (namicedyn) **
177      epsd   = 1.0e-20,  &     !: tolerance parameter for dynamic
178      alpha  = 0.5    ,  &     !: coefficient for semi-implicit coriolis
179      dm     = 0.6e+03,  &     !: diffusion constant for dynamics
180      om     = 0.5    ,  &     !: relaxation constant
181      resl   = 5.0e-05,  &     !: maximum value for the residual of relaxation
182      cw     = 5.0e-03,  &     !: drag coefficient for oceanic stress
183      angvg  = 0.0    ,  &     !: turning angle for oceanic stress
184      pstar  = 1.0e+04,  &     !: determines ice strength (N/M), Hibler JPO79
185      c_rhg  = 20.0   ,  &     !: determines changes in ice strength
186      etamn  = 0.0e+07,  &     !: minimun value for viscosity : has to be 0
187      creepl = 2.0e-08,  &     !: creep limit : has to be under 1.0e-9
188      ecc    = 2.0    ,  &  !: eccentricity of the elliptical yield curve
189      ahi0   = 350.e0 ,  &  !: sea-ice hor. eddy diffusivity coeff. (m2/s)
190      telast = 2880.0 ,  &  !: timescale for elastic waves (s) !SB
191      alphaevp = 1.0  ,  &  !: coeficient of the internal stresses !SB
192      unit_fac = 1.0e9      !: conversion factor for ice / snow enthalpy
193
194   REAL(wp), PUBLIC ::   & !!: ** ice-salinity namelist (namicesal) **
195      s_i_max  = 20.0 ,  &  !: maximum ice salinity (ppt)
196      s_i_min  =  0.1 ,  &  !: minimum ice salinity (ppt)
197      s_i_0    =  3.5 ,  &  !: 1st sal. value for the computation of sal .prof.
198                                !: (ppt)
199      s_i_1    =  4.5 ,  &  !: 2nd sal. value for the computation of sal .prof.
200                                !: (ppt)
201      sal_G    = 5.00 ,  &  !: restoring salinity for gravity drainage
202                                !: (ppt)
203      sal_F    = 2.50 ,  &  !: restoring salinity for flushing
204                                !: (ppt)
205      time_G   = 1.728e+06,&!: restoring time constant for gravity drainage
206                                !: (= 20 days, in s)
207      time_F   = 8.640e+05,&!: restoring time constant for gravity drainage
208                                !: (= 10 days, in s)
209      bulk_sal = 4.0        !: bulk salinity (ppt) in case of constant salinity
210
211   INTEGER , PUBLIC ::   & !!: ** ice-salinity namelist (namicesal) **
212      num_sal  = 1    ,  &  !: salinity configuration used in the model
213                                !: 1 - s constant in space and time
214                                !: 2 - prognostic salinity (s(z,t))
215                                !: 3 - salinity profile, constant in time
216                                !: 4 - salinity variations affect only ice
217                                !      thermodynamics
218      sal_prof = 1    ,  &  !: salinity profile or not
219      thcon_i_swi = 1       !: thermal conductivity of Untersteiner (1964) (1) or
220   !: Pringle et al (2007) (2)
221
222   REAL(wp), PUBLIC ::   & !!: ** ice-mechanical redistribution namelist (namiceitdme)
223      Cs = 0.25       ,  & !!: fraction of shearing energy contributing to ridging           
224      Cf = 17.0       ,  & !!: ratio of ridging work to PE loss
225      fsnowrdg = 0.5  ,  & !!: fractional snow loss to the ocean during ridging
226      fsnowrft = 0.5  ,  & !!: fractional snow loss to the ocean during ridging
227      Gstar = 0.15    ,  & !!: fractional area of young ice contributing to ridging
228      astar = 0.05    ,  & !!: equivalent of G* for an exponential participation function
229      Hstar = 100.0   ,  & !!: thickness that determines the maximal thickness of ridged
230                                !!: ice
231      hparmeter = 0.75,  & !!: threshold thickness (m) for rafting / ridging
232      Craft = 5.0     ,  & !!: coefficient for smoothness of the hyperbolic tangent in rafting
233      ridge_por = 0.0 ,  & !!: initial porosity of ridges (0.3 regular value)
234      sal_max_ridge = 15.0, & !!: maximum ridged ice salinity (ppt)
235      betas    = 1.0      , & !:: coef. for partitioning of snowfall between leads and sea ice
236      kappa_i  = 1.0      , & !!: coefficient for the extinction of radiation
237                                !!: Grenfell et al. (2006) (m-1)
238      nconv_i_thd = 50    , & !!: maximal number of iterations for heat diffusion
239      maxer_i_thd = 1.0e-4    !!: maximal tolerated error (C) for heat diffusion
240
241   INTEGER , PUBLIC ::   & !!: ** ice-mechanical redistribution namelist (namiceitdme)
242      ridge_scheme_swi = 0, & !!: scheme used for ice ridging
243      raftswi          = 1, & !!: rafting of ice or not                       
244      partfun_swi      = 1, & !!: participation function Thorndike et al. JGR75 (0)
245                                !!: or Lipscomb et al. JGR07 (1)
246      transfun_swi     = 0, & !!: transfer function of Hibler, MWR80 (0)
247                                !!: or Lipscomb et al., 2007 (1)
248      brinstren_swi    = 0    !!: use brine volume to diminish ice strength
249
250   REAL(wp), PUBLIC ::   &  !:
251      usecc2          ,  &  !:  = 1.0 / ( ecc * ecc )
252      rhoco           ,  &  !: = rau0 * cw
253      sangvg, cangvg  ,  &  !: sin and cos of the turning angle for ocean stress
254      pstarh                !: pstar / 2.0
255
256   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::  &  !:
257      u_oce, v_oce    ,  &  !: surface ocean velocity used in ice dynamics
258      ahiu , ahiv     ,  &  !: hor. diffusivity coeff. at ocean U- and V-points (m2/s)
259      pahu , pahv     ,  &  !: ice hor. eddy diffusivity coef. at ocean U- and V-points
260      ust2s, hicol    ,  &  !: friction velocity, ice collection thickness accreted in leads
261      strength        ,  &  !: ice strength
262      strp1, strp2    ,  &  !: strength at previous time steps
263      stress1_i       ,  &  !: first stress tensor element
264      stress2_i       ,  &  !: second stress tensor element
265      stress12_i      ,  &  !: diagonal stress tensor element
266      delta_i         ,  &  !: Delta factor for the ice rheology (see Flato and Hibler 95) [s-1] -> limrhg.F90
267      divu_i          ,  &  !: Divergence of the velocity field [s-1] -> limrhg.F90
268      shear_i               !: Shear of the velocity field [s-1] -> limrhg.F90
269
270   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !:
271      firic  ,   &  !: IR flux over the ice (only used for outputs)
272      fcsic  ,   &  !: Sensible heat flux over the ice (only used for outputs)
273      fleic  ,   &  !: Latent heat flux over the ice (only used for outputs)
274      qlatic ,   &  !: latent flux
275      rdvosif,   &  !: Variation of volume at surface (only used for outputs)
276      rdvobif,   &  !: Variation of ice volume at the bottom ice (only used for outputs)
277      fdvolif,   &  !: Total variation of ice volume (only used for outputs)
278      rdvonif,   &  !: Lateral Variation of ice volume (only used for outputs)
279      sist   ,   &  !: Average Sea-Ice Surface Temperature (Kelvin)
280      icethi ,   &  !: total ice thickness (for all categories) (only used for outputs)
281      t_bo   ,   &  !: Sea-Ice bottom temperature (Kelvin)     
282      hicifp ,   &  !: Ice production/melting
283                                !obsolete... can be removed
284      frld   ,   &  !: Leads fraction = 1-a/totalarea REFERS TO LEAD FRACTION everywhere
285                                !: except in the OUTPUTS!!!!
286      pfrld  ,   &  !: Leads fraction at previous time 
287      phicif ,   &  !: Old ice thickness
288      fbif   ,   &  !: Heat flux at the ice base
289      rdmsnif,   &  !: Variation of snow mass
290      rdmicif,   &  !: Variation of ice mass
291      qldif  ,   &  !: heat balance of the lead (or of the open ocean)
292      qcmif  ,   &  !: Energy needed to bring the ocean surface layer until its freezing
293      fdtcn  ,   &  !: net downward heat flux from the ice to the ocean
294      qdtcn  ,   &  !: energy from the ice to the ocean
295      fstric ,   &  !: transmitted solar radiation under ice
296      fscmbq ,   &  !: associated with lead chipotage with solar flux
297      ffltbif,   &  !: Array linked with the max heat contained in brine pockets (?)
298      fsbbq  ,   &  !: Also linked with the solar flux below the ice (?)
299      qfvbq  ,   &  !: Array used to store energy in case of toral lateral ablation (?)
300      dmgwi  ,   &  !: Variation of the mass of snow ice
301      fsalt_res, &  !: Residual salt flux due to correction of ice thickness
302      fsbri  ,   &  !: Salt flux due to brine rejection
303      fsalt_rpo, &  !: Salt flux associated with porous ridged ice formation
304      fheat_rpo, &  !: Heat flux associated with porous ridged ice formation
305      fhbri  ,   &  !: heat flux due to brine rejection
306      fmmec  ,   &  !: Mass flux due to snow loss during compression
307      fseqv  ,   &  !: Equivalent salt flux due to ice growth/melt
308      fheat_res, &  !: Residual heat flux due to correction of ice thickness
309      fhmec         !: Heat flux due to snow loss during compression
310
311   ! temporary arrays for dummy version of the code
312   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !:
313      dh_i_surf2D, dh_i_bott2D, fstbif, fsup2D, focea2D, q_s
314
315   INTEGER, PUBLIC, DIMENSION(jpi, jpj, jpl) ::          &   !::
316      patho_case ! number of the pathological case (if any, of course)
317
318   !!--------------------------------------------------------------------------
319   !! * Ice global state variables
320   !!--------------------------------------------------------------------------
321   !! Variables defined for each ice category
322   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpl)        ::   &  !:
323      ht_i   ,   &  !: Ice thickness (m)
324      a_i    ,   &  !: Ice fractional areas (concentration)
325      v_i    ,   &  !: Ice volume per unit area (m)
326      v_s    ,   &  !: Snow volume per unit area(m)
327      ht_s   ,   &  !: Snow thickness (m)
328      t_su   ,   &  !: Sea-Ice Surface Temperature (K)
329      sm_i   ,   &  !: Sea-Ice Bulk salinity (ppt)
330      smv_i  ,   &  !: Sea-Ice Bulk salinity times volume per area (ppt.m)
331                                !: this is an extensive variable that has to be transported
332      o_i    ,   &  !: Sea-Ice Age (days)
333      ov_i   ,   &  !: Sea-Ice Age times volume per area (days.m)
334      oa_i          !: Sea-Ice Age times ice area (days)
335
336   !! Variables summed over all categories, or associated to
337   !! all the ice in a single grid cell
338   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !:
339      u_ice, v_ice,   &  !: two components of the ice velocity (m/s)
340      tio_u, tio_v,   &  !: two components of the ice-ocean stress (N/m2)
341      vt_i        ,   &  !: ice total volume per unit area (m)
342      vt_s        ,   &  !: snow total volume per unit area (m)
343      at_i        ,   &  !: ice total fractional area (ice concentration)
344      ato_i       ,   &  !: total open water fractional area (1-at_i)
345      et_i        ,   &  !: total ice heat content
346      et_s        ,   &  !: total snow heat content
347      ot_i        ,   &  !: mean age over all categories
348      tm_i        ,   &  !: mean ice temperature over all categories
349      bv_i        ,   &  !: brine volume averaged over all categories
350      smt_i              !: mean sea ice salinity averaged over all categories
351
352   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpm) ::   &  !:
353      at_i_typ    ,   &  !: total area contained in each ice type
354      vt_i_typ           !: total volume contained in each ice type
355
356   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,nlay_s,jpl) :: & !:
357      t_s,            &  !: Snow temperatures (K)
358      e_s
359
360   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpl) ::   &  !: ! go to trash
361      e_i_cat
362
363   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jkmax,jpl) :: & !:
364      t_i,            &  !: Ice temperatures     [ Kelvins     ]
365      e_i,            &  !: Ice thermal contents [ Joules*10^9 ]
366      s_i                !: Ice salinities
367
368   !!--------------------------------------------------------------------------
369   !! * Moments for advection
370   !!--------------------------------------------------------------------------
371   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)     ::   &  !:
372      sxopw, syopw, sxxopw, syyopw, sxyopw          !: open water in sea ice
373
374   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpl) ::   &  !:
375      sxice, syice, sxxice, syyice, sxyice,      &  !: ice thickness moments for advection
376      sxsn,  sysn,  sxxsn,  syysn,  sxysn,       &  !: snow thickness
377      sxa,   sya,   sxxa,   syya,   sxya,        &  !: lead fraction
378      sxc0,  syc0,  sxxc0,  syyc0,  sxyc0,       &  !: snow thermal content
379      sxsal, sysal, sxxsal, syysal, sxysal,      &  !: ice salinity
380      sxage, syage, sxxage, syyage, sxyage          !: ice age
381
382   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jkmax,jpl) ::   &  !:
383      sxe ,  sye ,  sxxe ,  syye ,  sxye            !: ice layers heat content
384
385   !!--------------------------------------------------------------------------
386   !! * Old values of global variables
387   !!--------------------------------------------------------------------------
388   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpl) ::   &  !:
389      old_v_s, old_v_i,                          &  !: snow and ice volumes
390      old_a_i, old_smv_i, old_oa_i
391   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,nlay_s,jpl) ::   &  !:
392      old_e_s                                       !: snow heat content
393   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jkmax,jpl) ::   &  !:
394      old_e_i                          !: ice temperatures
395   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !: ice velocity (gv6 and gv7)
396      old_u_ice, old_v_ice
397
398   !!--------------------------------------------------------------------------
399   !! * Increment of global variables
400   !!--------------------------------------------------------------------------
401   ! thd refers to changes induced by thermodynamics
402   ! trp   ''         ''     ''       advection (transport of ice)
403   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpl) ::   &  !:
404      d_a_i_thd  , d_a_i_trp ,                   &  !: icefractions                 
405      d_v_s_thd  , d_v_s_trp,                    &  !: snow volume
406      d_v_i_thd  , d_v_i_trp,                    &  !: ice  volume
407      d_smv_i_thd, d_smv_i_trp,                  &     
408      d_sm_i_fl  , d_sm_i_gd ,                   &
409      d_sm_i_se  , d_sm_i_si , d_sm_i_la ,       &
410      d_oa_i_thd , d_oa_i_trp, s_i_newice
411
412   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,nlay_s,jpl) ::  &  !:
413      d_e_s_thd, d_e_s_trp
414
415   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jkmax,jpl) ::   &  !:
416      d_e_i_thd, d_e_i_trp
417
418   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::       &  !: ice velocity
419      d_u_ice_dyn, d_v_ice_dyn
420
421   !!--------------------------------------------------------------------------
422   !! * Ice thickness distribution variables
423   !!--------------------------------------------------------------------------
424   ! REMOVE
425   INTEGER, PUBLIC, DIMENSION(jpl)                ::   &  !:
426      ice_types      !: Vector making the connection between types and categories
427
428   INTEGER, PUBLIC, DIMENSION(jpm,2)              ::   &  !:
429      ice_cat_bounds !: Matrix containing the integer upper and
430   !: lower boundaries of ice thickness categories
431
432   ! REMOVE
433   INTEGER, PUBLIC, DIMENSION(jpm)                ::   &  !:
434      ice_ncat_types !: Vector containing the number of thickness categories in each ice type
435
436   REAL(wp), PUBLIC, DIMENSION(0:jpl)             ::   &  !:
437      hi_max          !: Boundary of ice thickness categories in thickness space
438
439   REAL(wp), PUBLIC, DIMENSION(jpl)               ::   &  !:
440      hi_mean         !: Mean ice thickness in catgories
441
442   ! REMOVE
443   REAL(wp), PUBLIC, DIMENSION(0:jpl,jpm)         ::   &  !:
444      hi_max_typ     !: Boundary of ice thickness categories
445   !:in thickness space (same but specific for each ice type)
446
447   !!--------------------------------------------------------------------------
448   !! * Ice Run
449   !!--------------------------------------------------------------------------
450   !! Namelist namicerun read in iceini
451   CHARACTER(len=32)     , PUBLIC ::   cn_icerst_in  = "restart_ice_in"   !: suffix of ice restart name (input)
452   CHARACTER(len=32)     , PUBLIC ::   cn_icerst_out = "restart_ice"      !: suffix of ice restart name (output)
453   LOGICAL               , PUBLIC ::   ln_limdyn     = .TRUE.             !: flag for ice dynamics (T) or not (F)
454   LOGICAL               , PUBLIC ::   ln_nicep      = .TRUE.             !: flag for sea-ice points output (T) or not (F)
455   REAL(wp)              , PUBLIC ::   hsndif        = 0.e0               !: computation of temp. in snow (0) or not (9999)
456   REAL(wp)              , PUBLIC ::   hicdif        = 0.e0               !: computation of temp. in ice (0) or not (9999)
457   REAL(wp)              , PUBLIC ::   cai           = 1.40e-3            !: atmospheric drag over sea ice
458   REAL(wp)              , PUBLIC ::   cao           = 1.00e-3            !: atmospheric drag over ocean
459   REAL(wp), DIMENSION(2), PUBLIC ::   acrit  = (/ 1.e-06 , 1.e-06 /)     !: minimum fraction for leads in
460   !                                                                      !: north and south hemisphere
461   !!--------------------------------------------------------------------------
462   !! * Ice diagnostics
463   !!--------------------------------------------------------------------------
464   !! Check if everything down here is necessary
465   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !: volume of ice formed in the leads
466      v_newice
467   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpl) ::   &  !: thermodynamic growth rates
468      dv_dt_thd,  &
469      izero, fstroc, fhbricat
470   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   & 
471      diag_sni_gr,                           & ! snow ice growth
472      diag_lat_gr,                           & ! lateral ice growth
473      diag_bot_gr,                           & ! bottom ice growth
474      diag_dyn_gr,                           & ! dynamical ice growth
475      diag_bot_me,                           & ! vertical bottom melt
476      diag_sur_me                              ! vertical surface melt
477   INTEGER , PUBLIC ::   jiindx, jjindx        !: indexes of the debugging point
478
479#else
480   !!----------------------------------------------------------------------
481   !!   Default option         Empty module            NO LIM sea-ice model
482   !!----------------------------------------------------------------------
483#endif
484
485   !!======================================================================
486END MODULE ice
Note: See TracBrowser for help on using the repository browser.