Tracer particles#
The block named &TRACER_PARAMS contains the parameters related to tracer particles.
Tracers particles are used to follow the gas in a Lagrangian way.
There are three different implementation of tracers in Ramses.
The classical tracers (Pichon et al 2011, Dubois et al 2012). The velocity of the tracers is computed from a CIC-interpolation of the velocity of the cells. The trajectory is continuous but this kind of tracers is known to eventually decorrelate with the gas flow (Price & Federrath 2010, Genel 2013). They are activated with the
tracerparameter in theRUN_PARAMSblock.The Monte Carlo tracer particles (Cadiou et al 2018). Each tracer is attached to a cell. Tracers jumps randomly from a cell to another with a probably matching the fraction of the mass flux between the two cell. If there is enough tracer particles per cell, the flow of tracers statistically matches the flow of the gas. The trajectory is discontinuous. They are activated with the
tracerparameter in the&RUN_PARAMSblock, and theMC_tracersin the&TRACERS_PARAMSbloc.The Itô tracer particles (Moseley et al 2026) can be seen as a mix the two methods above. The velocity of the tracers (the drift) is computed from a CIC-interpolation of the fluxes of the cells. Additionally to this drift, each tracer undergo a random kick at each step, so that the diffusion of the gas is reproduced. As a result, the tracers have a continuous trajectory, and the flow of the gas is reproduced almost as well as with the discrete Monte-Carlo tracers. The scheme implemented is RAMSES is the “CIC Itô-2 tracers”. They are activated with the
tracerparameter in the&RUN_PARAMSblock, and theMC_tracersandito_tracersin the&TRACERS_PARAMSbloc.
Tracers |
Type |
Trajectory |
Reproduction of the flow |
Activate with |
|---|---|---|---|---|
Classical |
deterministic |
Continuous |
Poor |
|
Monte-Carlo |
stochastic |
Discrete |
Very good |
|
Itô |
stochastic |
Continuous |
Good |
|
Overview of parameters of &TRACERS_PARAMS#
Variable name |
Fortran type |
Default value |
Description |
|---|---|---|---|
|
|
|
Activate MC tracers |
|
|
|
Activate Itô tracers (requires |
|
|
|
Filename to read the tracer from |
|
|
|
Format of the input (ascii - for all kinds-, binary or inplace - for discrete Monte-Carlo only) |
|
|
|
Mass of the tracers, used for outputs, seed and ascii input |
|
|
|
Set to >0 to add more weight on level finer than this |
|
|
|
Typical initial number of parts per cell |