-
Couldn't load subscription status.
- Fork 23
Description
Before submitting the issue
- I have checked for Compatibility issues
- I have searched among the existing issues
- I am using a Python virtual environment
Description of the bug
Using animation.animate_mode(), the exported video shows the mode number but labels it as the frequency.
It would be great to show both mode number and freq
Steps To Reproduce
working_dir = r"D:\Temp"
import os
from ansys.dpf import core as dpf
from ansys.dpf.core import animation
from ansys.dpf.core import examples
model = dpf.Model(examples.download_modal_frame())
disp = model.results.displacement.on_all_time_freqs.eval()
freq_scoping = disp.get_time_scoping()
freq_set = freq_scoping[0]
filename = os.path.join(working_dir,r"mode{}.gif".format(freq_set))
animation.animate_mode(disp ,deform_scale_factor=10.0, mode_number=freq_set, save_as=filename, off_screen=True)
Which Operating System causes the issue?
Windows
Which DPF/Ansys version are you using?
Ansys 2024 R1
Which Python version causes the issue?
3.10
Installed packages
ansys-dpf-core 0.13.1.dev0
