Ignore:
Timestamp:
Mar 30, 2015, 11:08:45 AM (10 years ago)
Author:
jyg
Message:

1/ Introduction of two variables in the ".def" files: (i) cvl_sig2feed is
the top of the convective feeding layer in sigma coordinates (D=0.97);
(ii) cvl_comp_threshold is the threshold fraction of convective points
below which compression occurs (D=1.).
2/ Corrections of various bugs revealed by the changes in compression:

  • correct bugs in cv3a_uncompress.F90 for 3 fields used for convective

scavenging.

  • add a reset to zero of "sig" and "w0" for non-convective points

(cva_driver.F90).

  • in cv3_routines.F90, correct bounds of a few loops in cv3_undilute2,

correct the reset of the no-convection counter in cv3_yield.

  • in phys_output_write_mod.F90, correct output of wdtrainA and wdtrainM.

3/ Improve declarations in various subroutines.

Modified files:

conema3.h
cv3param.h
cv3p1_closure.F90
conf_phys_m.F90
cv3a_compress.F90
phys_output_write_mod.F90
cv3_routines.F90
concvl.F90
cva_driver.F90
cv3a_uncompress.F90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/conf_phys_m.F90

    r2243 r2253  
    191191    REAL,SAVE :: ecrit_LES_omp
    192192    REAL,SAVE :: ecrit_tra_omp
     193    REAL,SAVE :: cvl_comp_threshold_omp
     194    REAL,SAVE :: cvl_sig2feed_omp
    193195    REAL,SAVE :: cvl_corr_omp
    194196    LOGICAL,SAVE :: ok_lic_melt_omp
     
    764766    ! KE
    765767    !
     768
     769    !Config key  = cvl_comp_threshold
     770    !Config Desc = maximum fraction of convective points enabling compression
     771    !Config Def  = 1.00
     772    !Config Help = fields are compressed when less than a fraction cvl_comp_threshold
     773    !Config Help = of the points is convective.
     774    cvl_comp_threshold_omp = 1.00
     775    CALL getin('cvl_comp_threshold', cvl_comp_threshold_omp)
     776
     777    !Config key  = cvl_sig2feed
     778    !Config Desc = sigma coordinate at top of feeding layer
     779    !Config Def  = 0.97
     780    !Config Help = deep convection is fed by the layer extending from the surface (pressure ps)
     781    !Config Help = and cvl_sig2feed*ps.
     782    cvl_sig2feed_omp = 0.97
     783    CALL getin('cvl_sig2feed', cvl_sig2feed_omp)
    766784
    767785    !Config key  = cvl_corr
     
    20342052    ecrit_tra = ecrit_tra_omp
    20352053    ecrit_reg = ecrit_reg_omp
     2054    cvl_comp_threshold = cvl_comp_threshold_omp
     2055    cvl_sig2feed = cvl_sig2feed_omp
    20362056    cvl_corr = cvl_corr_omp
    20372057    ok_lic_melt = ok_lic_melt_omp
     
    21352155    write(lunout,*)' RN2O_per = ',RN2O_per,' RCFC11_per = ', RCFC11_per
    21362156    write(lunout,*)' RCFC12_per = ',RCFC12_per
     2157    write(lunout,*)' cvl_comp_threshold=', cvl_comp_threshold
     2158    write(lunout,*)' cvl_sig2feed=', cvl_sig2feed
    21372159    write(lunout,*)' cvl_corr=', cvl_corr
    21382160    write(lunout,*)'ok_lic_melt=', ok_lic_melt
Note: See TracChangeset for help on using the changeset viewer.