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.

Location:
trunk/LMDZ.MARS/libf/phymars/meso_inc
Files:
6 deleted
1 edited

Legend:

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

    r790 r1236  
    22       
    33             DO ig=1,ngrid
    4 !! sensible heat flux in W/m2
    5 
    6              sensheat(ig) = zflubid(ig)-capcal(ig)*zdtsdif(ig)
     4!!! sensible heat flux in W/m2
     5!
     6!             sensheat(ig) = zflubid(ig)-capcal(ig)*zdtsdif(ig)
    77
    88!! u star in similarity theory in m/s
     
    1616            DO ig=1,ngrid
    1717
    18 ! New SL parametrization, correct formulation for sensheat :
    19 
    20             sensheat(ig) = (pplay(ig,1)/(r*pt(ig,1)))*cpp
    21      &        *sqrt(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1)
    22      &        + (log(1.+0.7*wstar(ig) + 2.3*wstar(ig)**2))**2)
    23      &        *zcdh(ig)*(tsurf(ig)-zh(ig,1))
     18!! New SL parametrization, correct formulation for sensheat :
     19!
     20!            sensheat(ig) = (pplay(ig,1)/(r*pt(ig,1)))*cpp
     21!     &        *sqrt(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1)
     22!     &        + (log(1.+0.7*wstar(ig) + 2.3*wstar(ig)**2))**2)
     23!     &        *zcdh(ig)*(tsurf(ig)-zh(ig,1))
    2424
    2525! New SL parametrization, ustar is more accurately computed in vdif_cd :
     
    4040!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    4141!!! LES LES
    42        IF (flag_LES) THEN       
     42       IF (turb_resolved) THEN       
    4343
    4444         write (*,*) '************************************************'
     
    4949         write (*,*) '************************************************'
    5050
    51          DO ig=1,ngrid
    52           wstar(ig)=0.  !! no additional gustiness needed in surface layer (see vdifc.F)
    53           DO l=1,nlayer
    54             zdvdif(ig,l) = 0.
    55             zdudif(ig,l) = 0.
    56             zdhdif(ig,l) = 0.
    57           ENDDO
    58          ENDDO
    5951         IF (lifting .and. doubleq) THEN
    6052         !! lifted dust is injected in the first layer.
Note: See TracChangeset for help on using the changeset viewer.