MODULE ice_2 !!====================================================================== !! *** MODULE ice *** !! Sea Ice physics: diagnostics variables of ice defined in memory !!===================================================================== !! History : 2.0 ! 03-08 (C. Ethe) F90: Free form and module !! 3.3 ! 2009-05 (G.Garric) addition of the lim2_evp cas !!---------------------------------------------------------------------- #if defined key_lim2 !!---------------------------------------------------------------------- !! 'key_lim2' : LIM 2.0 sea-ice model !!---------------------------------------------------------------------- !! NEMO/LIM2 3.3 , UCL - NEMO Consortium (2010) !! $Id$ !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) !!---------------------------------------------------------------------- !! * Modules used USE par_ice_2 ! LIM sea-ice parameters IMPLICIT NONE PRIVATE !!* Share parameters namelist (namicerun read in iceini) * CHARACTER(len=32) , PUBLIC :: cn_icerst_in = "restart_ice_in" !: suffix of ice restart name (input) CHARACTER(len=32) , PUBLIC :: cn_icerst_out = "restart_ice" !: suffix of ice restart name (output) LOGICAL , PUBLIC :: ln_limdyn = .TRUE. !: flag for ice dynamics (T) or not (F) LOGICAL , PUBLIC :: ln_limdmp = .FALSE. !: Ice damping LOGICAL , PUBLIC :: ln_nicep = .TRUE. !: flag grid points output (T) or not (F) REAL(wp) , PUBLIC :: hsndif = 0.e0 !: computation of temp. in snow (0) or not (9999) REAL(wp) , PUBLIC :: hicdif = 0.e0 !: computation of temp. in ice (0) or not (9999) REAL(wp), DIMENSION(2), PUBLIC :: acrit = (/ 1.e-06 , 1.e-06 /) !: minimum fraction for leads in ! !: north and south hemisphere !!* ice-dynamic namelist (namicedyn) * INTEGER , PUBLIC :: nbiter = 1 !: number of sub-time steps for relaxation INTEGER , PUBLIC :: nbitdr = 250 !: maximum number of iterations for relaxation INTEGER , PUBLIC :: nevp = 360 !: number of EVP subcycling iterations INTEGER , PUBLIC :: telast = 3600 !: timescale for EVP elastic waves REAL(wp), PUBLIC :: rdt_ice !: ice time step REAL(wp), PUBLIC :: epsd = 1.0e-20 !: tolerance parameter for dynamic REAL(wp), PUBLIC :: alpha = 0.5 !: coefficient for semi-implicit coriolis REAL(wp), PUBLIC :: dm = 0.6e+03 !: diffusion constant for dynamics REAL(wp), PUBLIC :: om = 0.5 !: relaxation constant REAL(wp), PUBLIC :: resl = 5.0e-05 !: maximum value for the residual of relaxation REAL(wp), PUBLIC :: cw = 5.0e-03 !: drag coefficient for oceanic stress REAL(wp), PUBLIC :: angvg = 0.e0 !: turning angle for oceanic stress REAL(wp), PUBLIC :: pstar = 1.0e+04 !: first bulk-rheology parameter REAL(wp), PUBLIC :: c_rhg = 20.e0 !: second bulk-rhelogy parameter REAL(wp), PUBLIC :: etamn = 0.e+07 !: minimun value for viscosity REAL(wp), PUBLIC :: creepl = 2.e-08 !: creep limit REAL(wp), PUBLIC :: ecc = 2.e0 !: eccentricity of the elliptical yield curve REAL(wp), PUBLIC :: ahi0 = 350.e0 !: sea-ice hor. eddy diffusivity coeff. (m2/s) REAL(wp), PUBLIC :: alphaevp = 1.e0 !: coefficient for the solution of EVP int. stresses REAL(wp), PUBLIC :: usecc2 !: = 1.0 / ( ecc * ecc ) REAL(wp), PUBLIC :: rhoco !: = rau0 * cw REAL(wp), PUBLIC :: sangvg, cangvg !: sin and cos of the turning angle for ocean stress REAL(wp), PUBLIC :: pstarh !: pstar / 2.0 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: ahiu , ahiv !: hor. diffusivity coeff. at ocean U- and V-points (m2/s) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: pahu , pahv !: ice hor. eddy diffusivity coef. at ocean U- and V-points REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: ust2s !: friction velocity !!* diagnostic quantities # if defined key_lim2_vp ! !!* VP rheology * REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hsnm , hicm !: mean snow and ice thicknesses CHARACTER(len=1), PUBLIC :: cl_grid = 'B' !: type of grid used in ice dynamics, 'C' or 'B' ! # else ! !!* EVP rheology * CHARACTER(len=1), PUBLIC :: cl_grid = 'C' !: type of grid used in ice dynamics, 'C' or 'B' REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: stress1_i !: first stress tensor element REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: stress2_i !: second stress tensor element REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: stress12_i !: diagonal stress tensor element REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: delta_i !: rheology delta factor (see Flato and Hibler 95) [s-1] REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: divu_i !: Divergence of the velocity field [s-1] -> limrhg.F90 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: shear_i !: Shear of the velocity field [s-1] -> limrhg.F90 ! REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: at_i !: REAL(wp), PUBLIC, DIMENSION(:,:) , POINTER :: vt_s ,vt_i !: mean snow and ice thicknesses REAL(wp), PUBLIC, DIMENSION(jpi,jpj), TARGET :: hsnm , hicm !: target vt_s,vt_i pointers ! #endif REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: rdvosif !: ice volume change at ice surface (only used for outputs) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: rdvobif !: ice volume change at ice bottom (only used for outputs) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: fdvolif !: Total ice volume change (only used for outputs) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: rdvonif !: Lateral ice volume change (only used for outputs) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sist !: Sea-Ice Surface Temperature [Kelvin] REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: tfu !: Freezing/Melting point temperature of sea water at SSS REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hicif !: Ice thickness REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hsnif !: Snow thickness REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hicifp !: Ice production/melting REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: frld !: Leads fraction = 1-a/totalarea REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: phicif !: ice thickness at previous time REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: pfrld !: Leads fraction at previous time REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: qstoif !: Energy stored in the brine pockets REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: fbif !: Heat flux at the ice base REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: rdmsnif !: Variation of snow mass REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: rdmicif !: Variation of ice mass REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: qldif !: heat balance of the lead (or of the open ocean) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: qcmif !: Energy needed to bring the ocean surface layer until its freezing REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: fdtcn !: net downward heat flux from the ice to the ocean REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: qdtcn !: energy from the ice to the ocean point (at a factor 2) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: thcm !: part of the solar energy used in the lead heat budget REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: fstric !: Solar flux transmitted trough the ice REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: ffltbif !: Array linked with the max heat contained in brine pockets (?) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: fscmbq !: Linked with the solar flux below the ice (?) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: fsbbq !: Also linked with the solar flux below the ice (?) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: qfvbq !: Array used to store energy in case of toral lateral ablation (?) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: dmgwi !: Variation of the mass of snow ice REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: u_ice, v_ice !: two components of the ice velocity at I-point (m/s) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: u_oce, v_oce !: two components of the ocean velocity at I-point (m/s) REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jplayersp1) :: tbif !: Temperature inside the ice/snow layer !!* moment used in the advection scheme REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sxice, syice, sxxice, syyice, sxyice !: for ice volume REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sxsn, sysn, sxxsn, syysn, sxysn !: for snow volume REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sxa, sya, sxxa, syya, sxya !: for ice cover area REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sxc0, syc0, sxxc0, syyc0, sxyc0 !: for heat content of snow REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sxc1, syc1, sxxc1, syyc1, sxyc1 !: for heat content of 1st ice layer REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sxc2, syc2, sxxc2, syyc2, sxyc2 !: for heat content of 2nd ice layer REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sxst, syst, sxxst, syyst, sxyst !: for heat content of brine pockets #else !!---------------------------------------------------------------------- !! Default option Empty module NO LIM 2.0 sea-ice model !!---------------------------------------------------------------------- #endif !!====================================================================== END MODULE ice_2