Changeset 240 in lmdz_wrf for trunk/WRFV3/phys


Ignore:
Timestamp:
Feb 2, 2015, 1:05:23 PM (10 years ago)
Author:
lfita
Message:

Adding map factor on tendencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WRFV3/phys/module_lmdz_phys.F

    r184 r240  
    3030     &        wrf_permass, wrf_basemass,                                             &
    3131     &        wrf_mut, wrf_muu, wrf_muv,                                             &
     32     &        wrf_mapfac,                                    &
    3233     &        wrf_Utend, wrf_Vtend, wrf_Ttend,                                       &
    3334     &        wrf_MOISTtend, wrf_psfctend,                                           &
     
    110111    REAL, INTENT(IN), DIMENSION(wims:wime,wjms:wjme)     :: wrf_Lon, wrf_Lat,        &
    111112        & wrf_basemass, wrf_permass, wrf_mapft, wrf_mapfu, wrf_mapfv, wrf_mut,       &
    112         & wrf_muu, wrf_muv
     113        & wrf_muu, wrf_muv, wrf_mapfac
    113114
    114115    REAL, INTENT(OUT), DIMENSION(wims:wime,wjms:wjme)    :: wrf_psfctend
     
    12891290! All the tendencies have to be given as decoupled from the dry air mass column! (see dyn_em/module_em.F:rk_update_scalar)
    12901291!!
     1292! L. Fita, LMD January 2015. Adding map factor!
    12911293    DO iz=1,dimz
    1292       wrf_Ttend(:,iz,:) = wrf_Ttend(:,iz,:)*wrf_mut
    1293       wrf_Utend(:,iz,:) = wrf_Utend(:,iz,:)*wrf_muu
    1294       wrf_Vtend(:,iz,:) = wrf_Vtend(:,iz,:)*wrf_muv
     1294      wrf_Ttend(:,iz,:) = wrf_Ttend(:,iz,:)*wrf_mut/wrf_mapfac
     1295      wrf_Utend(:,iz,:) = wrf_Utend(:,iz,:)*wrf_muu/wrf_mapfac
     1296      wrf_Vtend(:,iz,:) = wrf_Vtend(:,iz,:)*wrf_muv/wrf_mapfac
    12951297      DO iq=1,wnum3dm
    1296         wrf_MOISTtend(:,iz,:,iq) = wrf_MOISTtend(:,iz,:,iq)*wrf_mut
     1298        wrf_MOISTtend(:,iz,:,iq) = wrf_MOISTtend(:,iz,:,iq)*wrf_mut/wrf_mapfac
    12971299      END DO
    12981300    END DO
Note: See TracChangeset for help on using the changeset viewer.