ansys / pymapdl

Pythonic interface to MAPDL
https://mapdl.docs.pyansys.com
MIT License
427 stars 120 forks source link

Bug located in ... Cyclic Analysis Example #2133

Closed Railon69 closed 1 year ago

Railon69 commented 1 year ago

šŸ¤“ Before submitting the issue

šŸ” Description of the bug

Hey :) I found a bug for using the "Cyclic Analysis" Example found on https://mapdl.docs.pyansys.com/version/stable/examples/gallery_examples/00-mapdl-examples/cyclic_analysis.html#sphx-glr-examples-gallery-examples-00-mapdl-examples-cyclic-analysis-py

The generation of the animation does not work. The following Error message pops up:

TypeError: The keyword fps is no longer supported. Use duration(in ms) instead, e.g. fps=50 == duration=20 (1000 * 1/50).

How to fix this bug? Thanks Rai

šŸ•µļø Steps To Reproduce

.

šŸ’» Which Operating System are you using?

None

šŸ Which Python version are you using?

None

šŸ“ PyMAPDL Report

.

šŸ“ Installed packages

.

šŸ“ Logger output file

.

germa89 commented 1 year ago

Please @clatapie can you take care of this?

clatapie commented 1 year ago

Hi @Railon69! Thank you for posting this issue. I tried to reproduce this issue with my local installation but I didn't get the errors you mentioned. Could you please provide me the Operating System you're using as well as the Python version and the ansys-mapdl-core version used pleased?

Railon69 commented 1 year ago

Thank you for your answer. I use: Microsoft Windows 10 Enterprise Version 10.0.19045 Build 19045

Python 3.10.9 inside Spyder (Anaconda3) MAPDL Version: 21.2 ansys.mapdl Version: 0.64.0

clatapie commented 1 year ago

Hi @Railon69, thank you for this information! Could you please let me know if the error persists after updating the library? To do so, you can use the following command: pip install --upgrade --upgrade-strategy eager ansys-mapdl-core

Railon69 commented 1 year ago

That solved the problem! Thank you really much :)