Ignore:
Timestamp:
May 5, 2014, 11:38:51 AM (11 years ago)
Author:
aslmd
Message:

MESOSCALE. A necessary complement commit to r1234 where a upgraded interface making use of modules was proposed. Completed the new formulation for module_lmd_driver for newphys with improved interface with both ini/bdy conditions and physical parameterizations. Changed the Registry accordingly. Finished changes about I/O with the LMD physics (see LMDZ.MARS/README). Made all those changes compatible for old interface, and LES runs (checked with test cases), as well as old input files. Changed makemeso to account for full flexibility on changin nx ny ntracers nproc with newphys. Cleaned the now obsolete bits of code used in LMD physics shared with the GCM. ----- Everything is now ready to properly code both restart runs and nesting for mesoscale runs with new physics.

File:
1 edited

Legend:

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

    r1226 r1236  
    66     $                pdudif,pdvdif,pdhdif,pdtsrf,pq2,
    77     $                pdqdif,pdqsdif,wstar,zcdv_true,zcdh_true,
    8      $                hfmax,sensibFlux
    9 #ifdef MESOSCALE
    10      &                ,flag_LES
    11 #endif
    12      &                )
     8     $                hfmax,sensibFlux)
     9
    1310      use tracer_mod, only: noms, igcm_dust_mass, igcm_dust_number,
    1411     &                      igcm_dust_submicron, igcm_h2o_vap,
     
    1613      use surfdat_h, only: watercaptag, frost_albedo_threshold, dryness
    1714      USE comcstfi_h
     15      use turb_mod, only: turb_resolved
    1816      IMPLICIT NONE
    1917
     
    156154      REAL,INTENT(OUT) :: sensibFlux(ngrid)
    157155
    158 #ifdef MESOSCALE
    159       LOGICAL flag_LES     !! pour LES avec isfflx!=0
    160 #endif
    161156c    ** un petit test de coherence
    162157c       --------------------------
     
    330325
    331326      CALL vdif_cd(ngrid,nlay,pz0,g,pzlay,pu,pv,wstar,ptsrf,ph
    332      &             ,zcdv_true,zcdh_true
    333 #ifdef MESOSCALE
    334      &                ,flag_LES
    335 #endif
    336      &           )
     327     &             ,zcdv_true,zcdh_true)
    337328
    338329        zu2(:)=pu(:,1)*pu(:,1)+pv(:,1)*pv(:,1)
     
    554545
    555546      llnt(:)=1
    556 #ifdef MESOSCALE
    557       IF (.not.flag_LES) THEN
    558 #endif
     547      IF (.not.turb_resolved) THEN
    559548      IF (callcond) THEN
    560549       DO ig=1,ngrid
     
    570559      ENDIF
    571560
    572 #ifdef MESOSCALE
    573561      ENDIF
    574 #endif
    575562
    576563      DO ig=1,ngrid
     
    717704             end do
    718705           else
     706#endif
    719707            call dustlift(ngrid,nlay,nq,rho,zcdh_true,zcdh,co2ice,
    720708     &                    pdqsdif)
     709#ifndef MESOSCALE
    721710           endif !doubleq.AND.submicron
    722 #else
    723             call dustlift(ngrid,nlay,nq,rho,zcdh_true,zcdh,co2ice,
    724      &                    pdqsdif)
    725711#endif
    726712        else
Note: See TracChangeset for help on using the changeset viewer.