WhatIs: The traceur.def input file : Différence entre versions
De LMDZPedia
m (Move deprecation warning to top & improve formatting) |
|||
Ligne 1 : | Ligne 1 : | ||
+ | '''/!\ The <code>traceur.def</code> format is now deprecated''' (but should still work fine as the code is retro-compatible). We recommend using <code>tracer.def</code> instead, as described [[WhatIs: The tracer.def input file|here]] (03/01/2023). | ||
+ | |||
== The traceur.def input file tells LMDZ about the tracers to advect == | == The traceur.def input file tells LMDZ about the tracers to advect == | ||
Ligne 29 : | Ligne 31 : | ||
In this example, there are 4 tracers, the first one is "H2Ov" (water vapor) and advected using scheme number 14, the second and third are "H2Ol" (liquid water) and "H2Oi" (water ice), and the last is called "Aga" and completely passive (i.e. untouched by the dynamics). | In this example, there are 4 tracers, the first one is "H2Ov" (water vapor) and advected using scheme number 14, the second and third are "H2Ol" (liquid water) and "H2Oi" (water ice), and the last is called "Aga" and completely passive (i.e. untouched by the dynamics). | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:WhatIs]] | [[Category:WhatIs]] |
Version actuelle en date du 16 juillet 2024 à 17:45
/!\ Thetraceur.def
format is now deprecated (but should still work fine as the code is retro-compatible). We recommend usingtracer.def
instead, as described here (03/01/2023).
The traceur.def input file tells LMDZ about the tracers to advect
The traceur.def is a plain text file that is read at run time by LMDZ. Its format is quite strict:
- The first line contains the number n of tracers to advect in the dynamics
- The n following lines contain the following set ( two integer numbers and a string): hadv , vadv, tname . hadv and vadv are traceur advection scheme numbers and tname is the tracer name
Tracer advection schemes
A few are coded, but not for the parallel case, so we only present the important (i.e. operational) ones here:
- 0 : no advection. This tracer will not be advected by the dynamics
- 10: advection using a Van Leer scheme. This is the standard advection scheme to use for tracers.
- 14: a specific advection scheme for the water vapor tracer (i.e. "H2Ov")
Illustrative example
In practice a "traceur.def" file will look like this:
4 14 14 H2Ov 10 10 H2Ol 10 10 H2Oi 00 00 Aga
In this example, there are 4 tracers, the first one is "H2Ov" (water vapor) and advected using scheme number 14, the second and third are "H2Ol" (liquid water) and "H2Oi" (water ice), and the last is called "Aga" and completely passive (i.e. untouched by the dynamics).