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

Can Field Data be irregularly spaced? #37

Open
danrhouck opened this issue Aug 13, 2020 · 1 comment
Open

Can Field Data be irregularly spaced? #37

danrhouck opened this issue Aug 13, 2020 · 1 comment

Comments

@danrhouck
Copy link

What would it take to have an irregular grid for the FieldData output? Given the "atmospheric conditions" of the simulations, the gradient from wake to ambient can be very sharp, especially in the near wake. It would be useful to have higher resolution within the wake and lower resolution outside so as not to increase the computational time too much.

@whophil
Copy link
Collaborator

whophil commented Aug 14, 2020

Seems like the most general solution for this would be to have CACTUS load the "field data" grid from an external file, and then compute the velocities at these points when requested. This grid could be defined as Plot3D ascii (as there is already a reader for this).

This would require a bit of work in fielddata.f95 (where the grid is currently initialized) and WriteFieldData.f95 (where the velocities are computed and exported). It should be pretty straightforward.

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

No branches or pull requests

2 participants