- Timestamp:
- Oct 27, 2014, 6:47:03 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 3 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/clesphys.h
r2126 r2136 77 77 LOGICAL :: ok_strato 78 78 LOGICAL :: ok_hines, ok_gwd_rando 79 LOGICAL :: ok_qch4 79 80 LOGICAL :: ok_conserv_q 80 81 … … 114 115 & , ip_ebil_phy & 115 116 & , ok_lic_melt, aer_type & 116 & , iflag_rrtm, ok_strato,ok_hines 117 & , iflag_rrtm, ok_strato,ok_hines, ok_qch4 & 117 118 & , iflag_ice_thermo, ok_gwd_rando, NSW & 118 119 & , ok_conserv_q, ok_all_xml -
LMDZ5/trunk/libf/phylmd/conf_phys_m.F90
r2126 r2136 189 189 LOGICAL,SAVE :: ok_hines_omp, ok_gwd_rando_omp 190 190 real, SAVE:: GWD_RANDO_RUWMAX_omp, gwd_rando_sat_omp 191 LOGICAL,SAVE :: ok_qch4_omp 191 192 LOGICAL,SAVE :: carbon_cycle_tr_omp 192 193 LOGICAL,SAVE :: carbon_cycle_cpl_omp … … 1725 1726 gwd_rando_sat_omp = 0.25 1726 1727 CALL getin('gwd_rando_sat', gwd_rando_sat_omp) 1728 1729 !Config key = ok_qch4 1730 !Config Desc = activation de la parametrisation du methane 1731 !Config Def = .FALSE. 1732 !Config Help = Clef controlant l'activation de la parametrisation 1733 ! de l'humidite due a oxydation+photolyse du methane strato 1734 1735 ok_qch4_omp=.FALSE. 1736 CALL getin('ok_qch4',ok_qch4_omp) 1727 1737 1728 1738 !Config Key = OK_LES … … 1955 1965 GWD_RANDO_RUWMAX = GWD_RANDO_RUWMAX_omp 1956 1966 gwd_rando_sat = gwd_rando_sat_omp 1967 ok_qch4 = ok_qch4_omp 1957 1968 ok_LES = ok_LES_omp 1958 1969 callstats = callstats_omp … … 2147 2158 write(lunout,*) 'ok_hines = ', ok_hines 2148 2159 write(lunout,*) 'ok_gwd_rando = ', ok_gwd_rando 2160 write(lunout,*) 'ok_qch4 = ', ok_qch4 2149 2161 write(lunout,*) 'GWD_RANDO_RUWMAX = ', GWD_RANDO_RUWMAX 2150 2162 write(lunout,*) 'gwd_rando_sat = ', gwd_rando_sat -
LMDZ5/trunk/libf/phylmd/phys_local_var_mod.F90
r2103 r2136 73 73 REAL, SAVE, ALLOCATABLE :: d_t_hin(:,:) 74 74 !$OMP THREADPRIVATE(d_t_hin) 75 ! tendance due a l'oxydation du methane 76 REAL, SAVE, ALLOCATABLE :: d_q_ch4(:,:) 77 !$OMP THREADPRIVATE(d_q_ch4) 75 78 76 79 ! tendance du a la conersion Ec -> E thermique … … 338 341 allocate(topswcf_aero(klon,3), solswcf_aero(klon,3)) 339 342 allocate(d_u_hin(klon,klev),d_v_hin(klon,klev),d_t_hin(klon,klev)) 343 allocate(d_q_ch4(klon,klev)) 340 344 ! allocate(tausum_aero(klon,nwave,naero_spc)) 341 345 ! allocate(tau3d_aero(klon,klev,nwave,naero_spc)) … … 535 539 deallocate(load_tmp7) 536 540 deallocate(d_u_hin,d_v_hin,d_t_hin) 541 deallocate(d_q_ch4) 537 542 538 543 !IM ajout variables CFMIP2/CMIP5 … … 603 608 END SUBROUTINE phys_local_var_end 604 609 605 END MODULE phys_local_var_mod 610 END MODULE phys_local_var_mod -
LMDZ5/trunk/libf/phylmd/phys_output_ctrlout_mod.F90
r2103 r2136 1100 1100 TYPE(ctrl_out), SAVE :: o_dthin = ctrl_out((/ 4, 10, 10, 10, 10, 10, 11, 11, 11 /), & 1101 1101 'dthin', 'Hines GWD dT', 'K/s', (/ ('', i=1, 9) /)) 1102 TYPE(ctrl_out), SAVE :: o_dqch4 = ctrl_out((/ 4, 10, 10, 10, 10, 10, 11, 11, 11 /), & 1103 'dqch4', 'H2O due to CH4 oxidation & photolysis', '(kg/kg)/s', (/ ('', i=1, 9) /)) 1102 1104 1103 1105 type(ctrl_out), save:: o_du_gwd_rando & -
LMDZ5/trunk/libf/phylmd/phys_output_write_mod.F90
r2114 r2136 130 130 o_duvdf, o_dvvdf, o_duoro, o_dvoro, & 131 131 o_dtoro, o_dulif, o_dvlif, o_dtlif, & 132 o_duhin, o_dvhin, o_dthin, o_ rsu, &132 o_duhin, o_dvhin, o_dthin, o_dqch4, o_rsu, & 133 133 o_rsd, o_rlu, o_rld, o_rsucs, o_rsdcs, & 134 134 o_rlucs, o_rldcs, o_tnt, o_tntr, & … … 217 217 d_v_vdf, d_u_oro, d_v_oro, d_t_oro, d_u_lif, & 218 218 d_v_lif, d_t_lif, d_u_hin, d_v_hin, d_t_hin, & 219 pmfd, pmfu, ref_liq, ref_ice, rhwriteSTD219 d_q_ch4, pmfd, pmfu, ref_liq, ref_ice, rhwriteSTD 220 220 221 221 USE phys_output_var_mod, only: vars_defined, snow_o, zfra_o, bils_diss, & … … 1153 1153 end IF 1154 1154 1155 IF (ok_qch4) then 1156 CALL histwrite_phy(o_dqch4, d_q_ch4 / pdtphys) 1157 ENDIF 1158 1155 1159 CALL histwrite_phy(o_rsu, swup) 1156 1160 CALL histwrite_phy(o_rsd, swdn) -
LMDZ5/trunk/libf/phylmd/physiq.F90
r2105 r2136 3495 3495 , fs_bound, fq_bound ) 3496 3496 END IF 3497 3498 !DC Calcul de la tendance due au methane 3499 IF(ok_qch4) THEN 3500 CALL METHOX(1,klon,klon,klev,q_seri,d_q_ch4,pplay) 3501 ! ajout de la tendance d'humidite due au methane 3502 CALL add_phys_tend(du0,dv0,dt0,d_q_ch4*dtime,dql0,'q_ch4') 3503 END IF 3497 3504 ! 3498 3505 ! -
LMDZ5/trunk/libf/phylmd/suphel.F90
r1992 r2136 192 192 ! ------------------------------------------------------------------ 193 193 194 ! calculer les constantes pour les fonctions thermodynamiques 194 ! * 10. CONSTANTS FOR THERMODYNAMICAL FUNCTIONS. 195 ! ---------------------------------------- 195 196 196 197 rvtmp2 = rcpv/rcpd - 1. … … 204 205 r5ies = r3ies*(rtt-r4ies) 205 206 207 ! ------------------------------------------------------------------ 208 209 ! * 10. CONSTANTS FOR METHANE OXIDATION AND PHOTOLYSIS. 210 ! ----------------------------------------------- 211 212 CALL SUMETHOX() 213 206 214 RETURN 207 215 END SUBROUTINE suphel
Note: See TracChangeset
for help on using the changeset viewer.