Ignore:
Timestamp:
Jan 20, 2025, 10:17:54 AM (9 hours ago)
Author:
debatzbr
Message:

Connecting microphysics to radiative transfer + miscellaneous cleans

File:
1 edited

Legend:

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

    r3572 r3585  
    1212  use radinc_h, only: ini_radinc_h, naerkind
    1313  use radcommon_h, only: ini_radcommon_h
    14   use radii_mod, only: radfixed, Nmix_n2
    15   use datafile_mod, only: datadir,config_mufi,hazeprop_file,hazerad_file,hazemmr_file,hazedens_file
     14  use radii_mod, only: radfixed
     15  use datafile_mod, only: datadir,hazeprop_file,hazerad_file,hazemmr_file,hazedens_file, &
     16                          config_mufi, aersprop_file, aerfprop_file
    1617  use comdiurn_h, only: sinlat, coslat, sinlon, coslon
    1718  use comgeomfi_h, only: totarea, totarea_planet
     
    687688     call getin_p("config_mufi",config_mufi)
    688689     if (is_master) write(*,*)" config_mufi = ",config_mufi
     690
     691     if (is_master) write(*,*) "Spherical aerosol optical properties datafile"
     692     aersprop_file="optprop_rannou_r2-200nm_nu003.dat"  ! default file
     693     call getin_p("aersprop_file",aersprop_file)
     694     if (is_master) write(*,*) trim(rname)//" aersprop_file = ",trim(aersprop_file)
     695
     696     if (is_master) write(*,*) "Fractal aerosol optical properties datafile"
     697     aerfprop_file="optprop_rannou_fractal_r010nm_N1_1e4_d2.dat"  ! default file
     698     call getin_p("aerfprop_file",aerfprop_file)
     699     if (is_master) write(*,*) trim(rname)//" aerfprop_file = ",trim(aerfprop_file)
    689700 
    690701     if (is_master) write(*,*) "Use haze production from CH4 photolysis or production rate?"
     
    12851296       call abort_physic(rname, 'if haze are on, tracers must be on!', 1)
    12861297     endif
     1298     if ((callmufi).and.(haze)) then
     1299       call abort_physic(rname, 'if haze are on, microphysics should be desactivated!', 1)
     1300     endif
     1301     if ((haze).and.(naerkind.gt.1)) then
     1302      call abort_physic(rname, 'if haze are on, naerkind must be equal to 1!', 1)
     1303     endif
     1304     if ((callmufi).and..not.(naerkind.gt.1)) then
     1305      call abort_physic(rname, 'if microphysics is on, naerkind must be > 1!', 1)
     1306     endif
     1307     if (.not.(callmufi.or.haze).and.(optichaze)) then
     1308      call abort_physic(rname, 'if microphysics and haze are off, optichaze must be desactivated!', 1)
     1309     endif
     1310     if ((callmufi.and.call_haze_prod_pCH4).and..not.(methane)) then
     1311      call abort_physic(rname, 'if haze production from CH4 photolysis is on, methane must be activated!', 1)
     1312     endif
    12871313     if (haze_proffix.and.sedimentation) then
    12881314         call abort_physic(rname, 'if haze profile is set, sedimentation must be deactivated', 1)
Note: See TracChangeset for help on using the changeset viewer.