Ignore:
Timestamp:
May 6, 2010, 2:19:18 PM (14 years ago)
Author:
lguez
Message:

Added optional ozone tracer with chemistry parameterized by Daniel
Cariolle. This tracer is passive: it has no influence on the rest of
the simulation.

Added variable "zmasse" in file "histrac.nc". Corrected long name of
variable "pplay" in "histrac.nc". Changed name of variable "t" to "T"
in "histrac.nc", corrected long name and unit.

In "phytrac", moved definition of "zmasse" toward the beginning of the
procedure, so that "zmasse" can be given as argument to
"traclmdz". Also added arguments "julien", "gmtime" and "xlon" to
"traclmdz". The four additional arguments are required for the ozone
tracer.

In module "traclmdz_mod", factorized declaration "implicit none" that
was in each procedure. There is now an equivalent single declaration
at the module level.

In procedure "traclmdz", removed variable "delp". Use "zmasse * rg"
instead since we now have "zmasse" as an argument.

Tests. Compilations on Brodie only, with optimization options "-debug"
and "-dev", parallelization options "none", "mpi", "omp" and
"mpi_omp", this revision and revision 1373. Run cases with and without
ozone tracer, 1 and 2 MPI processes, 1 and 2 OpenMP
threads. Comparisons of all cases are ok, except for strange
variations in variables "d_tr_cl_RN" and "d_tr_cl_PB" of file
"histrac.nc", variables "RN" and "PB" of "restart.nc", variables
"trs_RN" and "trs_PB" of "restartphy.nc". Relative variations of these
variables between cases are of order 1e-7 or less, after one day of
simulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/phylmd/phytrac.F90

    r1376 r1379  
    1 
    21!$Id $
    32
     
    229228!############################################ END INITIALIZATION #######
    230229
     230  DO k=1,klev
     231     DO i=1,klon
     232        zmasse(i,k)=(paprs(i,k)-paprs(i,k+1))/rg
     233     END DO
     234  END DO
     235
    231236!===============================================================================
    232237!    -- Do specific treatment according to chemestry model or local LMDZ tracers
     
    237242     !    -- Traitement des traceurs avec traclmdz
    238243     
    239      CALL traclmdz(&
    240           nstep,    pdtphys,      t_seri,           &
    241           paprs,    pplay,        cdragh,  coefh,   &
    242           yu1,      yv1,          ftsol,   pctsrf,  &
    243           xlat,     couchelimite, sh,               &
    244           tr_seri,  source,       solsym,  d_tr_cl)
     244     CALL traclmdz(nstep, julien, gmtime, pdtphys, t_seri, paprs, pplay, &
     245          cdragh,  coefh, yu1, yv1, ftsol, pctsrf, xlat, xlon, couchelimite, &
     246          sh, tr_seri, source, solsym, d_tr_cl, zmasse)
    245247     
    246248  CASE('inca')
     
    298300!======================================================================
    299301
    300   DO k=1,klev
    301      DO i=1,klon
    302         zmasse(i,k)=(paprs(i,k)-paprs(i,k+1))/rg
    303      END DO
    304   END DO
    305 
    306302  DO it=1,nbtr
    307303     DO k=1,klev
Note: See TracChangeset for help on using the changeset viewer.