Ignore:
Timestamp:
Feb 17, 2020, 5:44:12 PM (5 years ago)
Author:
jvatant
Message:

+ Update the interface with YAMMS so it now correctly handles the small values of the moments,
requiring dynamics to have a threshold quite low (set to 1D-200) and a sanity check in calmufi
corresponding to this value. Thus it removes 'most' of the unphysical radius obtained in
YAMMS. There are still some, but at least there is no more problem of model stability for the moments
and the code can run.
Still, take care the day you want to calculate opacities from the radii and not the moments.
Although, note that there are some negative values, in the output files, but theses negatives are

harmless, as they are only present in output files, dynamics reseting to epsilon after.

+ Given theses pbs with the radii, also update the optics so that it computes the opacities in
a simpler way, directly for M3, through look-up tables, M3 being a good proxy.
--JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/muphytitan/mm_globals.f90

    r1897 r2242  
    10661066    ! il faudrait peut etre revoir la gestion des zeros ici et la
    10671067    ! remplacer par une valeur seuil des moments.
     1068    !
     1069    !-> JVO 19 : Done. Zero threshold set at espilon from dynamics on the
     1070    ! input moments in calmufi (safer than here). Might still be some unphysical
     1071    ! values after the dynamics near the threshold. Could be a could idea to add
     1072    ! a sanity check filtering too high values of radii.
     1073    !
     1074    ! TBD : Add a sanity check for high radii ????
    10681075    WHERE(mm_m3aer_s > 0._mm_wp .AND. mm_m0aer_s > 0._mm_wp)
    10691076      mm_rcs = mm_get_rcs(mm_m0aer_s,mm_m3aer_s)
Note: See TracChangeset for help on using the changeset viewer.