Description
I am trying to extract the displacement from a modal analysis for specific modes.
I am using the following code from the examples:
from ansys.dpf import post
resultFile = 'pathToMyResultFile
simulation = post.load_simulation(resultFile)
displacelementMode5 = simulation.displacement(modes=[5])
This code gives me the following error: DpfVersionNotSupported: called from connect_with
I am using Python 3.10.9 in a virtual environment on Windows with 2021R2, ansys-dpf-core 0.7.4 and ansys-dpf-post 0.3.0.
I also tried:
displacementEveryModes = simulation.displacement()
Or:
displacementNamedSelection = simulation.displacement(named_selections=['namedSelection'])
And I got the same error. I also have the same error when trying:
stressMode5 = simulation.stress(modes = [5])
Thank you