Changeset 3551 for trunk/NEMOGCM/NEMO/LIM_SRC_2/limdmp_2.F90
- Timestamp:
- 2012-11-14T12:00:10+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/LIM_SRC_2/limdmp_2.F90
r2715 r3551 11 11 !! 'key_lim2' LIM 2.0 sea-ice model 12 12 !!---------------------------------------------------------------------- 13 !! lim_dmp_2 13 !! lim_dmp_2 : ice model damping 14 14 !!---------------------------------------------------------------------- 15 USE ice_2 15 USE ice_2 ! ice variables 16 16 USE sbc_oce, ONLY : nn_fsbc ! for fldread 17 USE dom_oce 18 USE fldread 19 USE in_out_manager 20 USE lib_mpp 17 USE dom_oce ! for mi0; mi1 etc ... 18 USE fldread ! read input fields 19 USE in_out_manager ! I/O manager 20 USE lib_mpp ! MPP library 21 21 22 22 IMPLICIT NONE … … 25 25 PUBLIC lim_dmp_2 ! called by sbc_ice_lim2 26 26 27 REAL(wp), DIMENSION(:,:,:), ALLOCATABLE :: resto_ice ! restoring coeff. on ICE [s-1] 28 29 INTEGER, PARAMETER :: jp_hicif = 1 , jp_frld = 2 30 TYPE(FLD), ALLOCATABLE, DIMENSION(:) :: sf_icedmp ! structure of ice damping input 27 INTEGER , PARAMETER :: jp_hicif = 1 , jp_frld = 2 28 REAL(wp) , ALLOCATABLE, DIMENSION(:,:,:) :: resto_ice ! restoring coeff. on ICE [s-1] 29 TYPE(FLD), ALLOCATABLE, DIMENSION(:) :: sf_icedmp ! structure of ice damping input 31 30 32 31 !! * Substitution … … 43 42 !! *** ROUTINE lim_dmp_2 *** 44 43 !! 45 !! ** purpose : ice model damping : restoring ice thickness and fraction leads44 !! ** purpose : restore ice thickness and lead fraction 46 45 !! 47 !! ** method : the key_tradmp must be used to compute resto(:,:,1) coef. 46 !! ** method : restore ice thickness and lead fraction using a restoring 47 !! coefficient defined by the user in lim_dmp_init 48 !! 49 !! ** Action : - update hicif and frld 50 !! 48 51 !!--------------------------------------------------------------------- 49 52 INTEGER, INTENT(in) :: kt ! ocean time-step … … 53 56 !!--------------------------------------------------------------------- 54 57 ! 55 IF (kt == nit000)THEN58 IF( kt == nit000 ) THEN 56 59 IF(lwp) WRITE(numout,*) 57 60 IF(lwp) WRITE(numout,*) 'lim_dmp_2 : Ice thickness and ice concentration restoring' … … 71 74 & hicif(:,:) - rdt_ice * resto_ice(:,:,1) * ( hicif(:,:) - sf_icedmp(jp_hicif)%fnow(:,:,1) ) ) 72 75 !CDIR COLLAPSE 73 hicif(:,:) = MAX( 0._wp, MIN( 1._wp, & ! 0<= frld<=1 values which blow the run up76 frld (:,:) = MAX( 0._wp, MIN( 1._wp, & ! 0<= frld<=1 values which blow the run up 74 77 & frld (:,:) - rdt_ice * resto_ice(:,:,1) * ( frld (:,:) - sf_icedmp(jp_frld )%fnow(:,:,1) ) ) ) 75 78 ! … … 83 86 !! *** ROUTINE lim_dmp_init *** 84 87 !! 85 !! ** Purpose : Initialization for the ice thickness and concentration 86 !! restoring 87 !! restoring will be used. It is used to mimic ice open 88 !! boundaries. 88 !! ** Purpose : set the coefficient for the ice thickness and lead fraction restoring 89 89 !! 90 !! ** Method : ????? 90 !! ** Method : restoring is used to mimic ice open boundaries. 91 !! the restoring coef. (a 2D array) has to be defined by the user. 92 !! here is given as an example a restoring along north and south boundaries 91 93 !! 92 94 !! ** Action : define resto_ice(:,:,1)
Note: See TracChangeset
for help on using the changeset viewer.