Changeset 4707
- Timestamp:
- Sep 25, 2023, 8:19:15 PM (14 months ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/conf_phys_m.F90
r4645 r4707 175 175 LOGICAL,SAVE :: ok_ice_sursat_omp 176 176 LOGICAL,SAVE :: ok_plane_h2o_omp, ok_plane_contrail_omp 177 INTEGER,SAVE :: iflag_rei_omp178 177 REAL,SAVE :: rad_froid_omp, rad_chau1_omp, rad_chau2_omp 179 REAL,SAVE :: rei_min_omp, rei_max_omp180 178 INTEGER,SAVE :: iflag_sic_omp, iflag_inertie_omp 181 179 REAL,SAVE :: inertie_sol_omp,inertie_sno_omp,inertie_sic_omp … … 1308 1306 1309 1307 1310 !Config Key = iflag_rei1311 !Config Desc =1312 !Config Def = 01313 !Config Help =1314 !1315 iflag_rei_omp = 01316 CALL getin('iflag_rei',iflag_rei_omp)1317 1318 1319 1308 ! 1320 1309 !Config Key = iflag_ice_thermo … … 1350 1339 ok_plane_contrail_omp = .FALSE. 1351 1340 CALL getin('ok_plane_contrail',ok_plane_contrail_omp) 1352 1353 !1354 !Config Key = rei_min1355 !Config Desc =1356 !Config Def = 3.51357 !Config Help =1358 !1359 rei_min_omp = 3.51360 CALL getin('rei_min',rei_min_omp)1361 1362 !1363 !Config Key = rei_max1364 !Config Desc =1365 !Config Def = 61.291366 !Config Help =1367 !1368 rei_max_omp = 61.291369 CALL getin('rei_max',rei_max_omp)1370 1341 1371 1342 ! … … 2318 2289 rad_chau1 = rad_chau1_omp 2319 2290 rad_chau2 = rad_chau2_omp 2320 iflag_rei=iflag_rei_omp2321 2291 iflag_ice_thermo = iflag_ice_thermo_omp 2322 2292 ok_ice_sursat = ok_ice_sursat_omp 2323 2293 ok_plane_h2o = ok_plane_h2o_omp 2324 2294 ok_plane_contrail = ok_plane_contrail_omp 2325 rei_min = rei_min_omp2326 rei_max = rei_max_omp2327 2295 top_height = top_height_omp 2328 2296 overlap = overlap_omp … … 2739 2707 WRITE(lunout,*) ' rad_chau1 = ',rad_chau1 2740 2708 WRITE(lunout,*) ' rad_chau2 = ',rad_chau2 2741 WRITE(lunout,*) ' iflag_rei = ',iflag_rei2742 2709 WRITE(lunout,*) ' iflag_ice_thermo = ',iflag_ice_thermo 2743 2710 WRITE(lunout,*) ' ok_ice_sursat = ',ok_ice_sursat 2744 2711 WRITE(lunout,*) ' ok_plane_h2o = ',ok_plane_h2o 2745 2712 WRITE(lunout,*) ' ok_plane_contrail = ',ok_plane_contrail 2746 WRITE(lunout,*) ' rei_min = ',rei_min2747 WRITE(lunout,*) ' rei_max = ',rei_max2748 2713 WRITE(lunout,*) ' overlap = ',overlap 2749 2714 WRITE(lunout,*) ' cdmmax = ',cdmmax -
LMDZ6/trunk/libf/phylmd/lmdz_cloud_optics_prop.F90
r4704 r4707 18 18 USE lmdz_cloud_optics_prop_ini , ONLY : cdnc_max, cdnc_max_m3 19 19 USE lmdz_cloud_optics_prop_ini , ONLY : cdnc_min, cdnc_min_m3 20 20 USE lmdz_cloud_optics_prop_ini , ONLY : thres_tau, thres_neb 21 USE lmdz_cloud_optics_prop_ini , ONLY : prmhc, prlmc 22 USE lmdz_cloud_optics_prop_ini , ONLY : coef_froi, coef_chau 23 USE lmdz_cloud_optics_prop_ini , ONLY : seuil_neb 24 USE lmdz_cloud_optics_prop_ini , ONLY : t_glace_min_old, t_glace_max_old 25 USE lmdz_cloud_optics_prop_ini , ONLY : k_ice0, df 26 USE lmdz_cloud_optics_prop_ini , ONLY : rg, rd, rpi 27 USE lmdz_cloud_optics_prop_ini , ONLY : rad_chau1, rad_chau2, rad_froid, iflag_rei 28 USE lmdz_cloud_optics_prop_ini , ONLY : ok_icefra_lscp, rei_max, rei_min 29 USE lmdz_cloud_optics_prop_ini , ONLY : zepsec, novlp, iflag_ice_thermo, ok_new_lscp 30 21 31 USE icefrac_lsc_mod ! computes ice fraction (JBM 3/14) 22 32 USE lmdz_lscp_tools, only: icefrac_lscp … … 40 50 ! ====================================================================== 41 51 42 include "YOMCST.h"43 include "nuage.h"44 include "radepsi.h"45 include "radopt.h"46 include "clesphys.h"47 48 49 52 ! List of arguments 50 53 !------------------ … … 119 122 120 123 ! threshold PARAMETERs 121 REAL thres_tau, thres_neb122 PARAMETER (thres_tau=0.3, thres_neb=0.001)123 124 REAL phase3d(klon, klev) 124 125 REAL tcc(klon), ftmp(klon), lcc_integrat(klon), height(klon) 125 126 LOGICAL lo 126 REAL prmhc ! Pressure between medium and high level cloud in Pa127 REAL prlmc ! Pressure between low and medium level cloud in Pa128 PARAMETER (prmhc=440.*100., prlmc=680.*100.)129 127 INTEGER i, k 130 128 REAL radius 131 REAL coef_froi, coef_chau 132 PARAMETER (coef_chau=0.13, coef_froi=0.09) 133 REAL seuil_neb 134 PARAMETER (seuil_neb=0.001) 135 136 ! if iflag_t_glace=0, old values are used for liquid/ice partitionning: 137 REAL, PARAMETER :: t_glace_min_old = 258. 138 REAL, PARAMETER :: t_glace_max_old = 273.13 129 139 130 140 131 REAL rel, tc, rei, iwc, dei, deimin, deimax 141 REAL k_ice0, k_ice, df 142 PARAMETER (k_ice0=0.005) ! units=m2/g 143 PARAMETER (df=1.66) ! diffusivity factor 132 REAL k_ice 144 133 145 134 ! jq for the aerosol indirect effect -
LMDZ6/trunk/libf/phylmd/lmdz_cloud_optics_prop_ini.F90
r4692 r4707 7 7 INTEGER, PROTECTED :: flag_aerosol 8 8 INTEGER, PROTECTED :: iflag_t_glace=0 9 LOGICAL, PROTECTED ::ok_cdnc 9 INTEGER, PROTECTED :: iflag_rei 10 INTEGER, PROTECTED :: novlp, iflag_ice_thermo 11 LOGICAL, PROTECTED :: ok_cdnc 12 LOGICAL, PROTECTED :: ok_icefra_lscp, ok_new_lscp 10 13 REAL, PROTECTED :: bl95_b0, bl95_b1 ! Parameter in B&L 95-Formula 11 14 REAL, ALLOCATABLE :: latitude_deg(:) … … 15 18 REAL, PROTECTED :: cdnc_min=-1. 16 19 REAL, PROTECTED :: cdnc_min_m3=-1. 20 REAL, PROTECTED :: rpi, rg, rd 21 REAL, PROTECTED :: rad_chau1, rad_chau2, rad_froid 22 REAL, PROTECTED :: rei_max, rei_min 23 REAL, PROTECTED :: zepsec 24 REAL, PARAMETER :: thres_tau=0.3, thres_neb=0.001 25 REAL, PARAMETER :: prmhc=440.*100. ! Pressure between medium and high level cloud in Pa 26 REAL, PARAMETER :: prlmc=680.*100. ! Pressure between low and medium level cloud in Pa 27 REAL, PARAMETER :: coef_froi=0.09, coef_chau =0.13 28 REAL, PARAMETER :: seuil_neb=0.001 29 ! if iflag_t_glace=0, old values are used for liquid/ice partitionning: 30 REAL, PARAMETER :: t_glace_min_old = 258. 31 REAL, PARAMETER :: t_glace_max_old = 273.13 32 REAL, PARAMETER :: k_ice0=0.005 ! units=m2/g 33 REAL, PARAMETER :: df=1.66 ! diffusivity factor 34 !$OMP THREADPRIVATE(prt_level, lunout, flag_aerosol, iflag_t_glace) 35 !$OMP THREADPRIVATE(iflag_rei, novlp, iflag_ice_thermo) 36 !$OMP THREADPRIVATE(ok_cdnc, ok_icefra_lscp) 37 !$OMP THREADPRIVATE(bl95_b0, bl95_b1, cdnc_max, cdnc_max_m3) 38 !$OMP THREADPRIVATE(cdnc_min, cdnc_min_m3, rpi, rg, rd) 39 !$OMP THREADPRIVATE(rad_chau1, rad_chau2, rad_froid, rei_max, rei_min) 40 !$OMP THREADPRIVATE(zepsec) 41 17 42 18 43 CONTAINS … … 20 45 SUBROUTINE cloud_optics_prop_ini(klon, prt_level_in, lunout_in, flag_aerosol_in, & 21 46 & ok_cdnc_in, bl95_b0_in, & 22 & bl95_b1_in, latitude_deg_in) 47 & bl95_b1_in, latitude_deg_in, rpi_in, rg_in, rd_in, zepsec_in, novlp_in, & 48 & iflag_ice_thermo_in, ok_new_lscp_in) 23 49 24 50 USE ioipsl_getin_p_mod, ONLY : getin_p … … 28 54 INTEGER, INTENT(IN) :: prt_level_in, lunout_in 29 55 INTEGER, INTENT(IN) :: flag_aerosol_in 30 LOGICAL, INTENT(IN) :: ok_cdnc_in 56 INTEGER, INTENT(IN) :: novlp_in, iflag_ice_thermo_in 57 LOGICAL, INTENT(IN) :: ok_cdnc_in, ok_new_lscp_in 31 58 REAL, INTENT(IN) :: bl95_b0_in, bl95_b1_in 32 59 REAL, INTENT(IN) :: latitude_deg_in(klon) 60 REAL, INTENT(IN) :: rpi_in, rg_in, rd_in 61 REAL, INTENT(IN) :: zepsec_in 33 62 34 63 ALLOCATE(latitude_deg(klon)) … … 41 70 bl95_b1 = bl95_b1_in 42 71 latitude_deg(:) = latitude_deg_in(:) 72 rpi = rpi_in 73 rg = rg_in 74 rd = rd_in 75 zepsec = zepsec_in 76 novlp = novlp_in 77 iflag_ice_thermo = iflag_ice_thermo_in 78 ok_new_lscp = ok_new_lscp_in 79 43 80 call getin_p('cdnc_min',cdnc_min) 44 81 cdnc_min_m3=cdnc_min*1.E6 … … 51 88 CALL getin_p('iflag_t_glace',iflag_t_glace) 52 89 write(lunout,*)'iflag_t_glace= ',iflag_t_glace 53 90 CALL getin_p('rad_chau1',rad_chau1) 91 CALL getin_p('rad_chau2',rad_chau2) 92 CALL getin_p('rad_froid ',rad_froid) 93 CALL getin_p('ok_icefra_lscp', ok_icefra_lscp) 94 iflag_rei = 0 95 CALL getin_p('iflag_rei',iflag_rei) 96 rei_min = 3.5 97 CALL getin_p('rei_min',rei_min) 98 rei_max = 61.29 99 CALL getin_p('rei_max',rei_max) 100 101 54 102 END SUBROUTINE cloud_optics_prop_ini 55 103 -
LMDZ6/trunk/libf/phylmd/nuage.h
r4613 r4707 3 3 ! 4 4 REAL rad_froid, rad_chau1, rad_chau2 5 REAL rei_min,rei_max6 5 REAL tau_cld_cv,coefw_cld_cv 7 6 REAL tmax_fonte_cv 8 7 INTEGER iflag_cld_cv, iflag_ratqs 9 INTEGER iflag_rei10 8 LOGICAL ok_icefra_lscp 11 9 12 10 common /nuagecom/ rad_froid,rad_chau1, rad_chau2, & 13 & rei_min,rei_max, &14 11 & tau_cld_cv,coefw_cld_cv, & 15 12 & tmax_fonte_cv,iflag_ratqs, & 16 13 & iflag_cld_cv, & 17 & ok_icefra_lscp, & 18 & iflag_rei 14 & ok_icefra_lscp 19 15 !$OMP THREADPRIVATE(/nuagecom/) -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r4703 r4707 1 2 1 ! 3 2 ! $Id$ … … 569 568 ! 570 569 ! 570 include "radepsi.h" 571 571 include "radopt.h" 572 572 ! … … 1163 1163 ! climatology and the daylight climatology 1164 1164 INTEGER,SAVE :: ncid_climoz ! NetCDF file identifier 1165 REAL, allocatable, SAVE :: press_cen_climoz(:) ! Pressure levels1166 REAL, allocatable, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals1167 REAL, allocatable, SAVE :: time_climoz(:) ! Time vector1165 REAL, ALLOCATABLE, SAVE :: press_cen_climoz(:) ! Pressure levels 1166 REAL, ALLOCATABLE, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals 1167 REAL, ALLOCATABLE, SAVE :: time_climoz(:) ! Time vector 1168 1168 CHARACTER(LEN=13), PARAMETER :: vars_climoz(2) & 1169 1169 = ["tro3 ","tro3_daylight"] … … 1846 1846 CALL cloud_optics_prop_ini(klon, prt_level, lunout, flag_aerosol, & 1847 1847 & ok_cdnc, bl95_b0, & 1848 & bl95_b1, latitude_deg) 1848 & bl95_b1, latitude_deg, rpi, rg, rd, & 1849 & zepsec, novlp, iflag_ice_thermo, ok_new_lscp) 1849 1850 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1850 1851 -
LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90
r4703 r4707 610 610 ! 611 611 ! 612 include "radepsi.h" 612 613 include "radopt.h" 613 614 ! … … 1933 1934 CALL cloud_optics_prop_ini(klon, prt_level, lunout, flag_aerosol, & 1934 1935 & ok_cdnc, bl95_b0, & 1935 & bl95_b1, latitude_deg) 1936 & bl95_b1, latitude_deg, rpi, rg, rd, & 1937 & zepsec, novlp, iflag_ice_thermo, ok_new_lscp) 1936 1938 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1937 1939
Note: See TracChangeset
for help on using the changeset viewer.