Changeset 421


Ignore:
Timestamp:
Nov 24, 2011, 4:05:22 PM (14 years ago)
Author:
acolaitis
Message:

## deposition.F: corrected a bug with z0, replaced with z0(ngrid) with the correct call to surfdat.h ## makemeso: corrected syntax of call to compile to make sure that there are no conflicts with other instances of compile in the environment of the user.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/aeronomars/deposition.F

    r416 r421  
    1414#include "chimiedata.h"
    1515#include "conc.h"
     16#include "surfdat.h"
    1617c
    1718c     input
     
    7273c        friction velocity (m.s-1)
    7374c
    74          ustar = ubar*karman/log(zzlay(ig,1)/z0)
     75         ustar = ubar*karman/log(zzlay(ig,1)/z0(ig))
    7576c
    7677c        aerodynamic resistance (s.m-1)
    7778c
    78          ra = 1./(karman*ustar)*log(zzlay(ig,1)/z0)
     79         ra = 1./(karman*ustar)*log(zzlay(ig,1)/z0(ig))
    7980c
    8081c        molecular diffusivity of methane in *air*  (cm2.s-1)
     
    127128         gravity = 3.7
    128129         dp = pplev(ig,1) - pplev(ig,2)
    129          cd = (karman/log(zzlay(ig,1)/z0))**2.
     130         cd = (karman/log(zzlay(ig,1)/z0(ig)))**2.
    130131c
    131132         gam = (4./nuch4)*dp
     
    142143         if (ig .eq. ig_vl1) then
    143144            print*,'**** deposition ****'
    144             print*,'z0     = ', z0, 'm'
     145            print*,'z0     = ', z0(ig), 'm'
    145146            print*,'deltaz = ', deltaz, ' m'
    146147            print*,'deltap = ', dp, 'pa'
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r390 r421  
    729729  # compile ...
    730730  case ${config} in
    731     '')         compile em_real > log_compile 2> log_error
     731    '')         ./compile em_real > log_compile 2> log_error
    732732                    # save executables 
    733733                    cd main
     
    745745    'ideal')        #mkdir 'test/em_quarter_ss' 2> /dev/null
    746746                    echo '>>> YOUR CONFIG IS : '${config}
    747                     compile em_quarter_ss > log_compile 2> log_error
     747                    ./compile em_quarter_ss > log_compile 2> log_error
    748748                    # save executables 
    749749                    cd main
     
    761761    'les')          echo '>>> YOUR CONFIG IS : '${config}
    762762                    mkdir 'test/em_les' 2> /dev/null                   
    763                     compile em_les > log_compile 2> log_error
     763                    ./compile em_les > log_compile 2> log_error
    764764                    # save executables 
    765765                    cd main
Note: See TracChangeset for help on using the changeset viewer.