Changeset 3889


Ignore:
Timestamp:
Aug 12, 2025, 2:32:04 PM (3 days ago)
Author:
debatzbr
Message:

Pluto PCM: Pass haze production parameters as keys in callphys.def
BBT

Location:
trunk/LMDZ.PLUTO/libf/phypluto
Files:
5 edited

Legend:

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

    r3754 r3889  
    208208!$OMP THREADPRIVATE(haze_p_prod,haze_tx_prod,haze_rc_prod,haze_rm,haze_df,haze_rho,air_rad)
    209209
     210!! Parameter of conversion precursors to haze (hazecloud.F90)
     211      real,save :: tcon_ch4, k_ch4, ncratio_ch4
     212!$OMP THREADPRIVATE(tcon_ch4, k_ch4, ncratio_ch4)
     213
     214!! Variables for aerosol absorption
     215      real,save :: Fabs_aers_VI, Fabs_aerf_VI, Fabs_aers_IR, Fabs_aerf_IR
     216!$OMP THREADPRIVATE(Fabs_aers_VI, Fabs_aerf_VI, Fabs_aers_IR, Fabs_aerf_IR)
     217
    210218      integer,save :: iddist
    211219      integer,save :: iaervar
  • trunk/LMDZ.PLUTO/libf/phypluto/hazecloud.F90

    r3880 r3889  
    88      use tracer_h, only: igcm_haze, igcm_ch4_gas, igcm_prec_haze, noms, mmol
    99      use geometry_mod, only: longitude, latitude ! in radians
    10       use callkeys_mod, only: hazeconservch4, diurnal
     10      use callkeys_mod, only: hazeconservch4, diurnal, tcon_ch4, k_ch4, ncratio_ch4
    1111
    1212      implicit none
     
    159159!! Time constant of conversion in aerosol [second]
    160160!! To be explore: 1.E3; 1.E5; 1.E7; 1.E9
    161       tcon= 1.e5 
     161      tcon= tcon_ch4
    162162!! Parameter of conversion precurseur to haze
    163       kch4=0.3
    164       ncratio=0.5    ! boost for haze considering nitrogen contribution
    165                       ! ratio n/c : =0.25 if there is 1N for 3C
     163      kch4=k_ch4
     164      ncratio=ncratio_ch4 ! boost for haze considering nitrogen contribution
     165                          ! ratio n/c : =0.25 if there is 1N for 3C
    166166      IF (firstcall) then
    167167        write(*,*) 'hazecloud: haze parameters:'
  • trunk/LMDZ.PLUTO/libf/phypluto/inifis_mod.F90

    r3879 r3889  
    776776     if (is_master) write(*,*)" air_rad = ",air_rad
    777777
     778     ! Conversion precursor to haze
     779     ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     780     if (is_master) write(*,*) "Time constant of conversion in aerosol (s)?"
     781     tcon_ch4=1.e7 ! default value
     782     call getin_p("tcon_ch4",tcon_ch4)
     783     if (is_master) write(*,*)" tcon_ch4 = ",tcon_ch4
     784
     785     if (is_master) write(*,*) "Ratio CH4 photolysis?"
     786     k_ch4=1. ! default value
     787     call getin_p("k_ch4",k_ch4)
     788     if (is_master) write(*,*)" k_ch4 = ",k_ch4
     789
     790     if (is_master) write(*,*) "Nitrogen contribution ratio N/C?"
     791     ncratio_ch4=0.5 ! default value
     792     call getin_p("ncratio_ch4",ncratio_ch4)
     793     if (is_master) write(*,*)" ncratio_ch4 = ",ncratio_ch4
     794
     795     ! Variables for aerosol absorption
     796     ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     797     if (is_master) write(*,*) "Sph. aer. absorption correction in VI?"
     798     Fabs_aers_VI=1. ! default value
     799     call getin_p("Fabs_aers_VI",Fabs_aers_VI)
     800     if (is_master) write(*,*)" Fabs_aers_VI = ",Fabs_aers_VI
     801
     802     if (is_master) write(*,*) "Fra. aer. absorption correction in VI?"
     803     Fabs_aerf_VI=1. ! default value
     804     call getin_p("Fabs_aerf_VI",Fabs_aerf_VI)
     805     if (is_master) write(*,*)" Fabs_aerf_VI = ",Fabs_aerf_VI
     806
     807     if (is_master) write(*,*) "Sph. aer. absorption correction in IR?"
     808     Fabs_aers_IR=1. ! default value
     809     call getin_p("Fabs_aers_IR",Fabs_aers_IR)
     810     if (is_master) write(*,*)" Fabs_aers_IR = ",Fabs_aers_IR
     811
     812     if (is_master) write(*,*) "Fra. aer. absorption correction in IR?"
     813     Fabs_aerf_IR=1. ! default value
     814     call getin_p("Fabs_aerf_IR",Fabs_aerf_IR)
     815     if (is_master) write(*,*)" Fabs_aerf_IR = ",Fabs_aerf_IR
     816
    778817     ! Pluto haze model
    779818     ! ~~~~~~~~~~~~~~~~
  • trunk/LMDZ.PLUTO/libf/phypluto/optci.F90

    r3881 r3889  
    1515                     igas_CH4, igas_N2
    1616  use comcstfi_mod, only: g, r, mugaz
    17   use callkeys_mod, only: kastprof,continuum,graybody,callmufi
     17  use callkeys_mod, only: kastprof,continuum,graybody,callmufi,Fabs_aers_IR,Fabs_aerf_IR
    1818  use recombin_corrk_mod, only: corrk_recombin, gasi_recomb
    1919  use tpindex_mod, only: tpindex
     
    144144
    145145  if(callmufi) then
    146    Fabs_aer(1) = 1.2
    147    Fabs_aer(2) = 1.3
     146   Fabs_aer(1) = Fabs_aers_IR
     147   Fabs_aer(2) = Fabs_aerf_IR
    148148  else
    149149   Fabs_aer(:) = 1.0
  • trunk/LMDZ.PLUTO/libf/phypluto/optcv.F90

    r3881 r3889  
    1414                     igas_CH4, igas_N2
    1515  use comcstfi_mod, only: g, r, mugaz
    16   use callkeys_mod, only: kastprof,continuum,graybody,callgasvis,callmufi
     16  use callkeys_mod, only: kastprof,continuum,graybody,callgasvis,callmufi,Fabs_aers_VI,Fabs_aerf_VI
    1717  use recombin_corrk_mod, only: corrk_recombin, gasv_recomb
    1818  use tpindex_mod, only: tpindex
     
    141141
    142142  if(callmufi) then
    143    Fabs_aer(1) = 0.7
    144    Fabs_aer(2) = 2.5
     143   Fabs_aer(1) = Fabs_aers_VI
     144   Fabs_aer(2) = Fabs_aerf_VI
    145145  else
    146146   Fabs_aer(:) = 1.0
Note: See TracChangeset for help on using the changeset viewer.