Closed MartinKarp closed 6 months ago
Very nice. @MartinKarp , I assume you have a channel case where you test this or something. How about adding a run.sh script to the turb_channel example, where one puts in all the commands necessary to do that case from start to finish, e.g. starting with a genmeshbox command and up to the averaging of statistical fields with this new utility. I think that would be very useful to just have that sequence of commands recorded and then one can adapt to one's needs.
I added some comments in the README about the postprocess, the exact usage I feel will vary depending on what time people start to gather stats and so on.
Adds support for computing average in 2 spatial directions directly if there is more than one homogenous direction (for example channel flow).
We also update map_1d so it does not break if compiled with GPU backend, it now gives a warning instead. Still, the mapping is only available on the CPU currently.