Ignore:
Timestamp:
Feb 16, 2022, 4:26:05 PM (3 years ago)
Author:
slebonnois
Message:

SL: VENUS update (i) bug correction (2 bugs, phytrac and physiq), affected meam molec mass computations... (ii) updates for VCD 2.0 (iii) aeropacity: for latitudinal variations of the cloud distribution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/nonoro_gwd_ran_mod.F90

    r2580 r2622  
    9696! generic : kmin=1/sqrt(DxDy) Dx and Dy horizontal grid
    9797
    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
    99101!----------------------------------------
    100102! VCD 2.0 tuning
    101      REAL, parameter:: cmax = 301.   ! Max horizontal absolute phase velocity  TestGW6
    102 !----------------------------------------
    103 
     103      REAL, parameter:: cmax = 61.   ! Max horizontal absolute phase velocity
     104!----------------------------------------
     105   
    104106! generic : cmax=zonal wind at launch
    105107     REAL, parameter:: cmin = 1.    ! Min horizontal absolute phase velocity
     
    126128
    127129     ! 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!----------------------------------------
    130139     REAL, parameter:: zoisec = 1.e-8 ! security for intrinsic freguency
    131140
    132141     ! 0.3.3 Background flow at 1/2 levels and vertical coordinate
    133142     REAL H0bis(ngrid, nlayer)       ! characteristic height of the atmosphere
     143     REAL min_k(ngrid)               ! min(kstar,kmin)
    134144     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!----------------------------------------
    136153     REAL, parameter:: tr = 300.     ! Reference temperature [K] ! VENUS: cloud layer
    137154     REAL zh(ngrid, nlayer + 1)      ! Log-pressure altitude (constant H0)
     
    156173        ! Characteristic vertical scale height
    157174        H0 = RD * tr / RG
     175        ! Characteristic mass density at launch altitude
     176        MDR = pr / ( RD * tr )
    158177        ! Control
    159178        if (deltat .LT. dtime) THEN
     
    214233     uh(:, nlayer + 1) = uu(:, nlayer)
    215234     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
    216245
    217246! 3. WAVES CHARACTERISTICS CHOSEN RANDOMLY
     
    235264           ! horizontal wavenumber amplitude
    236265!           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
    243267
    244268           ! horizontal phase speed
     
    320344           ! Intrinsic frequency
    321345           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)
    323347           ! Vertical velocity in flux formulation
    324348           wwp(jw, :) = min(                                                              &
     
    336360                      * abs(intr_freq_p(jw, :))**3 / bv(:, ll + 1)                        &
    337361                      * 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)                       
    339365        end DO
    340366
Note: See TracChangeset for help on using the changeset viewer.