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

visualize vector fields with streamplot #1634

Closed
danshapero opened this issue Mar 26, 2020 · 0 comments · Fixed by #1670
Closed

visualize vector fields with streamplot #1634

danshapero opened this issue Mar 26, 2020 · 0 comments · Fixed by #1670
Assignees

Comments

@danshapero
Copy link
Contributor

danshapero commented Mar 26, 2020

The current plotting interface includes a quiver function like the matplotlib version. Quiver plots are not always visually informative, especially when the mesh has a very high density.

A better approach would be to implement an analogue of streamplot. This would involve (1) an ODE integrator to generate the streamlines and (2) some kind of sampling strategy to pick the seed points.

There are several research papers on picking the seed points:

  • Turk and Banks, 1996. Image-guided streamline placement
  • Verma, Kao, Pang, 2000. A flow-guided streamline seeding strategy
  • Merbarki, Alliez, Devilliers, 2005. Farthest point seeding for efficient placement of streamlines

I can foresee a possible hiccup in how to handle discontinuous vector fields. A dumb approach is to project into CG. Maybe there's a smarter approach for H(div) or H(curl)-conforming spaces.

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

Successfully merging a pull request may close this issue.

1 participant