Changeset 3451


Ignore:
Timestamp:
Jan 27, 2019, 12:07:30 PM (6 years ago)
Author:
fhourdin
Message:

Saving old version of thermcell_plume in thermcell_plume_6A.F90
It includes both thermcell_plume_6A and thermcell_plume_5B corresponding
to the 5B and 6A versions used for CMIP5 and CMIP6.
The latest was previously named thermcellV1_plume.
The new thermcell_plume is a clean version (removing obsolete
options) of thermcell_plume_6A.
The 3 versions are controled by
flag_thermals_ed <= 9 thermcell_plume_6A

<= 19 thermcell_plume_5B
else thermcell_plume (default 20 for convergence with 6A)

Fredho

Location:
LMDZ6/trunk/libf/phylmd
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/thermcell_main.F90

    r2387 r3451  
    440440!
    441441      if (prt_level.ge.1) print*,'avant thermcell_plume ',lev_out
    442 !IM 140508   CALL thermcell_plume(ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,  &
    443 
    444 ! Gestion temporaire de plusieurs appels à thermcell_plume au travers
    445 ! de la variable iflag_thermals
    446 
    447 !      print*,'THERM thermcell_main iflag_thermals_ed=',iflag_thermals_ed
     442
     443!=====================================================================
     444! Old version of thermcell_plume in thermcell_plume_6A.F90
     445! It includes both thermcell_plume_6A and thermcell_plume_5B corresponding
     446! to the 5B and 6A versions used for CMIP5 and CMIP6.
     447! The latest was previously named thermcellV1_plume.
     448! The new thermcell_plume is a clean version (removing obsolete
     449! options) of thermcell_plume_6A.
     450! The 3 versions are controled by
     451! flag_thermals_ed <= 9 thermcell_plume_6A
     452!                  <= 19 thermcell_plume_5B
     453!                  else thermcell_plume (default 20 for convergence with 6A)
     454! Fredho
     455!=====================================================================
     456
    448457      if (iflag_thermals_ed<=9) then
    449458!         print*,'THERM NOUVELLE/NOUVELLE Arnaud'
     459         CALL thermcell_plume_6A(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
     460     &    zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
     461     &    lalim,f0,detr_star,entr_star,f_star,csc,ztva,  &
     462     &    ztla,zqla,zqta,zha,zw2,zw_est,ztva_est,zqsatth,lmix,lmix_bis,linter &
     463     &    ,lev_out,lunout1,igout)
     464
     465      elseif (iflag_thermals_ed<=19) then
     466!        print*,'THERM RIO et al 2010, version d Arnaud'
     467         CALL thermcell_plume_5B(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
     468     &    zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
     469     &    lalim,f0,detr_star,entr_star,f_star,csc,ztva,  &
     470     &    ztla,zqla,zqta,zha,zw2,zw_est,ztva_est,zqsatth,lmix,lmix_bis,linter &
     471     &    ,lev_out,lunout1,igout)
     472      else
    450473         CALL thermcell_plume(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
    451474     &    zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
     
    453476     &    ztla,zqla,zqta,zha,zw2,zw_est,ztva_est,zqsatth,lmix,lmix_bis,linter &
    454477     &    ,lev_out,lunout1,igout)
    455 
    456       elseif (iflag_thermals_ed>9) then
    457 !        print*,'THERM RIO et al 2010, version d Arnaud'
    458          CALL thermcellV1_plume(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
    459      &    zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
    460      &    lalim,f0,detr_star,entr_star,f_star,csc,ztva,  &
    461      &    ztla,zqla,zqta,zha,zw2,zw_est,ztva_est,zqsatth,lmix,lmix_bis,linter &
    462      &    ,lev_out,lunout1,igout)
    463 
    464478      endif
    465479
  • LMDZ6/trunk/libf/phylmd/thermcell_plume_6A.F90

    r3450 r3451  
    22! $Id$
    33!
    4       SUBROUTINE thermcell_plume(itap,ngrid,klev,ptimestep,ztv,zthl,po,zl,rhobarz,  &
     4      SUBROUTINE thermcell_plume_6A(itap,ngrid,klev,ptimestep,ztv,zthl,po,zl,rhobarz,  &
    55     &           zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
    66     &           lalim,f0,detr_star,entr_star,f_star,csc,ztva,  &
     
    773773!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    774774!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    775  SUBROUTINE thermcellV1_plume(itap,ngrid,klev,ptimestep,ztv,zthl,po,zl,rhobarz,  &
     775 SUBROUTINE thermcell_plume_5B(itap,ngrid,klev,ptimestep,ztv,zthl,po,zl,rhobarz,  &
    776776&           zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
    777777&           lalim,f0,detr_star,entr_star,f_star,csc,ztva,  &
Note: See TracChangeset for help on using the changeset viewer.