- Timestamp:
- 2015-02-04T17:22:15+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/limdyn.F90
r5055 r5059 6 6 !! history : 1.0 ! 2002-08 (C. Ethe, G. Madec) original VP code 7 7 !! 3.0 ! 2007-03 (MA Morales Maqueda, S. Bouillon, M. Vancoppenolle) LIM3: EVP-Cgrid 8 !! 4.0! 2011-02 (G. Madec) dynamical allocation8 !! 3.5 ! 2011-02 (G. Madec) dynamical allocation 9 9 !!---------------------------------------------------------------------- 10 10 #if defined key_lim3 … … 244 244 INTEGER :: ios ! Local integer output status for namelist read 245 245 NAMELIST/namicedyn/ cw, pstar, c_rhg, creepl, ecc, ahi0, nevp, relast 246 INTEGER :: ji, jj 247 REAL(wp) :: za00, zd_max 246 248 !!------------------------------------------------------------------- 247 249 … … 264 266 WRITE(numout,*) ' creep limit creepl = ', creepl 265 267 WRITE(numout,*) ' eccentricity of the elliptical yield curve ecc = ', ecc 266 WRITE(numout,*) ' horizontal diffusivity coeff. for sea-iceahi0 = ', ahi0268 WRITE(numout,*) ' horizontal diffusivity coeff. (orca2 grid) ahi0 = ', ahi0 267 269 WRITE(numout,*) ' number of iterations for subcycling nevp = ', nevp 268 270 WRITE(numout,*) ' ratio of elastic timescale over ice time step relast = ', relast … … 271 273 usecc2 = 1._wp / ( ecc * ecc ) 272 274 rhoco = rau0 * cw 273 275 ! 274 276 ! Diffusion coefficients. 275 ahiu(:,:) = ahi0 * umask(:,:,1) 276 ahiv(:,:) = ahi0 * vmask(:,:,1) 277 ! 277 zd_max = MAX( MAXVAL( e1t(:,:) ), MAXVAL( e2t(:,:) ) ) 278 IF( lk_mpp ) CALL mpp_max( zd_max ) ! max over the global domain 279 280 za00 = ahi0 / ( 1.e05_wp ) ! 1.e05 = 100km = max grid space at 60° latitude in orca2 281 ! (i.e. 60° = min latitude for ice cover) 282 DO jj = 1, jpj 283 DO ji = 1, jpi 284 ahiu(ji,jj) = za00 * MAX( e1t(ji,jj), e2t(ji,jj) ) * umask(ji,jj,1) 285 ahiv(ji,jj) = za00 * MAX( e1f(ji,jj), e2f(ji,jj) ) * vmask(ji,jj,1) 286 END DO 287 END DO 288 ! 289 IF(lwp) WRITE(numout,*) '' 290 IF(lwp) WRITE(numout,*) ' laplacian operator: ahim proportional to e1' 291 IF(lwp) WRITE(numout,*) ' maximum grid-spacing = ', zd_max, ' maximum value for ahim = ', za00*zd_max 292 278 293 END SUBROUTINE lim_dyn_init 279 294
Note: See TracChangeset
for help on using the changeset viewer.