Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IfW: add VTK output of slice in XY to driver #2201

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

andrew-platt
Copy link
Collaborator

This PR is ready to merge.

NOTE: this is a duplicate of #1643 which was automatically closed when the dev-unstable-pointers branch was deleted. See discussions on that PR.

Feature or improvement description
This allows visualizing a slice through hub-height (or other height) when comparing with a simulation. The user can specify the height at which to export the slice. At the moment it is a very slow process due to the looping and because it exports over the entire time range (this could be improved later).

Screenshot 2023-06-21 at 2 26 44 PM
This figure shows the XY plane at the hub height for a Mann wind field (HAWC format). The vertical plane is exported from the driver using the WrVTK option. Both are taken at 23.625 seconds.

Related issue, if one exists
#1643

Impacted areas of the software
InflowWind driver only

Additional supporting information
During testing of the wake added turbulence feature, I ran into issues in verifying that the background turbulence was being added correctly. To check this, I needed some way to visualize the XY plane through the hub from the Mann box turbulence.

Test results, if applicable
No test cases are affected. I did not add a test case for this since it is a very slow code to execute.

This allows visualizing a slice through hub-height (or other height) when compairing with a simulation.
For generating InflowWind_Driver_Types.f90
@andrew-platt andrew-platt added this to the v4.0.0 milestone May 10, 2024
@andrew-platt andrew-platt self-assigned this May 10, 2024
@andrew-platt
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant