Ignore:
Timestamp:
Sep 20, 2012, 5:50:17 PM (12 years ago)
Author:
acolaitis
Message:

MESOSCALE. Fixed lifting for LES runs (put lifting after newsedim otherwise lifting is stupidly counteracted). Transferred LES def files to SIMU DEF. Added def files for high resolution monster LES. Fixed a small bug in makemeso for debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_les.F

    r505 r790  
    5555            zdudif(ig,l) = 0.
    5656            zdhdif(ig,l) = 0.
    57             DO iq=1, nq
    58               zdqdif(ig,l,iq) = 0.
    59               zdqsdif(ig,iq) = 0. !! sortir de la boucle
    60             ENDDO
    6157          ENDDO
    6258         ENDDO
     59         IF (lifting .and. doubleq) THEN
     60         !! lifted dust is injected in the first layer.
     61         !! Sedimentation must be called after turbulent mixing, i.e. on next step, after WRF.
     62         !! => lifted dust is not incremented before the sedimentation step.
     63            zdqdif(:,1,:)=0.
     64            zdqdif(:,1,igcm_dust_number)=-zdqsdif(:,igcm_dust_number)
     65            zdqdif(:,1,igcm_dust_mass)=-zdqsdif(:,igcm_dust_mass)
     66            zdqdif(:,2:nlayermx,:)=0.
     67            DO iq=1, nq
     68              IF ((iq .ne. igcm_dust_mass)
     69     &        .and. (iq .ne. igcm_dust_number)) THEN
     70                zdqsdif(:,iq)=0.
     71              ENDIF
     72            ENDDO
     73         ELSE
     74            DO ig=1,ngrid
     75             DO l=1,nlayer
     76              DO iq=1, nq
     77                zdqdif(ig,l,iq) = 0.
     78                zdqsdif(ig,iq) = 0. !! sortir de la boucle
     79              ENDDO
     80             ENDDO
     81            ENDDO
     82         ENDIF
    6383      ENDIF
    6484!!! LES LES       
Note: See TracChangeset for help on using the changeset viewer.