-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I would go about this by making an additional StateData with just a single time-level and single component, and then at the end of the evolution loop, do the max of the current pressure and what's stored there. This way you can have it stored in the checkpoint for you, so it restarts. (Also, fun bit -- we did cell dets ~ 20 years ago, but I made that plot from the plotfiles back then: https://iopscience.iop.org/article/10.1086/317135) |
Beta Was this translation helpful? Give feedback.
-
one further thought -- if you do this, then that max pressure state will regrid along with the simulation, which perhaps is not what you want, especially if you concentrate the refinement on the detonation front itself. That's why it might be better to just output pressure into plotfiles frequently (maybe as small plotfiles) and then use a postprocessing tool to create a uniform domain and do a zone-by-zone max over the time-series of plotfiles. |
Beta Was this translation helpful? Give feedback.
I would go about this by making an additional StateData with just a single time-level and single component, and then at the end of the evolution loop, do the max of the current pressure and what's stored there. This way you can have it stored in the checkpoint for you, so it restarts.
(Also, fun bit -- we did cell dets ~ 20 years ago, but I made that plot from the plotfiles back then: https://iopscience.iop.org/article/10.1086/317135)