Changeset 3913 for trunk/LMDZ.MARS/libf/phymars/updaterad.F90
- Timestamp:
- Sep 5, 2025, 3:21:38 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/LMDZ.MARS/libf/phymars/updaterad.F90 (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/updaterad.F90
r2562 r3913 39 39 real, parameter :: rccnmax = 500.e-6 40 40 41 42 43 41 real, parameter :: ndust_threshold = 1. 44 42 real, parameter :: qdust_threshold = 1.e-20 … … 50 48 real, parameter :: rdustmax = 500.e-6 51 49 52 53 50 real, parameter :: rdust0 = 0.8e-6 54 51 55 56 57 52 58 53 contains … … 150 145 ! Update ice radius from a typical profile if microphys == false 151 146 subroutine updaterice_typ(qice,tau,pzlay,rice) 147 152 148 use tracer_mod, only: rho_ice 153 USE comcstfi_h 149 USE comcstfi_h, only: pi 150 154 151 implicit none 155 152 … … 158 155 real, intent(in) :: pzlay ! altitude at the middle of the layers 159 156 real, intent(out) :: rice 160 real rccn,nccn ! radius and number of ice crystals157 real :: rccn, nccn ! radius and number of ice crystals 161 158 162 159 ! Typical CCN profile following Montmessin et al. 2004 163 ! (N0=2e6 m-3 has been converted into N0=1.3e8 kg-1, otherwise the equation for rice is not homogeneous...) 164 nccn = 1.3e+8*max(tau,0.001)/0.1*exp(-pzlay/10000.) 160 ! (N0=2e6 m-3 has been converted into N0=1.3e8 kg-1 using a typical atmospheric density, 161 ! otherwise the equation for rice is not homogeneous...) 162 nccn = 1.3e+8*max(tau,0.001)/0.1*exp(-pzlay/10000.) 165 163 ! The previously used profile was not correct: 166 164 ! Nccn=( epaisseur/masse ) * 2.e+6/0.1*max(tau,0.001)*exp(-pzlay/10000.) 167 165 168 166 if (nccn .le. 1) then 169 167 … … 174 172 ! Typical dust radius profile: 175 173 rccn = max(rdust0*exp(-pzlay/18000.),1.e-9) 176 rice = qice * 0.75 / pi / rho_ice / nccn + rccn*rccn*rccn177 174 rice = qice * 0.75 / pi / rho_ice / nccn + rccn*rccn*rccn 175 178 176 if (rice .le. r3icemin) then 179 177 rice = ricemin … … 185 183 186 184 endif 187 185 188 186 end subroutine updaterice_typ 189 187 !============================================================================
Note: See TracChangeset
for help on using the changeset viewer.
