Add deformation to the mode shape animation
Opened this issue · 1 comments
Rfaelv commented
Description of the feature
The actual mode shape animation looks like this example presented in the documentation. Even though the method animate_mode
allows the deform_scale_factor
parameter, only the colors changes in the animation. I expected that the node coordinates changes too (acording to the mode shape).
If some of you could please implement that feature I would apreciate it so much.
Steps for implementing the feature
No response
Useful links and references
No response
Rfaelv commented
I've driven into the code and found a way (not necessarily the better) to show the mode shape deformation. Below I describe the solution:
Here:
I added an addtional workflow output fordeform_by
as follows:wf.set_output_name("deform_by", scaling_op.outputs.field)
Finally, in method
pydpf-core/src/ansys/dpf/core/animator.py
Line 98 in 05399b1
scale_factor
with the following value: scale_factor[frame]