We can already activate passive tracers in Julia and read them back for a given timestep.
This PR
1) Adds support for phase aggregates (useful for visualisation)
2) Allows you to specify one of more passive tracers and read back the time evolution of all saved fields to Julia.
See #34 on how to setup & run a simulation.
You can read back the passive tracers of the first timestep with:
We can already activate passive tracers in Julia and read them back for a given timestep. This PR 1) Adds support for phase aggregates (useful for visualisation) 2) Allows you to specify one of more passive tracers and read back the time evolution of all saved fields to Julia.
See #34 on how to setup & run a simulation. You can read back the passive tracers of the first timestep with:
If we are only interested in the tracers with
Phase==1
, we can filter that with:Next we can use the newly introduced routine to read back the temporal evolution of all these tracers with:
passive_tracers
is a NamedTuple with the following fields:z
contains the z-coordinates and is a matrix:you can plot a pressure-temperature path of a specific particle with:
note that
LaMEM
return temperature in Celsius and pressure in MPa.