Changeset 5537 for LMDZ6/branches
- Timestamp:
- Feb 12, 2025, 10:18:07 AM (3 days ago)
- Location:
- LMDZ6/branches/contrails/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/contrails/libf/phylmd/lmdz_cloud_optics_prop.f90
r5488 r5537 27 27 USE lmdz_cloud_optics_prop_ini , ONLY : rad_chau1, rad_chau2, rad_froid, iflag_rei 28 28 USE lmdz_cloud_optics_prop_ini , ONLY : ok_icefra_lscp, rei_max, rei_min 29 USE lmdz_cloud_optics_prop_ini , ONLY : rei_coef, rei_min_temp 29 30 USE lmdz_cloud_optics_prop_ini , ONLY : zepsec, novlp, iflag_ice_thermo, ok_new_lscp 30 31 USE lmdz_cloud_optics_prop_ini , ONLY : ok_plane_contrail, re_ice_crystals_contrails … … 303 304 zfiwp_var = 1000.*icefrac_optics(i, k)*radocond(i, k)/pclc(i, k)*rhodz(i, k) 304 305 ! Calculation of ice cloud effective radius in micron 305 IF (iflag_rei .EQ. 1) THEN 306 IF (iflag_rei .EQ. 2) THEN 307 ! in-cloud ice water content in g/m3 308 iwc = icefrac_optics(i,k) * radocond(i,k) / pclc(i,k) * zrho(i,k) * 1000. 309 ! this formula is a simplified version of the Sun 2001 one (as in the IFS model, 310 ! and which is activated for iflag_rei = 1). 311 ! In particular, the term in temperature**2 has been simplified. 312 ! The new coefs are tunable, and are by default set so that the results fit well 313 ! to the Sun 2001 formula 314 ! By default, rei_coef = 2.4 and rei_min_temp = 175. 315 ! The ranges of these parameters are determined so that the RMSE between this 316 ! formula and the one from Sun 2001 is less than 4 times the minimum RMSE 317 ! The ranges are [1.9, 2.9] for rei_coef and [160., 185.] for rei_min_temp 318 dei = rei_coef * (iwc**0.2445) * ( temp(i,k) - rei_min_temp ) 319 ! we clip the results 320 !deimin = 20. 321 deimax = 155. 322 !dei = MIN(MAX(dei, deimin), deimax) 323 dei = MIN(dei, deimax) 324 ! formula to convert effective diameter in effective radius 325 rei = 3. * SQRT(3.) / 8. * dei 326 rei = MAX(rei, rei_min) 327 ELSEIF (iflag_rei .EQ. 1) THEN 306 328 ! when we account for precipitation in the radiation scheme, 307 329 ! It is recommended to use the rei formula from Sun and Rikkus 1999 with a revision … … 415 437 ! Calculation of ice cloud effective radius in micron 416 438 417 418 IF (iflag_rei .GT. 0) THEN 419 439 IF (iflag_rei .EQ. 2) THEN 440 ! in-cloud ice water content in g/m3 441 iwc = icefrac_optics(i,k) * radocond(i,k) / pclc(i,k) * zrho(i,k) * 1000. 442 ! this formula is a simplified version of the Sun 2001 one (as in the IFS model, 443 ! and which is activated for iflag_rei = 1). 444 ! In particular, the term in temperature**2 has been simplified. 445 ! The new coefs are tunable, and are by default set so that the results fit well 446 ! to the Sun 2001 formula 447 ! By default, rei_coef = 2.4 and rei_min_temp = 175. 448 ! The ranges of these parameters are determined so that the RMSE between this 449 ! formula and the one from Sun 2001 is less than 4 times the minimum RMSE 450 ! The ranges are [1.9, 2.9] for rei_coef and [160., 185.] for rei_min_temp 451 dei = rei_coef * (iwc**0.2445) * ( temp(i,k) - rei_min_temp ) 452 ! we clip the results 453 !deimin = 20. 454 deimax = 155. 455 !dei = MIN(MAX(dei, deimin), deimax) 456 dei = MIN(dei, deimax) 457 ! formula to convert effective diameter to effective radius 458 rei = 3. * SQRT(3.) / 8. * dei 459 rei = MAX(rei, rei_min) 460 461 ELSEIF (iflag_rei .EQ. 1) THEN 420 462 ! when we account for precipitation in the radiation scheme, 421 463 ! we use the rei formula from Sun and Rikkus 1999 with a revision -
LMDZ6/branches/contrails/libf/phylmd/lmdz_cloud_optics_prop_ini.f90
r5488 r5537 22 22 REAL, PROTECTED :: rad_chau1, rad_chau2, rad_froid 23 23 REAL, PROTECTED :: rei_max, rei_min 24 REAL, PROTECTED :: rei_coef, rei_min_temp 24 25 REAL, PROTECTED :: zepsec 25 26 REAL, PROTECTED :: re_ice_crystals_contrails=7.5E-6 ! [m] effective radius of ice crystals in contrails … … 40 41 !$OMP THREADPRIVATE(cdnc_min, cdnc_min_m3, rpi, rg, rd) 41 42 !$OMP THREADPRIVATE(rad_chau1, rad_chau2, rad_froid, rei_max, rei_min) 43 !$OMP THREADPRIVATE(rei_coef, rei_min_temp) 42 44 !$OMP THREADPRIVATE(zepsec) 43 45 !$OMP THREADPRIVATE(re_ice_crystals_contrails) … … 104 106 rei_max = 61.29 105 107 CALL getin_p('rei_max',rei_max) 108 rei_coef = 2.4 109 CALL getin_p('rei_coef',rei_coef) 110 rei_min_temp = 175. 111 CALL getin_p('rei_min_temp',rei_min_temp) 106 112 CALL getin_p('re_ice_crystals_contrails', re_ice_crystals_contrails) 107 113 -
LMDZ6/branches/contrails/libf/phylmd/lmdz_surf_wind.f90
r5536 r5537 30 30 REAL :: ktwk, ktth, kzth 31 31 32 print*,'LLLLLLLLLLLLLLLLLLLLL nsrfwnd=',nsrfwnd32 !print*,'LLLLLLLLLLLLLLLLLLLLL nsrfwnd=',nsrfwnd 33 33 pi=2.*acos(0.) 34 34 ray=7000.
Note: See TracChangeset
for help on using the changeset viewer.