Ignore:
Timestamp:
Mar 30, 2022, 12:19:20 PM (3 years ago)
Author:
gmilcareck
Message:

Major changes to CIA interpolation:
1) Add contribution from CH4 (H2-CH4,He-CH4,CH4-CH4) ;
2) Add some tests before interpolation for H2, He and CH4 ;
3) Add the possibility to choose between a normal or equilibrium ortho:para
fraction for CIA H2;
4) Change "strictboundH2H2cia" to the generic "strictboundcia" for H2,He,CH4.
It can be added for others CIA (N2,H,CO2...) if you want.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/inifis_mod.F90

    r2635 r2655  
    259259
    260260     if (is_master) write(*,*) trim(rname)//&
    261        ": prohibit calculations outside H2H2 CIA T grid?"
    262      strictboundH2H2cia=.true. ! default value
    263      call getin_p("strictboundH2H2cia",strictboundH2H2cia)
    264      if (is_master) write(*,*) trim(rname)//&
    265        ": strictboundH2H2cia = ",strictboundH2H2cia
     261       ": prohibit calculations outside CIA T grid?"
     262     strictboundcia=.true. ! default value
     263     call getin_p("strictboundcia",strictboundcia)
     264     if (is_master) write(*,*) trim(rname)//&
     265       ": strictboundcia = ",strictboundcia
    266266
    267267     if (is_master) write(*,*) trim(rname)//&
     
    304304     if (versH2H2cia.ne.2011 .and. versH2H2cia.ne.2018) then
    305305        call abort_physic(rname,"Error: Choose a correct value (2011 or 2018) for versH2H2cia !",1)
    306      endif
     306     endif
     307     
     308     if (is_master) write(*,*) trim(rname)//&
     309       ": CIA - normal or equilibrium ortho-para mixture for H2?"
     310     H2orthopara_mixture = 'normal'
     311     call getin_p("H2orthopara_mixture",H2orthopara_mixture)
     312     if (is_master) write(*,*)trim(rname)//&
     313       ": H2orthopara_mixture = ",trim(H2orthopara_mixture)
    307314
    308315     if (is_master) write(*,*) trim(rname)//&
Note: See TracChangeset for help on using the changeset viewer.