- Timestamp:
- Jul 7, 2020, 3:11:53 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2398 r2400 3121 3121 == 06/07/2020 == EM 3122 3122 Some code cleanup: use "call abort_physic()" instead of "stop" or "call abort" 3123 3124 == 07/07/2020 == DB 3125 Add kstar parameter to control kmin value. kmi=1/lambda_max, to ensure the "subgrid scale" characteristic, we have to constrain the GW's wavelength by the size of the mesh -
trunk/LMDZ.MARS/libf/phymars/nonoro_gwd_ran_mod.F90
r2399 r2400 39 39 use assert_m, only : assert 40 40 use vertical_layers_mod, only : presnivs 41 use geometry_mod, only: cell_area 41 42 implicit none 42 43 … … 88 89 REAL, parameter:: kmax = 7.e-4 ! Max horizontal wavenumber 89 90 REAL, parameter:: kmin = 2.e-5 ! Min horizontal wavenumber 91 REAL kstar ! Min horizontal wavenumber constrained by horizontal resolution 90 92 REAL, parameter:: cmax = 30. ! Max horizontal absolute phase velocity 91 93 REAL, parameter:: cmin = 1. ! Min horizontal absolute phase velocity 92 REAL CPHA ! absolute PHASE VELOCITY frequency94 REAL CPHA ! absolute PHASE VELOCITY frequency 93 95 REAL ZK(NW, ngrid) ! Horizontal wavenumber amplitude 94 96 REAL ZP(NW, ngrid) ! Horizontal wavenumber angle … … 263 265 * PI / 2. 264 266 ! Horizontal wavenumber amplitude 265 ZK(JW, II) = KMIN + (KMAX - KMIN) *RAN_NUM_2 267 ! From Venus model: TN+GG April/June 2020 (rev2381) 268 ! "Individual waves are not supposed to occupy the 269 ! entire domain, but only a fraction of it" (Lott+2012) 270 271 !ZK(JW, II) = KMIN + (KMAX - KMIN) *RAN_NUM_2 272 KSTAR = PI/SQRT(cell_area(II)) 273 ZK(JW, II) = MAX(KMIN,KSTAR) + (KMAX - MAX(KMIN,KSTAR)) *RAN_NUM_2 266 274 ! Horizontal phase speed 267 275 CPHA = 0.
Note: See TracChangeset
for help on using the changeset viewer.