-
Notifications
You must be signed in to change notification settings - Fork 25
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
result.animate_nodal_displacement() crashes #112
Comments
Complete error message:
|
Yeah, this issue happens to me, but if I had to guess I'd say it's probably more related with VTK than pyansys itself. I run my pyansys sessions from an ipython notebook within VScode, and run the animations on different windows (as the inline animations don't work, at least within this IDE it just shows an static image until you interrupt execution). If you close the window that's showing the animation, it produces a kernel crash (which is way past an exception). The only way to show multiple animations is to interrupt the cell manually, leaving the animation window non responsive, and then running the cell again. This isn't too much of a hassle, but makes long design exploration sessions a bit tedious, as you end up with 10s of unresponsive windows, that you can only get rid of by closing and opening the IDE itself. For your case, I can think of 2 workarounds:
|
@CesarRodriguezPereira, thanks for the clarification. I think when reporting errors it's super helpful to have the user context/environment so they can be reproduced and debugged by a developer. @germa89, let me know if you can take a look at this. It's still in support of the legacy reader, but it seems that it's still quite popular until pydpf-core can get animation. |
I will have a look as soon as I can |
It seems to be an issue with the legacy reader, more specifically, with the "loop" keyword. I believe that closing the window does not kill/close properly the background process which keeps updating the animation. |
I'm not 100% sure, but I believe there is "close_window" event missing. We should probably add something like:
to: |
Good point. @germa89, can you take care of that? |
Will do my best. |
Transferred to pymapdl reader because the error is in that library. |
I've run a modal analysis, which I'd like to postprocess.
does create an animation of the first mode


but when closing the plot window, the following error is returned:
I'll paste the complete error message in comment, but I don't know how to address this.
The text was updated successfully, but these errors were encountered: