Closed AsimUdel closed 6 months ago
This feels like an issue for https://github.com/Exawind/amr-wind-frontend and not amr-wind? Maybe we can move it there?
Hi @AsimUdel, the short answer to your question is that when you use the native averaging routines in AMR-Wind, a new set of variables gets created called velocity_meanx
, velocity_meany
, velocity_meanz
, and so forth. So you would want to specify those variables in the varnames
input to ppsamplexr.getPlaneXR()
to visualize them.
However, it's worth noting that postprosamrwindsample_xarray can also average the fields after the fact, even if time-averaging wasn't specified in the AMR-Wind input. We can talk about that more on a separate channel.
Lawrence
Hi @marchdf , Kindly close this issue as I have found the solution from (lawrence's)(https://github.com/lawrenceccheung/ALCC_Frontier_WindFarm/blob/main/precursor/MedWS_LowTI/postprocessing/Test_MinMaxStd_PlaneXR.ipynb) , @lawrenceccheung thank you so much, I will definitely look into that.
Hi All, I am sorry if I am asking a silly question, I want to see the "Time Averaging" feature of AMR-Wind to see the mean velocity across different planes (I tried to plot using mean velocity of sampling (plane) across all iteration but data was too big I could not using Jupyter notebook), that's why I wanted to explore the Averaging of AMR-Wind, the problem I am facing is that using https://github.com/lawrenceccheung/ALCC_Frontier_WindFarm/blob/main/precursor/MedWS_LowTI/postprocessing/HubHeight_Viz.ipynb template (by @lawrenceccheung ) I could only access sampling postprocessing not averaging("db = ppsamplexr.getPlaneXR(amrdir+ncfile, iters, varnames, groupname='xy_hub', verbose=0" could only access sampling due to default python files of AMR-Wind-Frontend ). Does someone I am attaching my input file. input_file_amr_wind.txt Thanks in advance