Skip to content

Result animations don't work with the new pyvista default backend (trame) #281

Open
@CesarRodriguezPereira

Description

@CesarRodriguezPereira

🤓 Before submitting the issue

🔍 Description of the bug

The results object animation method is not compatible with the current backend that PyVista has switched to (trame). When trying to animate a solution (for example, from a nodal analysis) with mapdl.result.animate_nodal_solution(0) the trame window gets stuck loading until you stop the execution. Once you do, a static mesh is opened in the trame window.

Animations with the notebook=False option remain operative, but one thing I have noticed is that the mapping of the colorscale to the animation stopped working a few versions ago (so, for example, if you have something vibrating, it will always show the color for 0 deformation, even if it does animate the displacements). add_text=Truehas also become less functional, as the text is barely readable.

🕵️ Steps To Reproduce

Steps:

  1. Make any simple model and run a modal analysis.
  2. Animate modal results from the results object.

💻 Which Operating System are you using?

Windows

🐍 Which Python version are you using?

3.11

📝 PyMAPDL Report

'

📝 Installed packages

'

📝 Logger output file

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions