Ignore:
Timestamp:
Jun 9, 2020, 11:48:45 AM (4 years ago)
Author:
jvatant
Message:

In addition to r2297, for the n-layer aerosol scheme, enables to set the particle size effective variance with aeronlay_nueff in callphys.def.
--JVO

Location:
trunk/LMDZ.GENERIC/libf/phystd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/callkeys_mod.F90

    r2300 r2340  
    117117      real,dimension(:),allocatable,save :: aeronlay_sclhght
    118118      real,dimension(:),allocatable,save :: aeronlay_size
    119 !$OMP THREADPRIVATE(aeronlay_tauref,aeronlay_lamref,aeronlay_ptop,aeronlay_pbot,aeronlay_sclhght,aeronlay_size)
     119      real,dimension(:),allocatable,save :: aeronlay_nueff
     120!$OMP THREADPRIVATE(aeronlay_tauref,aeronlay_lamref,aeronlay_ptop,aeronlay_pbot,aeronlay_sclhght,aeronlay_size,aeronlay_nueff)
    120121      real,save :: co2supsat
    121122      real,save :: pceil
  • trunk/LMDZ.GENERIC/libf/phystd/inifis_mod.F90

    r2309 r2340  
    704704     IF(.NOT.ALLOCATED(aeronlay_sclhght))     ALLOCATE(aeronlay_sclhght(nlayaero))     
    705705     IF(.NOT.ALLOCATED(aeronlay_size))        ALLOCATE(aeronlay_size(nlayaero))     
     706     IF(.NOT.ALLOCATED(aeronlay_nueff))       ALLOCATE(aeronlay_nueff(nlayaero))     
    706707     IF(.NOT.ALLOCATED(optprop_aeronlay_ir))  ALLOCATE(optprop_aeronlay_ir(nlayaero))     
    707708     IF(.NOT.ALLOCATED(optprop_aeronlay_vis)) ALLOCATE(optprop_aeronlay_vis(nlayaero))     
     
    739740     write(*,*)" aeronlay_sclhght = ",aeronlay_sclhght
    740741
    741      write(*,*)"Generic n-layer aerosols: particles sizes (m)"
     742     write(*,*)"Generic n-layer aerosols: particles effective radii (m)"
    742743     aeronlay_size=1.e-6
    743744     call getin_p("aeronlay_size",aeronlay_size)
    744745     write(*,*)" aeronlay_size = ",aeronlay_size
     746
     747     write(*,*)"Generic n-layer aerosols: particles radii effective variance"
     748     aeronlay_nueff=0.1
     749     call getin_p("aeronlay_nueff",aeronlay_nueff)
     750     write(*,*)" aeronlay_nueff = ",aeronlay_nueff
    745751
    746752     write(*,*)"Generic n-layer aerosols: VIS optical properties file"
  • trunk/LMDZ.GENERIC/libf/phystd/radii_mod.F90

    r2297 r2340  
    3838      use aerosol_mod, only: iaero_back2lay, iaero_co2, iaero_dust, &
    3939                             iaero_h2o, iaero_h2so4, iaero_nh3, iaero_nlay, iaero_aurora
    40       use callkeys_mod, only: size_nh3_cloud, nlayaero, aeronlay_size
     40      use callkeys_mod, only: size_nh3_cloud, nlayaero, aeronlay_size, aeronlay_nueff
    4141
    4242      Implicit none
     
    9494              if(iaer.eq.iaero_nlay(ia))then ! N-layer aerosols
    9595                 reffrad(1:ngrid,1:nlayer,iaer) = aeronlay_size(ia)
    96                  nueffrad(1:ngrid,1:nlayer,iaer) = 0.1
     96                 nueffrad(1:ngrid,1:nlayer,iaer) = aeronlay_nueff(ia)
    9797              endif
    9898            enddo
Note: See TracChangeset for help on using the changeset viewer.