Ignore:
Timestamp:
Jun 13, 2018, 5:22:44 PM (6 years ago)
Author:
jvatant
Message:

Enables altitude-depending gravity field g(z) (glat->gzlat) in physics
+ Can be dangerous ( disagreement with dyn) but important (compulsive !) to have correct altitudes in the chemistry
+ Can be activated with eff_gz flag in callphys.def
-- JVO

File:
1 edited

Legend:

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

    r1897 r1947  
    181181     call getin_p("Rmean", Rmean)
    182182     write(*,*) "Rmean = ", Rmean
     183     
     184     write(*,*) "Compute effective altitude-dependent gravity field?"
     185     eff_gz = .false.
     186     call getin_p("eff_gz", eff_gz)
     187     write(*,*) "eff_gz = ", eff_gz
    183188         
    184189! Test of incompatibility:
     
    344349       stop
    345350     endif
     351     
     352     ! sanity check warning
     353     if (callchim.and.(.not.eff_gz)) then
     354       print*,"WARNING : You run chemistry without effective altitude-dependent gravity field !!"
     355       print*,"You will have wrong vertical photodissociations rates, that's crazy !!"
     356       print*,"I let you continue but you should rather set eff_gz =.true. ..."
     357       !stop
     358     endif
     359
    346360
    347361     write(*,*)"Chemistry is computed every ichim", &
Note: See TracChangeset for help on using the changeset viewer.