- Timestamp:
- 2016-07-29T09:44:31+02:00 (8 years ago)
- Location:
- branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/SBC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/SBC/sbc_ice.F90
r6507 r6825 108 108 ! variables used in the coupled interface 109 109 INTEGER , PUBLIC, PARAMETER :: jpl = ncat 110 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: u_ice, v_ice ! jpi, jpj 110 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: u_ice, v_ice ! jpi, jpj 111 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: a_p, ht_p ! Meltpond fraction and depth 111 112 #endif 112 113 -
branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
r6507 r6825 208 208 CALL wrk_alloc( jpi,jpj,jpk, ztfrz3d ) 209 209 DO jk=1,jpk 210 CALL eos_fzp( tsn(:,:,jk,jp_sal), ztfrz3d(:,:,jk), fsdept_n(:,:,jk) )210 CALL eos_fzp( tsn(:,:,jk,jp_sal), ztfrz3d(:,:,jk), gdept_n(:,:,jk) ) 211 211 ENDDO 212 212 tsn(:,:,:,jp_tem) = MAX( tsn(:,:,:,jp_tem), ztfrz3d ) … … 224 224 225 225 ! calculate surface freezing temperature and send to CICE 226 CALL eos_fzp(sss_m(:,:), sstfrz(:,:), fsdept_n(:,:,1))226 CALL eos_fzp(sss_m(:,:), sstfrz(:,:), gdept_n(:,:,1)) 227 227 CALL nemo2cice(sstfrz,Tf, 'T', 1. ) 228 228 -
branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90
r6507 r6825 38 38 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: qisf !: net heat flux from ice shelf [W/m2] 39 39 REAL(wp), PUBLIC :: rn_hisf_tbl !: thickness of top boundary layer [m] 40 LOGICAL , PUBLIC :: ln_divisf !: flag to correct divergence 40 41 INTEGER , PUBLIC :: nn_isf !: flag to choose between explicit/param/specified 41 42 INTEGER , PUBLIC :: nn_isfblk !: flag to choose the bulk formulation to compute the ice shelf melting … … 92 93 INTEGER :: ji, jj ! loop index 93 94 REAL(wp), DIMENSION (:,:), POINTER :: zt_frz, zdep ! freezing temperature (zt_frz) at depth (zdep) 95 REAL(wp) :: zgreenland_fwfisf_sum, zantarctica_fwfisf_sum 96 INTEGER :: ji, jj, jk, ijkmin, inum, ierror 97 REAL(wp) :: zt_frz, zpress 94 98 !!--------------------------------------------------------------------- 95 99 ! … … 231 235 CALL eos_fzp( stbl(:,:), zt_frz(:,:), zdep(:,:) ) 232 236 233 ! if apply only on the trend and not as a volume flux (rdivisf = 0), fwfisf have to be set to 0 now234 fwfisf(:,:) = rdivisf * fwfisf(:,:)235 236 237 risf_tsc(:,:,jp_tem) = qisf(:,:) * r1_rau0_rcp - fwfisf(:,:) * zt_frz(:,:) * r1_rau0 ! 237 238 risf_tsc(:,:,jp_sal) = 0.0_wp -
branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r6507 r6825 189 189 fwfisf (:,:) = 0.0_wp ; fwfisf_b (:,:) = 0.0_wp 190 190 risf_tsc(:,:,:) = 0.0_wp ; risf_tsc_b(:,:,:) = 0.0_wp 191 rdivisf = 0.0_wp192 191 END IF 193 192 IF( nn_ice == 0 .AND. nn_components /= jp_iam_opa ) fr_i(:,:) = 0._wp ! no ice in the domain, ice fraction is always zero
Note: See TracChangeset
for help on using the changeset viewer.