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

Particle flows visualization #57

Closed
tdunning opened this issue May 12, 2023 · 7 comments
Closed

Particle flows visualization #57

tdunning opened this issue May 12, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@tdunning
Copy link

I have adapted the TwoBody_circle example to use a different shape. The flow seems to penetrate into the body.

Is this a problem?

image

@weymouth
Copy link
Collaborator

If you want to check flow penetration, you should plot the normal velocity component, not the vorticity.

@tdunning
Copy link
Author

Is that because the vorticity is effectively smoothed a bit?

Perhaps the question I really had was what is the best way to visualize flow around a shape like this? Is there an example of how to insert tagged particles (aka smoke)?

@tdunning
Copy link
Author

Great suggestion!

Thanks.

Would you like to have me file a pull request with an example resulting from this effort?

@tdunning
Copy link
Author

Hmmm... that article looks excellent except that all of the good bits are paywalled. Do you have a preprint copy? Or is the source code for the results that you present in sections 3.1 and 3.2 available?

Again, these seem like they would make very good examples to include in WaterLily. Happy to do the (small compared to what you have done) work to prepare those.

@weymouth
Copy link
Collaborator

Good point. I'll revise that link in the other issue.

That paper was done using an older Fortran code. Waterlily is a new implementation of the same method in Julia.

@weymouth
Copy link
Collaborator

Is that because the vorticity is effectively smoothed a bit?

Perhaps the question I really had was what is the best way to visualize flow around a shape like this? Is there an example of how to insert tagged particles (aka smoke)?

Not yet. That would be a nice addition. Possibly, we should have a separate flow visualization folder with metrics.jl and other efforts such as this suggestion.

@weymouth weymouth changed the title Flows seem to penetrate bodies Particle flows visualization May 13, 2023
@weymouth weymouth added the enhancement New feature or request label May 13, 2023
@weymouth
Copy link
Collaborator

weymouth commented Jun 3, 2023

I made a new repo with a tracer Particles class which can be used for visualization. There are two fun example plots in the repo for making pathline and dynamic vector field plots.

@weymouth weymouth closed this as completed Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants