How to save planarAvg results as 2D data? #682
-
|
Hello, I’ve been using the planarAvg function and noticed that the output is always given as a 3D field, even though the averaged result is essentially 1D or 2D depending on the averaging direction. For post-processing purposes, it would be very helpful if we could save only a 2D slice (or a 1D profile) instead of the full 3D array. Is there currently a built-in way to output the planar-averaged result in a lower-dimensional form? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
See the ktauChannel example to extract values on desired points. nekRS/examples/ktauChannel/channel.udf Lines 29 to 83 in 96b3cf9 |
Beta Was this translation helpful? Give feedback.
See the ktauChannel example to extract values on desired points.
nekRS/examples/ktauChannel/channel.udf
Lines 29 to 83 in 96b3cf9