Ignore:
Timestamp:
May 31, 2024, 10:03:40 PM (6 months ago)
Author:
afalco
Message:

Pluto PCM:
Added zrecast & old sedim ;
Choose haze file ;
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90

    r3329 r3353  
    5555                              n2cond,nearn2cond,noseason_day,conservn2, &
    5656                              convergeps,kbo,triton,paleo,paleoyears, &
    57                               carbox, methane, oldplutovdifc, oldplutocorrk, &
    58                               aerohaze,haze_proffix,source_haze, &
     57                              carbox, methane,&
     58                              oldplutovdifc,oldplutocorrk,oldplutosedim, &
     59                              aerohaze,haze_proffix,source_haze,&
    5960                              season, sedimentation,generic_condensation, &
    6061                              specOLR, &
     
    979980                               cloudfrac,totcloudfrac,.false.,                   &
    980981                               firstcall,lastcall)
     982                  albedo_equivalent(1:ngrid)=albedo(1:ngrid,1)
    981983               else
    982984                call callcorrk(ngrid,nlayer,pq,nq,qsurf,  &
     
    14801482            end if
    14811483
    1482             ! if (.not. water) then
    1483                ! Compute GCS (Generic Condensable Specie) cloud fraction. For now we can not have both water cloud fraction and GCS cloud fraction
    1484                ! Water is the priority
    1485                ! If you have set water and generic_condensation, then cloudfrac will be water cloudfrac
    1486                !
    1487                ! If you have set generic_condensation (and not water) and you have set several GCS
    1488                ! then cloudfrac will be only the cloudfrac of the last generic tracer
    1489                ! (Because it is rewritten every tracer in the loop)
    1490                !
    1491                ! Maybe one should create a cloudfrac_generic(ngrid,nlayer,nq) with 3 dimensions, the last one for tracers
    1492 
    14931484               ! Let's loop on tracers
    14941485               cloudfrac(:,:)=0.0
     
    15071498         endif !generic_condensation
    15081499
    1509          !Generic Rain !AF24: removed
    1510 
    15111500         ! Sedimentation.
    15121501         if (sedimentation) then
     
    15151504            zdqssed(1:ngrid,1:nq)  = 0.0
    15161505
    1517             ! if(watertest)then !AF24: removed
    1518 
    1519             call callsedim(ngrid,nlayer,ptimestep,           &
     1506            if (oldplutosedim)then
     1507               call callsedim_pluto(ngrid,nlayer,ptimestep,    &
     1508                          pplev,zzlev,pt,pdt,rice_ch4,rice_co, &
     1509                          pq,pdq,zdqsed,zdqssed,nq,pphi)
     1510
     1511            else
     1512               call callsedim(ngrid,nlayer,ptimestep,       &
    15201513                          pplev,zzlev,pt,pdt,pq,pdq,        &
    15211514                          zdqsed,zdqssed,nq)
    1522 
    1523             ! if(watertest)then !AF24: removed
     1515            endif
    15241516
    15251517            ! Whether it falls as rain or snow depends only on the surface temperature
     
    15271519            dqsurf(1:ngrid,1:nq) = dqsurf(1:ngrid,1:nq) + zdqssed(1:ngrid,1:nq)
    15281520
    1529 !!            call writediagfi(ngrid,"callsedim_post_dqsurf"," "," ",2,dqsurf(1:ngrid,igcm_h2o_gas))
    1530 
    1531             ! ! Test water conservation !AF24: removed
    1532 
    15331521         end if ! end of 'sedimentation'
    1534 
    1535 !!         call writediagfi(ngrid,"mass_redist_pre_dqsurf"," "," ",2,dqsurf(1:ngrid,igcm_h2o_gas))
    1536 !!         call writediagfi(ngrid,"mass_redist_pre_qsurf"," "," ",2,qsurf(1:ngrid,igcm_h2o_gas))
    15371522
    15381523  ! ---------------
     
    20962081         !call wstats(ngrid,"ALB_1st","First Band Surface albedo"," ",2,albedo(:,1))
    20972082         call wstats(ngrid,"p","Pressure","Pa",3,pplay)
     2083         call wstats(ngrid,"emis","Emissivity","",2,emis)
    20982084         call wstats(ngrid,"temp","Atmospheric temperature","K",3,zt)
    20992085         call wstats(ngrid,"u","Zonal (East-West) wind","m.s-1",3,zu)
     
    21572143         endif
    21582144
     2145       call writediagfi(ngrid,"emis","Emissivity","",2,emis)
    21592146       call writediagfi(ngrid,"temp","temperature","K",3,zt)
    21602147       call writediagfi(ngrid,"teta","potential temperature","K",3,zh)
Note: See TracChangeset for help on using the changeset viewer.