Ignore:
Timestamp:
Nov 20, 2017, 3:19:07 PM (7 years ago)
Author:
jvatant
Message:

Preliminary modifs for the optical coupling of haze
+ Moved inits of setspi/v before init of mufi
+ Added access to tarcers in optci/v
+ Some coherence in call to directories
JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/inifis_mod.F90

    r1795 r1822  
    1010
    1111  use radinc_h, only: ini_radinc_h
    12   use datafile_mod, only: datadir,config_mufi
     12  use datafile_mod
    1313  use comdiurn_h, only: sinlat, coslat, sinlon, coslon
    1414  use comgeomfi_h, only: totarea, totarea_planet
     
    220220     call getin_p("corrk",corrk)
    221221     write(*,*) " corrk = ",corrk
     222     
     223     if (corrk) then
     224       ! default path is set in datadir
     225       write(*,*) "callcorrk: Correlated-k data base folder:",trim(datadir)
     226       call getin_p("corrkdir",corrkdir)
     227       write(*,*) " corrkdir = ",corrkdir
     228     endif
     229     
     230     if (corrk .and. ngrid.eq.1) then
     231       write(*,*) "simulate global averaged conditions ?"
     232       global1d = .false. ! default value
     233       call getin_p("global1d",global1d)
     234       write(*,*) " global1d = ",global1d
     235       
     236       ! Test of incompatibility : if global1d is true, there should not be any diurnal cycle.
     237       if (global1d.and.diurnal) then
     238          write(*,*) "if global1d is true, diurnal must be set to false"
     239          stop
     240       endif
     241
     242       if (global1d) then
     243          write(*,*) "Solar Zenith angle (deg.) ?"
     244          write(*,*) "(assumed for averaged solar flux S/4)"
     245          szangle=60.0  ! default value
     246          call getin_p("szangle",szangle)
     247          write(*,*) " szangle = ",szangle
     248       endif
     249     endif
    222250
    223251     write(*,*) "prohibit calculations outside corrk T grid?"
     
    349377     df_mufi=2.0 ! default value
    350378     call getin_p("df_mufi",df_mufi)
     379     write(*,*)" df_mufi = ",df_mufi
    351380
    352381     write(*,*) "Monomer radius (m) ?"
    353382     rm_mufi=6.66e-08 ! default value
    354383     call getin_p("rm_mufi",rm_mufi)
     384     write(*,*)" rm_mufi = ",rm_mufi
    355385
    356386     write(*,*) "Aerosol density (kg.m-3)?"
    357387     rho_aer_mufi=1.e3 ! default value
    358388     call getin_p("rho_aer_mufi",rho_aer_mufi)
     389     write(*,*)" rho_aer_mufi = ",rho_aer_mufi
    359390
    360391     write(*,*) "Pressure level of aer. production (Pa) ?"
    361392     p_prod=1.0 ! default value
    362393     call getin_p("p_prod",p_prod)
     394     write(*,*)" p_prod = ",p_prod
    363395     
    364396     write(*,*) "Aerosol production rate (kg.m-2.s-1) ?"
    365397     tx_prod=3.5e-13 ! default value
    366398     call getin_p("tx_prod",tx_prod)
     399     write(*,*)" tx_prod = ",tx_prod
    367400
    368401     write(*,*) "Equivalent radius production (m) ?"
    369402     rc_prod=2.0e-8 ! default value
    370403     call getin_p("rc_prod",rc_prod)
     404     write(*,*)" rhc_prod = ",rc_prod
    371405
    372406     write(*,*) "Radius of air (nitrogen) molecule (m) ?"
    373407     air_rad=1.75e-10 ! default value
    374408     call getin_p("air_rad",air_rad)
     409     write(*,*)" air_rad = ",air_rad
    375410
    376411     write(*,*) "Path to microphys. config file ?"
    377412     config_mufi='datagcm/microphysics/config.cfg' ! default value
    378413     call getin_p("config_mufi",config_mufi)
     414     write(*,*)" config_mufi = ",config_mufi
    379415
    380416! Soil model
Note: See TracChangeset for help on using the changeset viewer.