- Timestamp:
- 2016-05-20T11:54:18+02:00 (8 years ago)
- Location:
- branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r6399 r6584 1567 1567 1568 1568 ! --- heat flux associated with emp (W/m2) --- ! 1569 zqemp_oce(:,:) = - zevap(:,:) * p_frld(:,:) * zcptn(:,:) & ! evap1570 & + ( ztprecip(:,:) - zsprecip(:,:) ) * zcptn(:,:) & ! liquid precip1571 & + zsprecip(:,:) * ( 1._wp - zsnw ) * ( zcptn(:,:) - lfus ) ! solid precip over ocean1569 zqemp_oce(:,:) = - zevap(:,:) * p_frld(:,:) * zcptn(:,:) & ! evap 1570 & + ( ztprecip(:,:) - zsprecip(:,:) ) * zcptn(:,:) & ! liquid precip 1571 & + zsprecip(:,:) * ( 1._wp - zsnw ) * ( zcptn(:,:) - lfus ) ! solid precip over ocean + snow melting 1572 1572 ! zqemp_ice(:,:) = - frcv(jpr_ievp)%z3(:,:,1) * zicefr(:,:) * zcptn(:,:) & ! ice evap 1573 1573 ! & + zsprecip(:,:) * zsnw * ( zcptn(:,:) - lfus ) ! solid precip over ice 1574 1574 zqemp_ice(:,:) = zsprecip(:,:) * zsnw * ( zcptn(:,:) - lfus ) ! solid precip over ice (only) 1575 ! qevap_ice=0 since we consider Tice=0 °C1575 ! qevap_ice=0 since we consider Tice=0degC 1576 1576 1577 ! --- heat content ofprecip over ice in J/m3 (to be used in 1D-thermo) --- !1577 ! --- enthalpy of snow precip over ice in J/m3 (to be used in 1D-thermo) --- ! 1578 1578 zqprec_ice(:,:) = rhosn * ( zcptn(:,:) - lfus ) 1579 1579 1580 1580 ! --- heat content of evap over ice in W/m2 (to be used in 1D-thermo) --- ! 1581 1581 DO jl = 1, jpl 1582 zqevap_ice(:,:,jl) = 0._wp ! should be -evap * ( ( Tice - rt0 ) * cpic ) but we do not have Tice, so we consider Tice=0 °C1582 zqevap_ice(:,:,jl) = 0._wp ! should be -evap * ( ( Tice - rt0 ) * cpic ) but we do not have Tice, so we consider Tice=0degC 1583 1583 END DO 1584 1584 -
branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90
r6515 r6584 66 66 USE bdyice_lim ! unstructured open boundary data (bdy_ice_lim routine) 67 67 #endif 68 # if defined key_agrif 69 USE agrif_ice 70 USE agrif_lim3_update 71 USE agrif_lim3_interp 72 # endif 68 73 69 74 IMPLICIT NONE … … 119 124 !-----------------------! 120 125 IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN 126 127 # if defined key_agrif 128 IF( .NOT. Agrif_Root() ) THEN 129 lim_nbstep = MOD( lim_nbstep, Agrif_irhot() * Agrif_Parent(nn_fsbc) / nn_fsbc ) + 1 130 ENDIF 131 # endif 121 132 122 133 ! mean surface ocean current at ice velocity point (C-grid dynamics : U- & V-points as the ocean) … … 162 173 CALL lim_rst_opn( kt ) ! Open Ice restart file 163 174 ! 175 #if defined key_agrif 176 IF( .NOT. Agrif_Root() ) CALL agrif_interp_lim3('T') 177 #endif 164 178 ! --- zap this if no ice dynamics --- ! 165 179 IF( .NOT. lk_c1d .AND. ln_limdyn ) THEN … … 178 192 ENDIF 179 193 ! --- 194 #if defined key_agrif 195 IF( .NOT. Agrif_Root() ) CALL agrif_interp_lim3('T') 196 #endif 180 197 #if defined key_bdy 181 IF( ln_limthd ) CALL bdy_ice_lim( kt ) ! bdy ice thermo198 IF( ln_limthd ) CALL bdy_ice_lim( kt ) ! -- bdy ice thermo 182 199 IF( ln_icectl ) CALL lim_prt( kt, iiceprt, jiceprt, 1, ' - ice thermo bdy - ' ) 183 200 #endif … … 237 254 IF( ln_limthd ) CALL lim_update2( kt ) ! -- Corrections 238 255 ! --- 256 # if defined key_agrif 257 IF( .NOT. Agrif_Root() ) CALL agrif_update_lim3( kt ) 258 # endif 239 259 CALL lim_var_glo2eqv ! necessary calls (at least for coupling) 240 260 CALL lim_var_agg( 2 ) ! necessary calls (at least for coupling) … … 345 365 ! 346 366 IF( nstock == 0 ) nstock = nlast + 1 367 ! 368 # if defined key_agrif 369 IF( .NOT. Agrif_Root() ) CALL Agrif_InitValues_cont_lim3 370 # endif 347 371 ! 348 372 END SUBROUTINE sbc_lim_init -
branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r6204 r6584 133 133 # endif 134 134 # if defined key_lim2 135 CALL Agrif_Declare_Var_lim2 ! " " " " " LIM 135 CALL Agrif_Declare_Var_lim2 ! " " " " " LIM2 136 # endif 137 # if defined key_lim3 138 CALL Agrif_Declare_Var_lim3 ! " " " " " LIM3 136 139 # endif 137 140 #endif
Note: See TracChangeset
for help on using the changeset viewer.