Exawind / amr-wind

AMReX-based structured wind solver
https://exawind.github.io/amr-wind
Other
103 stars 78 forks source link

Feature request: ABL statistics on level >0 #1041

Open rthedin opened 1 month ago

rthedin commented 1 month ago

With the recent ability to output boundary data at multiple levels at the same time, we got the ability to run grids that have coarse level 0, and have refinements towards the bottom of the domain. A problem with that is that the ABL statistics only get computed at the level 0. It would be nice to be able to have ABL stats to be calculated at the finest level for every height.

Additionally, I have recently ran into a problem where the sampling of the ABL stats might have an issue with a domain configured with these refinements. I had a case with 80 m level 0, and 3 refinements setup like so

3
1
-10000 -10000 0 10000 10000 1500
1
-10000 -10000 0 10000 10000 700
1
-10000 -10000 0 10000 10000 400

The potential temperature field had discontinuities, while everything else appears to be okay (including the temperature flux). They appear to happen right around the 400 and 700 m mark, where we have a change in resolution. Could be an issue on the sampling routine. See plot below for illustration image

github-actions[bot] commented 4 weeks ago

This issue is stale because it has been open 30 days with no activity.