Ignore:
Timestamp:
May 4, 2012, 5:14:30 PM (13 years ago)
Author:
jleconte
Message:
  • Correction a huge bug in newstart: rcp and cpp can now be changed in start.nc files and are the same as in startfi.nc;

Even when starting from start and startfi files.

  • rcp, cpp and mugaz can now be computed using gases.def in newstart
  • Correction of a bug arising in gcm.F when the solar days are long (thanks Melanie V.)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/tabfi.F

    r590 r649  
    7979      INTEGER size
    8080      CHARACTER modif*20
    81 
    8281
    8382c-----------------------------------------------------------------------
     
    229228      write(*,*) '(31 et 32) iceradius : mean scat radius of CO2 snow'
    230229      write(*,*) '(33 et 34) dtemisice : time scale for snow',
    231      &           ' metamorphism'
     230     &           '                       metamorphism'
    232231      write(*,*) '(27)        tauvis : mean dust vis. reference ',
    233      &           'opacity'
    234       write(*,*) '(35)      volcapa : soil volumetric heat capacity'
     232     &           '                     opacity'
     233      write(*,*) '(35)     volcapa : soil volumetric heat capacity'
    235234      write(*,*) '(18)     obliquit : planet obliquity (deg)'
    236235      write(*,*) '(17)     peri_day : periastron date (sols since Ls=0)'
     
    238237      write(*,*) '(16)     apoastr  : max. star-planet (UA)'
    239238      write(*,*) '(14)     year_day : length of year (in sols)'
    240       write(*,*) '(5) rad : radius of the planet (m)'
    241       write(*,*) '(6) omeg : planet rotation rate (rad/s)'
    242       write(*,*) '(7) g : gravity (m/s2)'
    243       write(*,*) '(8) mugaz : molecular mass of the atmosphere (g/mol)'
    244       write(*,*) '(9) rcp : r/Cp'
    245       write(*,*) '(10) daysec : length of a sol (s)'
     239      write(*,*) '(5)      rad      : radius of the planet (m)'
     240      write(*,*) '(6)      omeg     : planet rotation rate (rad/s)'
     241      write(*,*) '(7)      g        : gravity (m/s2)'
     242      write(*,*) '(8)      mugaz    : molecular mass '
     243      write(*,*) '                       of the atmosphere (g/mol)'
     244      write(*,*) '(9)      rcp      : r/Cp'
     245      write(*,*) '(8)+(9)  calc_cpp_mugaz : r/Cp and mugaz '
     246      write(*,*) '                 computed from gases.def'
     247      write(*,*) '(10)     daysec   : length of a sol (s)'
    246248      write(*,*)
    247249 
     
    460462          write(*,*) ' cpp (new value):',cpp
    461463
     464        else if (modif(1:len_trim(modif)).eq.'calc_cpp_mugaz') then
     465          write(*,*) 'current value rcp, mugaz:',rcp,mugaz
     466          check_cpp_match=.false.
     467          force_cpp=.false.
     468          call su_gases
     469          call calc_cpp_mugaz
     470          write(*,*)
     471          write(*,*) ' cpp (new value):',cpp
     472          write(*,*) ' mugaz (new value):',mugaz
     473          r=8.314511/(mugaz/1000.0)
     474          rcp=r/cpp
     475          write(*,*) ' rcp (new value):',rcp
     476         
    462477        else if (modif(1:len_trim(modif)).eq.'daysec') then
    463478          write(*,*) 'current value:',daysec
Note: See TracChangeset for help on using the changeset viewer.