2 |
|
|
3 |
implicit none |
implicit none |
4 |
|
|
5 |
integer iflag_pbl ! parameter for the planetary boundary layer |
integer:: iflag_pbl = 1 ! for the planetary boundary layer |
6 |
|
REAL:: rad_chau1 = 13., rad_chau2 = 9. |
7 |
|
|
8 |
contains |
contains |
9 |
|
|
13 |
|
|
14 |
! Configuration de la "physique" de LMDZ. |
! Configuration de la "physique" de LMDZ. |
15 |
|
|
16 |
USE clesphys, ONLY: bug_ozone, cdhmax, cdmmax, cfc11_ppt, cfc12_ppt, & |
USE clesphys, ONLY: cdhmax, cdmmax, cfc11_ppt, cfc12_ppt, ch4_ppb, & |
17 |
ch4_ppb, co2_ppm, ecrit_day, ecrit_hf, ecrit_hf2mth, ecrit_ins, & |
co2_ppm, ecrit_day, ecrit_hf, ecrit_hf2mth, ecrit_ins, ecrit_mth, & |
18 |
ecrit_mth, ecrit_reg, ecrit_tra, ksta, ksta_ter, latmax_ins, & |
ecrit_reg, ecrit_tra, ksta, ksta_ter, latmax_ins, latmin_ins, & |
19 |
latmin_ins, lev_histday, lev_histhf, lev_histmth, lonmax_ins, & |
lev_histday, lev_histhf, lev_histmth, lonmax_ins, lonmin_ins, & |
20 |
lonmin_ins, n2o_ppb, ok_isccp, ok_kzmin, ok_regdyn, overlap, rcfc11, & |
n2o_ppb, ok_isccp, ok_kzmin, ok_regdyn, overlap, rcfc11, rcfc12, & |
21 |
rcfc12, rch4, rco2, rn2o, solaire, top_height, type_run |
rch4, rco2, rn2o, solaire, top_height, type_run |
22 |
|
use clesphys2, only: read_clesphys2 |
23 |
USE comfisrtilp, ONLY: cld_lc_con, cld_lc_lsc, cld_tau_con, & |
USE comfisrtilp, ONLY: cld_lc_con, cld_lc_lsc, cld_tau_con, & |
24 |
cld_tau_lsc, coef_eva, ffallv_con, ffallv_lsc, iflag_pdf, reevap_ice |
cld_tau_lsc, coef_eva, ffallv_con, ffallv_lsc, iflag_pdf, reevap_ice |
25 |
USE conema3_m, ONLY: epmax, iflag_clw, ok_adj_ema |
USE conema3_m, ONLY: epmax, iflag_clw, ok_adj_ema |
|
USE nuagecom, ONLY: rad_chau1, rad_chau2, rad_froid |
|
26 |
use unit_nml_m, only: unit_nml |
use unit_nml_m, only: unit_nml |
27 |
USE yomcst, ONLY: r_ecc, r_incl, r_peri |
USE yomcst, ONLY: read_YOMCST |
28 |
|
|
29 |
namelist /conf_phys_nml/ R_ecc, R_peri, R_incl, solaire, co2_ppm, & |
namelist /conf_phys_nml/ solaire, co2_ppm, CH4_ppb, N2O_ppb, CFC11_ppt, & |
30 |
CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt, epmax, ok_adj_ema, & |
CFC12_ppt, epmax, ok_adj_ema, iflag_clw, cld_lc_lsc, cld_lc_con, & |
31 |
iflag_clw, cld_lc_lsc, cld_lc_con, cld_tau_lsc, cld_tau_con, & |
cld_tau_lsc, cld_tau_con, ffallv_lsc, ffallv_con, coef_eva, & |
32 |
ffallv_lsc, ffallv_con, coef_eva, reevap_ice, iflag_pdf, & |
reevap_ice, iflag_pdf, top_height, overlap, cdmmax, cdhmax, ksta, & |
33 |
rad_froid, rad_chau1, rad_chau2, top_height, overlap, cdmmax, & |
ksta_ter, ok_kzmin, iflag_pbl, lev_histhf, lev_histday, lev_histmth, & |
34 |
cdhmax, ksta, ksta_ter, ok_kzmin, iflag_pbl, lev_histhf, & |
type_run, ok_isccp, ok_regdyn, lonmin_ins, lonmax_ins, latmin_ins, & |
35 |
lev_histday, lev_histmth, type_run, ok_isccp, ok_regdyn, & |
latmax_ins, ecrit_ins, ecrit_hf, ecrit_hf2mth, ecrit_day, ecrit_mth, & |
36 |
lonmin_ins, lonmax_ins, latmin_ins, latmax_ins, ecrit_ins, & |
ecrit_tra, ecrit_reg |
37 |
ecrit_hf, ecrit_hf2mth, ecrit_day, ecrit_mth, ecrit_tra, & |
|
38 |
ecrit_reg, bug_ozone |
namelist /nuagecom/ rad_chau1, rad_chau2 |
39 |
|
|
40 |
!----------------------------------------------------------- |
!----------------------------------------------------------- |
41 |
|
|
42 |
print *, "Call sequence information: conf_phys" |
print *, "Call sequence information: conf_phys" |
43 |
|
call read_clesphys2 |
44 |
|
call read_YOMCST |
45 |
|
|
|
R_ecc = 0.016715 ! AMIP II |
|
|
R_peri = 102.7 ! AMIP II |
|
|
R_incl = 23.441 ! AMIP II |
|
46 |
solaire = 1365. ! AMIP II |
solaire = 1365. ! AMIP II |
47 |
co2_ppm = 348. ! AMIP II |
co2_ppm = 348. ! AMIP II |
48 |
CH4_ppb = 1650. |
CH4_ppb = 1650. |
61 |
coef_eva = 2.e-5 |
coef_eva = 2.e-5 |
62 |
reevap_ice = .false. |
reevap_ice = .false. |
63 |
iflag_pdf = 0 |
iflag_pdf = 0 |
|
rad_froid = 35.0 |
|
|
rad_chau1 = 13.0 |
|
|
rad_chau2 = 9.0 |
|
64 |
top_height = 3 |
top_height = 3 |
65 |
overlap = 3 |
overlap = 3 |
66 |
cdmmax = 1.3E-3 |
cdmmax = 1.3E-3 |
68 |
ksta = 1.0e-10 |
ksta = 1.0e-10 |
69 |
ksta_ter = 1.0e-10 |
ksta_ter = 1.0e-10 |
70 |
ok_kzmin = .true. |
ok_kzmin = .true. |
|
iflag_pbl = 1 |
|
71 |
lev_histhf = 0 |
lev_histhf = 0 |
72 |
lev_histday = 1 |
lev_histday = 1 |
73 |
lev_histmth = 2 |
lev_histmth = 2 |
85 |
ecrit_mth = 86400 |
ecrit_mth = 86400 |
86 |
ecrit_tra = 1 |
ecrit_tra = 1 |
87 |
ecrit_reg = NINT(86400. *0.25) ! 4 fois par jour |
ecrit_reg = NINT(86400. *0.25) ! 4 fois par jour |
|
bug_ozone = .false. |
|
88 |
|
|
89 |
print *, "Enter namelist 'conf_phys_nml'." |
print *, "Enter namelist 'conf_phys_nml'." |
90 |
read(unit=*, nml=conf_phys_nml) |
read(unit=*, nml=conf_phys_nml) |
102 |
print *, ' RCFC11 = ', RCFC11 |
print *, ' RCFC11 = ', RCFC11 |
103 |
print *, ' RCFC12 = ', RCFC12 |
print *, ' RCFC12 = ', RCFC12 |
104 |
|
|
105 |
|
print *, "Enter namelist 'nuagecom'." |
106 |
|
read(unit=*, nml=nuagecom) |
107 |
|
write(unit_nml, nml=nuagecom) |
108 |
|
|
109 |
end subroutine conf_phys |
end subroutine conf_phys |
110 |
|
|
111 |
end module conf_phys_m |
end module conf_phys_m |