Changeset 310 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Sep 29, 2011, 3:59:01 PM (13 years ago)
Author:
aslmd
Message:

MESOSCALE:
-- Code in storm scenario corresponds to 'OMEGA' reference case [Julien Faure]
-- Easier settings for dust lifting without the need to recompile [see below]
-- A few modifications to plot and dust-devil detection PYTHON routines

29/09/11 == AS

--> To easily explore sensitivity to lifting thresholds: in dustlift.F, ustar_seuil=sqrt(stress/rho)

and alpha_lift[dust_mass] can be prescribed through an external stress.def parameter file.
--- alpha_lift[dust_number] is computed from alpha_lift[dust_mass] as in initracer.F
--- ustar_seuil is more user-friendly than stress because direct comparison with ustar from model

--> For the moment this is MESOSCALE only, but potentially useful to everyone

Location:
trunk/LMDZ.MARS/libf/phymars
Files:
2 edited

Legend:

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

    r86 r310  
    5050!!!! AS: you have to compile with -DMESOSCALE to do so
    5151      REAL alpha
     52      REAL r0_lift
    5253      INTEGER ierr
     54      REAL ulim
    5355        OPEN(99,file='stress.def',status='old',form='formatted'
    5456     .   ,iostat=ierr)
    5557        !!! no file => default values
    5658        IF(ierr.EQ.0) THEN
    57           READ(99,*) stress_seuil
     59          READ(99,*) ulim !ulim = sqrt(stress_seuil/rho) avec rho = 0.02.
     60                          !prendre ulim = 1.061 m/s pour avoir stress_seuil = 0.0225
    5861          READ(99,*) alpha
     62          stress_seuil = 0.02 * ulim * ulim
    5963          write(*,*) 'USER-DEFINED threshold: ', stress_seuil, alpha
    6064          CLOSE(99)
    61           alpha_lift(1:nq) = alpha
     65          alpha_lift(igcm_dust_mass) = alpha
     66          r0_lift = radius(igcm_dust_mass) / ref_r0
     67          alpha_lift(igcm_dust_number)=r3n_q*
     68     &                        alpha_lift(igcm_dust_mass)/r0_lift**3
     69          write(*,*) 'set dust number: ', alpha_lift(igcm_dust_number)
    6270        ENDIF
    6371#endif
  • trunk/LMDZ.MARS/libf/phymars/vdifc.F

    r291 r310  
    494494c       Dust lifting:
    495495        if (lifting) then
     496#ifndef MESOSCALE
    496497           if (doubleq.AND.submicron) then
    497498             do ig=1,ngrid
     
    522523     &                    pdqsdif)
    523524           endif !doubleq.AND.submicron
     525#else
     526            call dustlift(ngrid,nlay,nq,rho,zcdh_true,zcdh,co2ice,
     527     &                    pdqsdif)
     528#endif
    524529        else
    525530           pdqsdif(1:ngrid,1:nq) = 0.
Note: See TracChangeset for help on using the changeset viewer.