Changeset 2524 for LMDZ5/trunk
- Timestamp:
- May 26, 2016, 7:39:44 AM (9 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/clesphys.h
r2254 r2524 15 15 INTEGER nbapp_rad, iflag_con,iflag_ener_conserv 16 16 REAL co2_ppm, co2_ppm0, solaire 17 LOGICAL ok_suntime_rrtm 17 18 REAL(kind=8) RCO2, RCH4, RN2O, RCFC11, RCFC12 18 19 REAL(kind=8) RCO2_act, RCH4_act, RN2O_act, RCFC11_act, RCFC12_act … … 110 111 & , top_height & 111 112 & , cycle_diurne, soil_model, new_oliq & 112 & , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad, iflag_con&113 & , ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad, iflag_con & 113 114 & , iflag_ener_conserv & 114 115 & , ok_4xCO2atm & 116 & , ok_suntime_rrtm & 115 117 & , overlap & 116 118 & , ok_kzmin & … … 129 131 save /clesphys/ 130 132 !$OMP THREADPRIVATE(/clesphys/) 131 -
LMDZ5/trunk/libf/phylmd/conf_phys_m.F90
r2481 r2524 148 148 149 149 REAL,SAVE :: R_ecc_omp,R_peri_omp,R_incl_omp,solaire_omp 150 LOGICAL,SAVE :: ok_suntime_rrtm_omp 150 151 REAL,SAVE :: co2_ppm_omp, RCO2_omp, co2_ppm_per_omp, RCO2_per_omp 151 152 REAL,SAVE :: CH4_ppb_omp, RCH4_omp, CH4_ppb_per_omp, RCH4_per_omp … … 515 516 call getin('solaire', solaire_omp) 516 517 ! 518 !Config Key = ok_sun_time 519 !Config Desc = oui ou non variabilite solaire 520 !Config Def = .false. 521 !Config Help = 522 ! 523 ! 524 !valeur AMIP II 525 ok_suntime_rrtm_omp = .false. 526 call getin('ok_suntime_rrtm',ok_suntime_rrtm_omp) 527 ! 517 528 !Config Key = co2_ppm 518 529 !Config Desc = concentration du gaz carbonique en ppmv … … 1967 1978 R_incl = R_incl_omp 1968 1979 solaire = solaire_omp 1980 ok_suntime_rrtm = ok_suntime_rrtm_omp 1969 1981 co2_ppm = co2_ppm_omp 1970 1982 RCO2 = RCO2_omp … … 2281 2293 write(lunout,*)' Inclinaison =',R_incl 2282 2294 write(lunout,*)' Constante solaire =',solaire 2295 write(lunout,*)' ok_suntime_rrtm =',ok_suntime_rrtm 2283 2296 write(lunout,*)' co2_ppm =',co2_ppm 2284 2297 write(lunout,*)' RCO2_act = ',RCO2_act -
LMDZ5/trunk/libf/phylmd/physiq_mod.F90
r2517 r2524 69 69 #ifdef CPP_RRTM 70 70 USE YOERAD, ONLY : NRADLP 71 USE YOESW, ONLY : RSUN 71 72 #endif 72 73 USE ioipsl_getin_p_mod, ONLY : getin_p … … 432 433 REAL d_t_adjwk(klon,klev) !jyg 433 434 REAL d_q_adjwk(klon,klev) !jyg 434 435 REAL,SAVE :: oliqmax=999. ! Seuil en kg/kg pour le contenu max436 !$OMP THREADPRIVATE(oliqmax) ! en eau liquide dans l'atmosphère.437 438 435 LOGICAL,SAVE :: ok_adjwk=.FALSE. 439 436 !$OMP THREADPRIVATE(ok_adjwk) … … 1054 1051 CALL getin_p('random_notrig_max',random_notrig_max) 1055 1052 CALL getin_p('ok_adjwk',ok_adjwk) 1056 CALL getin_p('oliqmax',oliqmax)1057 1053 ENDIF 1058 1054 … … 2884 2880 CALL add_phys_tend(du0,dv0,d_t_lsc,d_q_lsc,d_ql_lsc,d_qi_lsc,paprs, & 2885 2881 'lsc',abortphy) 2886 2887 !--------------------------------------------------------------------------- 2888 ! Elimination d'eau liquide > oliqmax 2889 !--------------------------------------------------------------------------- 2890 rain_num(:)=0. 2891 DO k = 1, klev 2892 DO i = 1, klon 2893 IF (ql_seri(i,k)>oliqmax) THEN 2894 rain_num(i)=rain_num(i)+(ql_seri(i,k)-oliqmax)*zmasse(i,k)/pdtphys 2895 ql_seri(i,k)=oliqmax 2896 ENDIF 2897 ENDDO 2898 ENDDO 2899 rain_lsc(:)=rain_lsc(:)+rain_num(:) 2900 2882 !--------------------------------------------------------------------------- 2901 2883 DO k = 1, klev 2902 2884 DO i = 1, klon … … 3429 3411 !enddo 3430 3412 !albedo SB <<< 3413 3414 !--if ok_suntime_rrtm we use ancillay data for RSUN 3415 !--previous values are therefore overwritten 3416 !--this is needed for CMIP6 runs 3417 !--and only possible for new radiation scheme 3418 IF (iflag_rrtm.EQ.1.AND.ok_suntime_rrtm) THEN 3419 CALL read_rsun_rrtm(debut) 3420 ENDIF 3421 3422 if (mydebug) then 3423 call writefield_phy('u_seri',u_seri,nbp_lev) 3424 call writefield_phy('v_seri',v_seri,nbp_lev) 3425 call writefield_phy('t_seri',t_seri,nbp_lev) 3426 call writefield_phy('q_seri',q_seri,nbp_lev) 3427 endif 3431 3428 3432 3429 !
Note: See TracChangeset
for help on using the changeset viewer.