Changeset 2287


Ignore:
Timestamp:
May 22, 2015, 5:52:37 PM (10 years ago)
Author:
crio
Message:
 
Location:
LMDZ5/trunk/libf/phylmd
Files:
3 edited

Legend:

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

    r2254 r2287  
    4040    include "thermcell.h"
    4141    include "iniprint.h"
     42
    4243
    4344    !IM : on inclut/initialise les taux de CH4, N2O, CFC11 et CFC12
     
    145146    INTEGER, SAVE :: iflag_mix_omp
    146147    real, save :: scut_omp, qqa1_omp, qqa2_omp, gammas_omp, Fmax_omp, alphas_omp
     148    REAL, SAVE :: tmax_fonte_cv_omp
    147149
    148150    REAL,SAVE :: R_ecc_omp,R_peri_omp,R_incl_omp,solaire_omp
     
    17881790    Fmax_omp = 0.65
    17891791    call getin('Fmax',Fmax_omp)
     1792
     1793    !
     1794    !Config Key  = tmax_fonte_cv
     1795    !Config Desc =
     1796    !Config Def  = 275.15
     1797    !Config Help =
     1798    !
     1799    tmax_fonte_cv_omp = 275.15
     1800    call getin('tmax_fonte_cv',tmax_fonte_cv_omp)
    17901801
    17911802    !
     
    20852096    gammas = gammas_omp
    20862097    Fmax = Fmax_omp
     2098    tmax_fonte_cv = tmax_fonte_cv_omp
    20872099    alphas = alphas_omp
    20882100    ok_strato = ok_strato_omp
     
    22752287    write(lunout,*)' gammas = ', gammas
    22762288    write(lunout,*)' Fmax = ', Fmax
     2289    write(lunout,*)' tmax_fonte_cv = ', tmax_fonte_cv
    22772290    write(lunout,*)' alphas = ', alphas
    22782291    write(lunout,*)' iflag_wake = ', iflag_wake
  • LMDZ5/trunk/libf/phylmd/cv3_routines.F90

    r2259 r2287  
    22242224  include "cv3param.h"
    22252225  include "cvflag.h"
     2226  include "nuage.h"
    22262227
    22272228!inputs:
     
    24032404
    24042405          IF (cvflag_ice) THEN
    2405             thaw = (t(il,i)-273.15)/(275.15-273.15)
     2406!CR:tmax_fonte_cv: T for which ice is totally melted (used to be 275.15)
     2407            thaw = (t(il,i)-273.15)/(tmax_fonte_cv-273.15)
    24062408            thaw = min(max(thaw,0.0), 1.0)
    24072409            frac(il, i) = frac(il, i)*(1.-thaw)
     
    25172519          f6 = -100.*sigd(il)*bfac*(ph(il,i)-ph(il,i+1))*evap(il, i)
    25182520
    2519           thaw = (t(il,i)-273.15)/(275.15-273.15)
     2521!CR:tmax_fonte_cv: T for which ice is totally melted (used to be 275.15)
     2522          thaw = (t(il,i)-273.15)/(tmax_fonte_cv-273.15)
    25202523          thaw = min(max(thaw,0.0), 1.0)
    25212524          water(il, i) = water(il, i+1) + (1-fraci(il,i))*d6
  • LMDZ5/trunk/libf/phylmd/nuage.h

    r2205 r2287  
    77      REAL tau_cld_cv,coefw_cld_cv
    88
     9      REAL tmax_fonte_cv
     10
    911      INTEGER iflag_t_glace,iflag_cld_cv
    1012
     
    1214     &                  t_glace_min,exposant_glace,rei_min,rei_max,     &
    1315     &                  tau_cld_cv,coefw_cld_cv,                        &
    14      &                  iflag_t_glace,iflag_cld_cv
     16     &                  iflag_t_glace,iflag_cld_cv,tmax_fonte_cv
    1517!$OMP THREADPRIVATE(/nuagecom/)
Note: See TracChangeset for help on using the changeset viewer.