- Timestamp:
- Sep 17, 2020, 10:42:57 AM (4 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 1 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2407 r2409 3140 3140 - growthrate.F, microphys.h: addings to take into account the effect of diffusion kinetics on fractionation 3141 3141 - callsedim_mod.F: sedimentation of HDO as an isotope of water in the microphysics case 3142 3143 == 17/09/2020 == EM 3144 Code tidying : make a "dust_param_mod" module to store dust cycle relevant flags 3145 and variables (and remove them from callkeys.h) 3146 -
trunk/LMDZ.MARS/libf/aeronomars/inichim_newstart.F90
r2321 r2409 6 6 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, nbp_lev 7 7 USE datafile_mod, ONLY: datadir 8 use dust_param_mod, only: doubleq, submicron, dustbin 8 9 implicit none 9 10 -
trunk/LMDZ.MARS/libf/phymars/aeropacity_mod.F
r2304 r2409 3 3 IMPLICIT NONE 4 4 5 INTEGER :: iddist ! flag for vertical dust ditribution type (when imposed) 6 ! 0: Pollack90, 1: top set by "topdustref" 7 ! 2: Viking scenario; =3 MGS scenario 8 REAL :: topdustref ! Dust top altitude (km); only matters only if iddist=1) 5 9 CONTAINS 6 10 … … 30 34 & iaer_stormdust_doubleq, 31 35 & iaer_topdust_doubleq 32 36 use dust_param_mod, only: odpref, freedust 33 37 IMPLICIT NONE 34 38 c======================================================================= … … 161 165 ! indexes of water ice and dust tracers: 162 166 INTEGER,SAVE :: i_ice=0 ! water ice 163 real,parameter :: odpref=610. ! DOD reference pressure (Pa)164 167 CHARACTER(LEN=20) :: txt ! to temporarly store text 165 168 CHARACTER(LEN=1) :: txt2 ! to temporarly store text -
trunk/LMDZ.MARS/libf/phymars/callkeys.h
r2312 r2409 10 10 & ,callnirco2,callnlte,callthermos,callconduct,calleuv & 11 11 & ,callmolvis,callmoldiff,thermochem,thermoswater,callemis & 12 & ,callg2d,linear,rayleigh,tracer ,active,doubleq,submicron&13 & , lifting,freedust,callddevil,scavenging,sedimentation&12 & ,callg2d,linear,rayleigh,tracer & 13 & ,scavenging,sedimentation & 14 14 & ,activice,water,tifeedback,microphys,supersat,caps,photochem & 15 15 & ,calltherm,callrichsl,callslope,tituscap,callyamada4,co2clouds & … … 19 19 & ,hdo,hdofrac 20 20 21 COMMON/callkeys_i/iradia,iaervar,i ddist,ilwd,ilwb,ilwn,ncouche&22 & , dustbin,nltemodel,nircorr,solvarmod,solvaryear,dustinjection21 COMMON/callkeys_i/iradia,iaervar,ilwd,ilwb,ilwn,ncouche & 22 & ,nltemodel,nircorr,solvarmod,solvaryear,dustinjection 23 23 24 COMMON/callkeys_r/ topdustref,semi,alphan,euveff,&24 COMMON/callkeys_r/semi,alphan,euveff, & 25 25 & tke_heat_flux,dustrefir,fixed_euv_value,CLFfixval, & 26 26 & coeff_injection,ti_injection,tf_injection,coeff_detrainment … … 42 42 logical gwd_convective_source 43 43 44 real topdustref45 44 real semi 46 45 real alphan … … 54 53 real CLFfixval 55 54 56 integer iddist57 55 integer iaervar 58 56 integer iradia … … 67 65 logical rayleigh 68 66 logical tracer 69 integer dustbin 70 logical freedust 71 logical active,doubleq,submicron,lifting,callddevil,scavenging 67 logical scavenging 72 68 logical rdstorm ! rocket dust storm parametrization 73 69 logical slpwind ! entrainment by slope wind parametrization -
trunk/LMDZ.MARS/libf/phymars/callradite_mod.F
r2398 r2409 25 25 use lwmain_mod, only: lwmain 26 26 use swmain_mod, only: swmain 27 use dust_param_mod, only: doubleq, active, submicron 27 28 IMPLICIT NONE 28 29 c======================================================================= -
trunk/LMDZ.MARS/libf/phymars/callsedim_mod.F
r2407 r2409 27 27 USE comcstfi_h, ONLY: g 28 28 USE dimradmars_mod, only: naerkind 29 USE dust_param_mod, ONLY: doubleq 29 30 IMPLICIT NONE 30 31 -
trunk/LMDZ.MARS/libf/phymars/co2condens_mod.F
r2399 r2409 27 27 use planete_h, only: obliquit 28 28 use comcstfi_h, only: cpp, g, r, pi 29 29 use dust_param_mod, only: freedust 30 30 31 #ifndef MESOSCALE 31 32 USE vertical_layers_mod, ONLY: ap, bp … … 857 858 & rho_dust, nuice_sed, nuice_ref,r3n_q 858 859 use comcstfi_h, only: g 859 860 use dust_param_mod, only: freedust 860 861 IMPLICIT NONE 861 include "callkeys.h" ! for the flags water , microphys and freedust862 include "callkeys.h" ! for the flags water and microphys 862 863 c 863 864 c -
trunk/LMDZ.MARS/libf/phymars/compute_dtau_mod.F90
r2265 r2409 2 2 3 3 IMPLICIT NONE 4 5 include "callkeys.h"6 4 7 5 REAL,SAVE :: ti_injection_sol ! time of beginning injection … … 23 21 USE tracer_mod, only: alpha_lift,igcm_dust_mass,igcm_dust_number 24 22 USE dimradmars_mod, only: tauvis 23 USE dust_param_mod, only: odpref 25 24 26 25 IMPLICIT NONE … … 42 41 REAL :: zday_scenario 43 42 REAL,ALLOCATABLE,SAVE :: local_time_prev(:) 44 REAL,PARAMETER :: odpref=610. !DOD reference pressure (Pa)45 43 46 44 LOGICAL, SAVE :: firstcall=.TRUE. ! signals first call to physics -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r2398 r2409 45 45 use calchim_mod, only: ichemistry 46 46 use co2condens_mod, only: scavco2cond 47 47 use dust_param_mod, only: dustbin, doubleq, submicron, active, 48 & lifting, freedust, callddevil 49 use aeropacity_mod, only: iddist, topdustref 48 50 IMPLICIT NONE 49 51 include "callkeys.h" -
trunk/LMDZ.MARS/libf/phymars/dimradmars_mod.F90
r2199 r2409 103 103 REAL,SAVE,ALLOCATABLE :: fluxrad(:) ! Net radiative surface flux (W.m-2) 104 104 REAL,SAVE,ALLOCATABLE :: albedo(:,:) ! Surface albedo in each solar band 105 REAL,SAVE,ALLOCATABLE :: tauscaling(:) ! Convertion factor for qdust and Ndust106 105 REAL,SAVE,ALLOCATABLE :: totcloudfrac(:) ! total cloud fraction over the column 107 106 ! aerosol (dust or ice) extinction optical depth at reference wavelength … … 174 173 allocate(fluxrad_sky(ngrid)) 175 174 allocate(fluxrad(ngrid)) 176 allocate(tauscaling(ngrid))177 175 allocate(nueffdust(ngrid,nlayer)) 178 176 allocate(totcloudfrac(ngrid)) … … 188 186 if (allocated(fluxrad_sky)) deallocate(fluxrad_sky) 189 187 if (allocated(fluxrad)) deallocate(fluxrad) 190 if (allocated(tauscaling)) deallocate(tauscaling)191 188 if (allocated(nueffdust)) deallocate(nueffdust) 192 189 if (allocated(totcloudfrac)) deallocate(totcloudfrac) -
trunk/LMDZ.MARS/libf/phymars/initracer.F
r2398 r2409 3 3 use tracer_mod 4 4 use comcstfi_h, only: pi 5 use dust_param_mod, only: doubleq, submicron, dustbin 5 6 IMPLICIT NONE 6 7 c======================================================================= -
trunk/LMDZ.MARS/libf/phymars/phys_state_var_init_mod.F90
r2332 r2409 60 60 use nonoro_gwd_ran_mod, only: ini_nonoro_gwd_ran, & 61 61 end_nonoro_gwd_ran 62 use dust_param_mod, only: ini_dust_param_mod, & 63 end_dust_param_mod 62 64 63 65 IMPLICIT NONE … … 156 158 call ini_nonoro_gwd_ran(ngrid,nlayer) 157 159 160 ! allocate arrays in "dust_param_mod" 161 call end_dust_param_mod 162 call ini_dust_param_mod(ngrid) 158 163 159 164 END SUBROUTINE phys_state_var_init -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2406 r2409 54 54 use conc_mod, only: rnew, cpnew, mmean 55 55 use time_phylmdz_mod, only: iphysiq, day_step, ecritstart, daysec 56 use dimradmars_mod, only: tauscaling,aerosol, totcloudfrac,56 use dimradmars_mod, only: aerosol, totcloudfrac, 57 57 & dtrad, fluxrad_sky, fluxrad, albedo, 58 58 & naerkind, iaer_dust_doubleq, 59 59 & iaer_stormdust_doubleq 60 use dust_param_mod, only: doubleq, lifting, callddevil, 61 & tauscaling, odpref, dustbin 60 62 use turb_mod, only: q2, wstar, ustar, sensibFlux, 61 63 & zmax_th, hfmax_th, turb_resolved … … 292 294 ! - in a mesh with background dust only (true) 293 295 294 real,parameter :: odpref=610. ! DOD reference pressure (Pa)295 296 REAL tau(ngrid,naerkind) ! Column dust optical depth at each point 296 297 ! AS: TBD: this one should be in a module ! -
trunk/LMDZ.MARS/libf/phymars/updatereffrad_mod.F
r2199 r2409 22 22 & iaer_dust_submicron,iaer_h2o_ice, 23 23 & iaer_stormdust_doubleq,iaer_topdust_doubleq 24 24 use dust_param_mod, only: doubleq, active 25 25 IMPLICIT NONE 26 26 c======================================================================= -
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r2316 r2409 26 26 use compute_dtau_mod, only: ti_injection_sol,tf_injection_sol 27 27 use hdo_surfex_mod, only: hdo_surfex 28 use dust_param_mod, only: doubleq, submicron, lifting 28 29 29 30 IMPLICIT NONE
Note: See TracChangeset
for help on using the changeset viewer.