Changeset 8848
- Timestamp:
- 2017-11-29T17:01:42+01:00 (7 years ago)
- Location:
- branches/UKMO/dev_r5518_GO6_package_r8356_plus_form_drag/NEMOGCM/NEMO/OPA_SRC/SBC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package_r8356_plus_form_drag/NEMOGCM/NEMO/OPA_SRC/SBC/cpl_oasis3.F90
r8458 r8848 216 216 ! 217 217 DO ji = 1, ksnd 218 WRITE(numout,*) '=========================================================='219 WRITE(numout,*) 'In cpl_define'220 WRITE(numout,*) 'ji: ', ji221 WRITE(numout,*) 'ssnd(ji)%laction: ', ssnd(ji)%laction222 WRITE(numout,*) 'ssnd(ji)%nct: ', ssnd(ji)%nct223 WRITE(numout,*) 'ssnd(ji)%clname: ', ssnd(ji)%clname224 WRITE(numout,*) '=========================================================='225 218 IF ( ssnd(ji)%laction ) THEN 226 219 -
branches/UKMO/dev_r5518_GO6_package_r8356_plus_form_drag/NEMOGCM/NEMO/OPA_SRC/SBC/sbc_ice.F90
r8819 r8848 116 116 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: a_i 117 117 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: ht_i, ht_s 118 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: fmdice, rough_ice_skin118 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: rough_ice_fmd, rough_ice_skin 119 119 #endif 120 120 … … 176 176 #if defined key_cice || defined key_lim2 177 177 IF( ln_cpl ) ALLOCATE( ht_i(jpi,jpj,jpl) , ht_s(jpi,jpj,jpl) , STAT=ierr(5) ) 178 IF( ln_cpl ) ALLOCATE( fmdice(jpi,jpj) , rough_ice_skin(jpi,jpj) , STAT=ierr(5) )178 IF( ln_cpl ) ALLOCATE( rough_ice_fmd(jpi,jpj) , rough_ice_skin(jpi,jpj) , STAT=ierr(5) ) 179 179 #endif 180 180 -
branches/UKMO/dev_r5518_GO6_package_r8356_plus_form_drag/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r8819 r8848 149 149 INTEGER, PARAMETER :: jps_bio_dms = 35 ! MEDUSA DMS surface concentration 150 150 INTEGER, PARAMETER :: jps_bio_chloro = 36 ! MEDUSA chlorophyll surface concentration 151 INTEGER, PARAMETER :: jps_ fmdice = 37 ! ice form drag151 INTEGER, PARAMETER :: jps_rough_ice_fmd = 37 ! ice form drag roughness length 152 152 INTEGER, PARAMETER :: jps_rough_ice_skin = 38 ! ice skin roughness length 153 153 INTEGER, PARAMETER :: jpsnd = 38 ! total number of fields sent … … 875 875 ! ! Sea ice form drag ! 876 876 ! ! ------------------------- ! 877 ssnd(jps_ fmdice)%clname = 'OIceFmd'877 ssnd(jps_rough_ice_fmd )%clname = 'OIceFmd' 878 878 ssnd(jps_rough_ice_skin )%clname = 'ORghIcSk' 879 879 SELECT CASE ( TRIM( sn_snd_icerough%cldes ) ) 880 880 CASE ( 'none' ) 881 ssnd(jps_ fmdice)%laction = .FALSE.881 ssnd(jps_rough_ice_fmd)%laction = .FALSE. 882 882 ssnd(jps_rough_ice_skin)%laction = .FALSE. 883 883 CASE ( 'ice', 'weighted ice' ) 884 ssnd(jps_ fmdice)%laction = .TRUE.884 ssnd(jps_rough_ice_fmd)%laction = .TRUE. 885 885 ssnd(jps_rough_ice_skin)%laction = .TRUE. 886 886 CASE default ; CALL ctl_stop( 'sbc_cpl_init: wrong definition of sn_snd_icerough%cldes' ) … … 2643 2643 ! ! ------------------------- ! 2644 2644 #if defined key_cice 2645 IF( ssnd(jps_ fmdice)%laction ) THEN2645 IF( ssnd(jps_rough_ice_fmd)%laction ) THEN 2646 2646 SELECT CASE( sn_snd_icerough%cldes ) 2647 2647 CASE( 'ice' ) 2648 ztmp1(:,:) = fmdice(:,:)2648 ztmp1(:,:) = rough_ice_fmd(:,:) 2649 2649 CASE( 'weighted ice' ) 2650 ztmp1(:,:) = fmdice(:,:) * fr_i(:,:)2650 ztmp1(:,:) = rough_ice_fmd(:,:) * fr_i(:,:) 2651 2651 CASE default ; CALL ctl_stop( 'sbc_cpl_snd: wrong definition of sn_snd_icerough%cldes' ) 2652 2652 END SELECT 2653 2653 ENDIF 2654 IF( ssnd(jps_ fmdice)%laction ) CALL cpl_snd( jps_fmdice, isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info )2654 IF( ssnd(jps_rough_ice_fmd)%laction ) CALL cpl_snd( jps_rough_ice_fmd, isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info ) 2655 2655 2656 2656 IF( ssnd(jps_rough_ice_skin)%laction ) THEN -
branches/UKMO/dev_r5518_GO6_package_r8356_plus_form_drag/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
r8819 r8848 259 259 ENDIF 260 260 261 CALL cice2nemo(z0atm, fmdice,'T', 1. )261 CALL cice2nemo(z0atm,rough_ice_fmd,'T', 1. ) 262 262 CALL cice2nemo(z0atmskin,rough_ice_skin,'T', 1. ) 263 263 … … 312 312 IF( nn_timing == 1 ) CALL timing_stop('cice_sbc_init') 313 313 ! 314 315 316 IF(lwp) THEN ! control print317 WRITE(numout,*)318 WRITE(numout,*)'============================================================='319 WRITE(numout,*)'At end of subroutine cice_sbc_init'320 WRITE(numout,*)'MAXVAL(z0atm): ', MAXVAL(z0atm)321 WRITE(numout,*)'MAXLOC(z0atm): ', MAXLOC(z0atm)322 WRITE(numout,*)'MINVAL(z0atm): ', MINVAL(z0atm)323 WRITE(numout,*)'MINLOC(z0atm): ', MINLOC(z0atm)324 WRITE(numout,*)'MAXVAL(z0atmskin): ', MAXVAL(z0atmskin)325 WRITE(numout,*)'MAXLOC(z0atmskin): ', MAXLOC(z0atmskin)326 WRITE(numout,*)'MINVAL(z0atmskin): ', MINVAL(z0atmskin)327 WRITE(numout,*)'MINLOC(z0atmskin): ', MINLOC(z0atmskin)328 WRITE(numout,*)'============================================================='329 WRITE(numout,*)330 ENDIF331 332 333 334 314 END SUBROUTINE cice_sbc_init 335 315 … … 810 790 811 791 ! Surface roughness length for form drag 812 CALL cice2nemo(z0atm, fmdice,'T', 1. )792 CALL cice2nemo(z0atm,rough_ice_fmd,'T', 1. ) 813 793 814 794 ! Surface skin roughness length -
branches/UKMO/dev_r5518_GO6_package_r8356_plus_form_drag/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r8819 r8848 306 306 ! 307 307 IF( nn_ice == 3 ) CALL sbc_lim_init ! LIM3 initialisation 308 308 309 IF( nn_ice == 4 ) CALL cice_sbc_init( nsbc ) ! CICE initialisation 309 310
Note: See TracChangeset
for help on using the changeset viewer.