Ignore:
Timestamp:
Mar 19, 2026, 2:35:46 PM (13 days ago)
Author:
gmilcareck
Message:

Thermodynamics update on LMDZ.GENERIC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/changelog.txt

    r4137 r4146  
    22162216== 17/03/2026 == GM
    22172217The nlines were not reset to 0 when reading tracer profiles during the newstart.
     2218
     2219== 19/03/2026 == GM
     2220***THERMODYNAMICS UPDATE ON LMDZ.GENERIC ***
     2221- The specific heat capacity, the specific gas constant and the R/Cp factor
     2222  are now calculated in the new thermo_mod module.
     2223- Calculations of the potential temperature and the Exner function are now performed
     2224  in the thermodynamics subroutine. This routine is called in physiq_mod whenever
     2225  the temperature is updated after a subroutine is called.
     2226  PLEASE NOTE: for future updates to LMDZ_GENERIC, if you wish to add a new subroutine
     2227  that modifies the temperature or pressure in `physiq_mod`, you must call this
     2228  subroutine to update `theta` and `exner` (see examples on physiq_mod),
     2229  otherwise, the thermodynamics will be incorrect.
     2230- IMPORTANT: The constants cpp and mugaz are now called cppd_ref and mugaz_ref.
     2231  You must therefore update your callphys.def. The cpp_mugaz_mode option is still
     2232  valid, where mode 0 reads the cpp from the dynamics, mode 1 reads cppd_ref and
     2233  mugaz_ref from callphys.def, and mode 2 calculates cppd_ref and mugaz_ref itself
     2234  using the calc_cpp_mugaz routine.
     2235- For the moment, only the ideal single-gas option (thermo_uni_ideal) is available
     2236  (i.e. the current case). It is set by default in the model with the thermo_phy flag.
     2237  You do not need to change or add anything to your .def files.
     2238  The ideal gas mixture option will be added at a later date.
     2239- If the `generic_condensation` option is enabled, you must now add
     2240  the constant `cppv_ref`, which represents the specific heat capacity of
     2241  the pure condensable gas you have chosen.
     2242- Normally, this commit will not change your previous simulations, but,
     2243  a difference of around 1K may occur in some configurations because theta was
     2244  not well updated before for example.
     2245 === RESUME ===
     2246- If you add a new subroutine on physiq_mod that changes the temperature or pressure,
     2247  call thermodynamics after that to update potential temperature and exner function.
     2248- cpp becomes cppd_ref in callphys.def
     2249- mugaz becomes mugaz_ref in callphys.def
     2250- NEW -> add cppv_ref if generic_condensation=.true.
     2251This update changes a lot of things, then some problems can occur.
     2252Some fixes will be added as the model is tested in various configurations.
     2253
Note: See TracChangeset for help on using the changeset viewer.