- Timestamp:
- Feb 5, 2026, 5:50:37 PM (3 weeks ago)
- Location:
- trunk/LMDZ.TITAN
- Files:
-
- 5 edited
-
deftank/callphys.def.allmuparams (modified) (5 diffs)
-
libf/phytitan/callkeys_mod.F90 (modified) (1 diff)
-
libf/phytitan/cond_muphy.F90 (modified) (2 diffs)
-
libf/phytitan/inifis_mod.F90 (modified) (1 diff)
-
libf/phytitan/physiq_mod.F90 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/deftank/callphys.def.allmuparams
r3657 r4047 104 104 # If yes, number of ices ? (must be compatible with traceur.def AND microphysical model) 105 105 nices = 1 106 # Apply condensation heating rate? 107 latent_heat = .true. 106 108 # Use new optics for clouds ? 107 109 opt4clouds = .true. … … 137 139 rho_aer = 600. 138 140 # Enable/disable Haze production process 139 haze_production = T141 haze_production = .true. 140 142 # Enable/disable Haze coagulation process 141 haze_coagulation = T143 haze_coagulation = .true. 142 144 # Coagulation interactions, a combination of: 143 145 # 0 - no interactions (same as haze_coagulation == F) … … 148 150 haze_coag_interactions = 7 149 151 # Enable/disable Haze sedimentation process 150 haze_sedimentation = T152 haze_sedimentation = .true. 151 153 # Disable Fiadero correction for sedimentation process 152 no_fiadero = T154 no_fiadero = .true. 153 155 # Fiadero correction minimum ratio threshold 154 156 fiadero_min_ratio = 0.1 … … 156 158 fiadero_max_ratio = 10. 157 159 # Force settling velocity to M0 158 wsed_m0 = T160 wsed_m0 = .true. 159 161 # Force settling velocity to M3 160 wsed_m3 = F162 wsed_m3 = .false. 161 163 # Enable/disable clouds sedimentation process 162 164 # (automatically set to F if clouds microphysics is not enabled) 163 clouds_sedimentation = T165 clouds_sedimentation = .true. 164 166 # Enable/disable clouds nucleation and condensation processes 165 167 # (automatically set to F if clouds microphysics is not enabled) 166 clouds_nuc_cond = T168 clouds_nuc_cond = .true. 167 169 # Condensible species configuration file 168 170 # (not needed if clouds microphysics is not enabled) 169 171 specie_cfg = mp2m_species.cfg 170 172 # Enable/disable spherical mode transfert probability 171 transfert_probability = T173 transfert_probability = .true. 172 174 # Spherical mode transfert probability look-up tables file 173 175 # (optional if 'transfert_probability' is False) … … 175 177 # Electric charging coagulation correction 176 178 # If set to .false. then no correction is assumed 177 electric_charging = T179 electric_charging = .true. 178 180 # File for the electric charging correction factor. 179 181 # (optional if 'electric_charging' is False) -
trunk/LMDZ.TITAN/libf/phytitan/callkeys_mod.F90
r3657 r4047 21 21 logical,save :: callchim, callmufi, callclouds 22 22 !$OMP THREADPRIVATE(callchim,callmufi,callclouds) 23 logical,save :: latent_heat 24 !$OMP THREADPRIVATE(latent_heat) 23 25 logical,save :: global1d 24 26 !$OMP THREADPRIVATE(global1d) -
trunk/LMDZ.TITAN/libf/phytitan/cond_muphy.F90
r3090 r4047 69 69 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 70 do iq = 1, size(ices_indx) 71 dtlc(:,:) = dtlc(:,:) +(dqmuficond(:,:,iq) * Lc(:,:,iq))71 dtlc(:,:) = dtlc(:,:) - (dqmuficond(:,:,iq) * Lc(:,:,iq)) 72 72 enddo 73 73 … … 75 75 ! Condensation heating rate : 76 76 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 ! If ice formation : dqmuficond >0 --> dtlc > 078 ! Else vaporisation : dqmuficond <0 --> dtlc < 077 ! If ice formation : dqmuficond < 0 --> dtlc > 0 78 ! Else vaporisation : dqmuficond > 0 --> dtlc < 0 79 79 dtlc(:,:) = dtlc(:,:) / cpp ! [K.s-1] 80 80 -
trunk/LMDZ.TITAN/libf/phytitan/inifis_mod.F90
r3657 r4047 490 490 endif 491 491 492 write(*,*) "Apply condensation heating rate?" 493 latent_heat=.false. ! default value 494 call getin_p("latent_heat",latent_heat) 495 write(*,*)" latent_heat = ",latent_heat 496 492 497 write(*,*) "Disable the coupling of microphysics within rad. transf. ?" 493 498 write(*,*) "If disabled we will assume a planetwide vert. profile of extinction ..." -
trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90
r4046 r4047 196 196 real,intent(in) :: pv(ngrid,nlayer) ! Meridional wind component (m/s). 197 197 real,intent(in) :: pt(ngrid,nlayer) ! Temperature (K). 198 real,intent(in) :: pq(ngrid,nlayer,nq) ! Tracers ( kg/kg_of_air).198 real,intent(in) :: pq(ngrid,nlayer,nq) ! Tracers (X/kg_of_air). (X is kg or nothing (number of particles)) 199 199 real,intent(in) :: flxw(ngrid,nlayer) ! Vertical mass flux (ks/s) at lower boundary of layer 200 200 … … 431 431 432 432 ! Allocate saved arrays (except for 1D model, where this has already been done) 433 ! For mesoscale it is done in the interface 433 434 #ifndef MESOSCALE 434 435 if (ngrid>1) call phys_state_var_init(nq) … … 1177 1178 enddo 1178 1179 call cond_muphy(ngrid,nlayer,pt,dmuficond,zdtlc) 1179 !pdt(:,:) = pdt(:,:) + zdtlc(:,:) 1180 if (latent_heat) then 1181 pdt(:,:) = pdt(:,:) + zdtlc(:,:) 1182 endif 1180 1183 endif 1181 1184 endif ! callmufi
Note: See TracChangeset
for help on using the changeset viewer.
