Ignore:
Timestamp:
Jul 24, 2013, 1:49:19 PM (12 years ago)
Author:
idelkadi
Message:
  1. transform phytrac into a module, in order to pass some variables

(tracer tendencies) to the standard physiq ouput codes.

  1. Correct a (big) bug in the call to phytrac.
  2. Include w*, and ALEs in the call to phytrac and traclmdz.

physiq.F

  • Bug correction in the call of phytrac from the physics u10m,v10m, ustar -> zu10m, zv10m, zustar

phytrac.F90 -> phytrac_mod.F90

  • Tranformation of routine phytrac into a module phytrac_mod, in order to tranfer the tracer tendencies from phytrac to

phys_output...

  • Inclusion of w*, Ale bl/wake in the call to phytrac and traclmdz

(to be used for dust emmission)

by respectively, vertical diffusion, thermal plumes and convection

  • desactivation of ini_histrac.h and write_histrac.h
  • USE phys_output_mod removed since it was creating a circular

dependency

between phytrac_mod and phys_output_mod.
So the automatic computation of ecrit_tra is desactivated

ini_histrac.h and write_histrac.h

Descactivated in phytrac but kept for backard compatibility
couchelimite -> iflag_vdf_trac>0

phys_output_ctrlout_mod.F90

New variables : o_dtr_vdf, o_dtr_the ... for output of tracer tendencies

phys_output_mod.F90

Default definition for these new output variables.

phys_output_write_F90.h

disapears, included directly in phys_output_write_mod.F90

phys_output_write_mod.F90

writing of the tracer tendencies

phys_state_var_mod.F90

New declaration (wstar)

traclmdz_mod.F90

  • Inclusion of w*, Ale bl/wake in the call to phytrac and traclmdz

(to be used for dust emmission)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq.F

    r1807 r1813  
    5050#endif
    5151      USE indice_sol_mod
     52      USE phytrac_mod, ONLY : phytrac
    5253
    5354!IM stations CFMIP
     
    15231524c$OMP BARRIER
    15241525
     1526#undef histISCCP
    15251527#ifdef histISCCP
    15261528#include "ini_histISCCP.h"
    15271529#endif
    15281530
     1531#undef histNMC
    15291532#ifdef histNMC
    15301533#include "ini_histhfNMC.h"
     
    36373640       END IF
    36383641
     3642      wstar=0. ! FH 2013/07/22 a corriger des que dans pbl_surface_mod
    36393643      call phytrac (
    36403644     I     itap,     days_elapsed+1,    jH_cur,   debut,
     
    36423646     I     paprs,    pplay,     pmfu,     pmfd,
    36433647     I     pen_u,    pde_u,     pen_d,    pde_d,
    3644      I     cdragh,   coefh(:,:,is_ave),     fm_therm, entr_therm,
     3648     I     cdragh,   coefh(:,:,is_ave),   fm_therm, entr_therm,
    36453649     I     u1,       v1,        ftsol,    pctsrf,
    3646      I     ustar,     u10m,      v10m,
     3650     I     zustar,   zu10m,     zv10m,
     3651     I     wstar(:,is_ave),    ale_bl_stat,         ale_wake,
    36473652     I     rlat,     rlon,
    36483653     I     frac_impa,frac_nucl, beta_prec_fisrt,beta_prec,
Note: See TracChangeset for help on using the changeset viewer.