Saving 1D lineout of 3D data during runtime #3537
-
Hello, I am wondering if there is a convenient way to extract 2D planes and/or 1D lines from 3D data during runtime. I need lineout and plane data at very high frequencies, so saving 3D data and post-processing is not feasible. On a single level, using ijk indexing is good enough for lineouts as I only need the specific location to within a grid cell, but on multiple levels it becomes more challenging. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
In the Pele codes, there is a base class for such diagnostics that can be extended...currently provides planes, integrals, pdfs and such. See https://github.com/AMReX-Combustion/PelePhysics/tree/91db46315b87364c45316861056a5bc47ba27c39/Utility/Diagnostics. Let me know if you need help understanding or incorporating. I'm sure other apps have done similar things we could use to find a nice general approach to this. |
Beta Was this translation helpful? Give feedback.
In the Pele codes, there is a base class for such diagnostics that can be extended...currently provides planes, integrals, pdfs and such. See https://github.com/AMReX-Combustion/PelePhysics/tree/91db46315b87364c45316861056a5bc47ba27c39/Utility/Diagnostics. Let me know if you need help understanding or incorporating. I'm sure other apps have done similar things we could use to find a nice general approach to this.