Changeset 3780 for LMDZ6/trunk/libf/phylmd/ocean_forced_mod.F90
- Timestamp:
- Oct 22, 2020, 2:50:18 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/ocean_forced_mod.F90
r3327 r3780 38 38 INCLUDE "YOMCST.h" 39 39 INCLUDE "clesphys.h" 40 40 INCLUDE "flux_arp.h" 41 41 42 42 ! Input arguments … … 76 76 REAL, DIMENSION(klon) :: u1_lay, v1_lay 77 77 LOGICAL :: check=.FALSE. 78 REAL, DIMENSION(klon) :: sens_prec_liq, sens_prec_sol79 REAL, DIMENSION(klon) :: lat_prec_liq, lat_prec_sol78 REAL, DIMENSION(klon) :: sens_prec_liq, sens_prec_sol 79 REAL, DIMENSION(klon) :: lat_prec_liq, lat_prec_sol 80 80 81 81 !**************************************************************************************** … … 92 92 !!jyg if (knon.eq.1) then ! single-column model 93 93 if (klon_glo.eq.1) then ! single-column model 94 CALL read_tsurf1d(knon,tsurf_lim) ! new 94 ! EV: now surface Tin flux_arp.h 95 !CALL read_tsurf1d(knon,tsurf_lim) ! new 96 DO i = 1, knon 97 tsurf_lim(i) = tg 98 ENDDO 99 95 100 else ! GCM 96 101 CALL limit_read_sst(knon,knindex,tsurf_lim) … … 104 109 !**************************************************************************************** 105 110 ! Set some variables for calcul_fluxs 106 cal = 0. 107 beta = 1. 108 dif_grnd = 0. 111 !cal = 0. 112 !beta = 1. 113 !dif_grnd = 0. 114 ! EV: use calbeta to calculate beta 115 116 CALL calbeta(dtime, is_oce, knon, snow, beta*0., beta, cal, dif_grnd) 117 118 109 119 alb_neig(:) = 0. 110 120 agesno(:) = 0. … … 172 182 INCLUDE "YOMCST.h" 173 183 INCLUDE "clesphys.h" 184 INCLUDE "flux_arp.h" 174 185 175 186 ! Input arguments … … 233 244 tsurf_tmp(:) = tsurf_in(:) 234 245 235 ! calculate the parameters cal, beta, capsol and dif_grnd 236 CALL calbeta(dtime, is_sic, knon, snow, qsol, beta, ca psol, dif_grnd)246 ! calculate the parameters cal, beta, capsol and dif_grnd and then recalculate cal 247 CALL calbeta(dtime, is_sic, knon, snow, qsol, beta, cal, dif_grnd) 237 248 238 249 … … 249 260 ENDIF 250 261 251 beta = 1.0262 !beta = 1.0 252 263 sens_prec_liq = 0.; sens_prec_sol = 0.; lat_prec_liq = 0.; lat_prec_sol = 0. 253 264 … … 304 315 END SUBROUTINE ocean_forced_ice 305 316 317 ! 306 318 !************************************************************************ 307 ! 1D case308 !************************************************************************309 SUBROUTINE read_tsurf1d(knon,sst_out)310 311 ! This subroutine specifies the surface temperature to be used in 1D simulations312 313 USE dimphy, ONLY : klon314 315 INTEGER, INTENT(IN) :: knon ! nomber of points on compressed grid316 REAL, DIMENSION(klon), INTENT(OUT) :: sst_out ! tsurf used to force the single-column model317 318 INTEGER :: i319 ! COMMON defined in lmdz1d.F:320 real ts_cur321 common /sst_forcing/ts_cur322 323 DO i = 1, knon324 sst_out(i) = ts_cur325 ENDDO326 327 END SUBROUTINE read_tsurf1d328 329 !330 !************************************************************************331 319 ! 332 320 END MODULE ocean_forced_mod
Note: See TracChangeset
for help on using the changeset viewer.