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
Flow renderer doesn't work with some UGRID data #3008
Comments
Here's a description of the cause of this bug, and possible solutions.
One possible solution is to fall back to Euler method instead of RK4 when this type of failure happens. It will solve the problem for that particular particle which itself is still in the domain, but I suspect its immediate next few positions will be out of domain again, and not render any meaningful trajectories. Another possible solution is to accept the fact that any meaningful advection will place the particle out of domain given how fat it is. There could be a more informative message to the users though. Please let me know what you think. @clyne |
@shaomeng I think that there are two issues with the flow renderer with this data set:
|
|
Perhaps a simple fix that might help this problem is to calculate deltaT as you have done, but then check to ensure that it is not so large that you can't complete a single integration step along every direction. If it is, simply make it as small as it needs to be.
No, I do not know what they are supposed to look like, but I don't see any evidence by looking at the v1 and v2 velocity components that there is a critical point (zero velocity) in the region where the stream lines appear to stop progressing. You should verify that he behavior is correct, and not a bug. |
|
* fix #3008 * format * minor * address review comments
The flow renderer does not seem to work with UGRID data.
To reproduce:
Nothing is displayed. Changing various flow parameters doesn't seem to help
The text was updated successfully, but these errors were encountered: