Changeset 2622 for trunk/LMDZ.VENUS/libf/phyvenus/nonoro_gwd_ran_mod.F90
- Timestamp:
- Feb 16, 2022, 4:26:05 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/libf/phyvenus/nonoro_gwd_ran_mod.F90
r2580 r2622 96 96 ! generic : kmin=1/sqrt(DxDy) Dx and Dy horizontal grid 97 97 98 ! REAL, parameter:: cmax = 61. ! Max horizontal absolute phase velocity TestGW6 98 !---------------------------------------- 99 ! VCD 1.1 tuning 100 ! REAL, parameter:: cmax = 61. ! Max horizontal absolute phase velocity 99 101 !---------------------------------------- 100 102 ! VCD 2.0 tuning 101 REAL, parameter:: cmax = 301. ! Max horizontal absolute phase velocity TestGW6102 !---------------------------------------- 103 103 REAL, parameter:: cmax = 61. ! Max horizontal absolute phase velocity 104 !---------------------------------------- 105 104 106 ! generic : cmax=zonal wind at launch 105 107 REAL, parameter:: cmin = 1. ! Min horizontal absolute phase velocity … … 126 128 127 129 ! 0.3.2 Parameters of waves dissipations 128 REAL, parameter:: sat = 0.85 ! saturation parameter 129 REAL, parameter:: rdiss = 0.1 ! coefficient of dissipation 130 !---------------------------------------- 131 ! VCD 1.1 tuning 132 ! REAL, parameter:: sat = 0.85 ! saturation parameter 133 ! REAL, parameter:: rdiss = 0.1 ! coefficient of dissipation 134 !---------------------------------------- 135 ! VCD 2.0 tuning 136 REAL, parameter:: sat = 0.6 ! saturation parameter 137 REAL, parameter:: rdiss = 8.e-4 ! coefficient of dissipation 138 !---------------------------------------- 130 139 REAL, parameter:: zoisec = 1.e-8 ! security for intrinsic freguency 131 140 132 141 ! 0.3.3 Background flow at 1/2 levels and vertical coordinate 133 142 REAL H0bis(ngrid, nlayer) ! characteristic height of the atmosphere 143 REAL min_k(ngrid) ! min(kstar,kmin) 134 144 REAL, save:: H0 ! characteristic height of the atmosphere 135 REAL, parameter:: pr = 5e5 ! Reference pressure [Pa] ! VENUS: cloud layer 145 REAL, save:: MDR ! characteristic mass density 146 !---------------------------------------- 147 ! VCD 1.1 tuning 148 ! REAL, parameter:: pr = 5e5 ! Reference pressure [Pa] ! VENUS: cloud layer 149 !---------------------------------------- 150 ! VCD 2.0 tuning 151 REAL, parameter:: pr = 5e4 ! Reference pressure [Pa] ! VENUS: cloud layer 152 !---------------------------------------- 136 153 REAL, parameter:: tr = 300. ! Reference temperature [K] ! VENUS: cloud layer 137 154 REAL zh(ngrid, nlayer + 1) ! Log-pressure altitude (constant H0) … … 156 173 ! Characteristic vertical scale height 157 174 H0 = RD * tr / RG 175 ! Characteristic mass density at launch altitude 176 MDR = pr / ( RD * tr ) 158 177 ! Control 159 178 if (deltat .LT. dtime) THEN … … 214 233 uh(:, nlayer + 1) = uu(:, nlayer) 215 234 vh(:, nlayer + 1) = vv(:, nlayer) 235 236 ! TN+GG April/June 2020 237 ! "Individual waves are not supposed 238 ! to occupy the entire domain, but 239 ! only a faction of it" Lott+2012 240 ! minimum value of k between kmin and kstar 241 DO ii = 1, ngrid 242 kstar = RPI / sqrt(cell_area(ii)) 243 min_k(ii) = max(kmin,kstar) 244 end DO 216 245 217 246 ! 3. WAVES CHARACTERISTICS CHOSEN RANDOMLY … … 235 264 ! horizontal wavenumber amplitude 236 265 ! zk(jw, ii) = kmin + (kmax - kmin) * ran_num_2 237 ! TN+GG April/June 2020 238 ! "Individual waves are not supposed 239 ! to occupy the entire domain, but 240 ! only a faction of it" Lott+2012 241 kstar = RPI / sqrt(cell_area(ii)) 242 zk(jw, ii) = max(kmin,kstar) + (kmax - max(kmin,kstar)) * ran_num_2 266 zk(jw, ii) = min_k(ii) + (kmax - min_k(ii)) * ran_num_2 243 267 244 268 ! horizontal phase speed … … 320 344 ! Intrinsic frequency 321 345 intr_freq_p(jw, :) = zo(jw, :) - zk(jw, :) * cos(zp(jw, :)) * uh(:, ll + 1) & 322 - zk(jw, :) * sin(zp(jw, :)) * vh(:, ll + 1)346 - zk(jw, :) * sin(zp(jw, :)) * vh(:, ll + 1) 323 347 ! Vertical velocity in flux formulation 324 348 wwp(jw, :) = min( & … … 336 360 * abs(intr_freq_p(jw, :))**3 / bv(:, ll + 1) & 337 361 * exp(-zh(:, ll + 1) / H0) & 338 * sat**2 * kmin**2 / zk(jw, :)**4) 362 !! Correction for VCD 2.0 363 ! * sat**2 * kmin**2 / zk(jw, :)**4) 364 * sat**2 * min_k(:)**2 * MDR / zk(jw, :)**4) 339 365 end DO 340 366
Note: See TracChangeset
for help on using the changeset viewer.