Extracting Slice Data #3144
-
Hey, I've been working on trying to add in run-time data extraction to our solver and was wondering if there was a way to extract a slice during run-time and write that slice as a PLT file? I was trying to use get_slice_data function for this but was having some trouble getting it to work. Are there a set of functions to do this already or do you have a recommendation for the best way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
More detail? Is your data on a single level or multiple levels? If it's on multiple levels, do you want the slice to be at the finest resolution or the coarsest level or a multiple levels or something else? How do you want to select the location of the slice? Integer index or floating point number location? If it's the latter, do you want just the nearest point or interpolation? |
Beta Was this translation helpful? Give feedback.
-
@esclapez has something that will do exactly this. It creates a 2D plotfile from the 3D data. |
Beta Was this translation helpful? Give feedback.
More detail?
Is your data on a single level or multiple levels? If it's on multiple levels, do you want the slice to be at the finest resolution or the coarsest level or a multiple levels or something else? How do you want to select the location of the slice? Integer index or floating point number location? If it's the latter, do you want just the nearest point or interpolation?