Changeset 2538 for LMDZ5/trunk/libf/phylmd/calcul_fluxs_mod.F90
- Timestamp:
- Jun 3, 2016, 4:12:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/calcul_fluxs_mod.F90
-
Property
svn:keywords
changed from
Author Date Id Revision
toId
r2254 r2538 1 ! 2 ! $Id$ 1 3 ! 2 4 MODULE calcul_fluxs_mod … … 9 11 radsol, dif_grnd, t1lay, q1lay, u1lay, v1lay, gustiness, & 10 12 fqsat, petAcoef, peqAcoef, petBcoef, peqBcoef, & 11 tsurf_new, evap, fluxlat, fluxsens, dflux_s, dflux_l) 13 tsurf_new, evap, fluxlat, fluxsens, dflux_s, dflux_l, & 14 sens_prec_liq, sens_prec_sol, lat_prec_liq, lat_prec_sol) 15 12 16 13 17 USE dimphy, ONLY : klon … … 49 53 ! dflux_s derivee du flux de chaleur sensible / Ts 50 54 ! dflux_l derivee du flux de chaleur latente / Ts 51 ! 55 ! sens_prec_liq flux sensible lié aux echanges de precipitations liquides 56 ! sens_prec_sol precipitations solides 57 ! lat_prec_liq flux latent lié aux echanges de precipitations liquides 58 ! lat_prec_sol precipitations solides 52 59 53 60 INCLUDE "YOETHF.h" … … 77 84 REAL, DIMENSION(klon), INTENT(OUT) :: tsurf_new, evap, fluxsens, fluxlat 78 85 REAL, DIMENSION(klon), INTENT(OUT) :: dflux_s, dflux_l 86 REAL, DIMENSION(klon), OPTIONAL :: sens_prec_liq, sens_prec_sol 87 REAL, DIMENSION(klon), OPTIONAL :: lat_prec_liq, lat_prec_sol 79 88 80 89 ! Variables locales … … 130 139 dflux_s = 0. 131 140 dflux_l = 0. 141 if (PRESENT(sens_prec_liq)) sens_prec_liq = 0. 142 if (PRESENT(sens_prec_sol)) sens_prec_sol = 0. 143 if (PRESENT(lat_prec_liq)) lat_prec_liq = 0. 144 if (PRESENT(lat_prec_sol)) lat_prec_sol = 0. 132 145 ! 133 146 ! zx_qs = qsat en kg/kg … … 243 256 !!$ & run_off(i) = run_off(i) + max(qsol(i) - max_eau_sol, 0.0) 244 257 !!$ qsol(i) = min(qsol(i), max_eau_sol) 258 ! 259 ! calcul de l'enthalpie des precipitations liquides et solides 260 ! 261 ! if (PRESENT(enth_prec_liq)) & 262 ! enth_prec_liq(i) = rcw * (t1lay(i) - tsurf(i)) * & 263 ! precip_rain(i) 264 ! if (PRESENT(enth_prec_sol)) & 265 ! enth_prec_sol(i) = rcs * (t1lay(i) - tsurf(i)) * & 266 ! precip_snow(i) 267 ! On calcule par rapport a T=0 268 if (PRESENT(sens_prec_liq)) & 269 sens_prec_liq(i) = rcw * (t1lay(i) - RTT) * & 270 precip_rain(i) 271 if (PRESENT(sens_prec_sol)) & 272 sens_prec_sol(i) = rcs * (t1lay(i) - RTT) * & 273 precip_snow(i) 274 if (PRESENT(lat_prec_liq)) & 275 lat_prec_liq(i) = precip_rain(i) * (RLVTT - RLVTT) 276 if (PRESENT(lat_prec_sol)) & 277 lat_prec_sol(i) = precip_snow(i) * (RLSTT - RLVTT) 245 278 ENDDO 279 280 281 ! if (PRESENT(sens_prec_liq)) & 282 ! WRITE(*,*)' calculs_fluxs sens_prec_liq (min, max)', & 283 ! MINVAL(sens_prec_liq(1:knon)), MAXVAL(sens_prec_liq(1:knon)) 284 ! if (PRESENT(sens_prec_sol)) & 285 ! WRITE(*,*)' calculs_fluxs sens_prec_sol (min, max)', & 286 ! MINVAL(sens_prec_sol(1:knon)), MAXVAL(sens_prec_sol(1:knon)) 287 246 288 ! 247 289 !**************************************************************************************** -
Property
svn:keywords
changed from
Note: See TracChangeset
for help on using the changeset viewer.