Compare mode shape displacement continuity at interstage boundary in multi stage cyclic symmetry

Hi,
I have a multi-stage cyclic symmetry model in the workbench. I have performed the modal analysis in Ansys Mechanical, Workbench. Depending upon the HI I use for different stages I am getting some spurious mode shapes where the displacement at the interstage boundary is not continuous. So to check the continuity at the interstage boundary I have created a path at the interstage and plotted the displacement for both the stages individually at the interstage to check for continuity.

Now If I have many such modes it'll be very difficult to check for disp. continuity. So I am trying to develop a Python script to read the rst file and check for displacement continuity at the boundary.

I have read the rst file using the dpf reader. But I am having trouble in extracting the displacement at the interstage boundary along a particular path and extract disp for both stages individually.

Can I get help in extracting the disp. along a path for a particular body in pydpf?

Thanks,

Comments

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
    100 Answers 500 Comments 250 Likes First Anniversary
    ✭✭✭✭

    To restrict the results to a single body you'll have to use a scoping where you scope only the elements/nodes of that body.
    To map and plot results on a path you can refer to this example:
    https://dpf.docs.pyansys.com/version/stable/examples/06-plotting/04-plot_on_path.html#sphx-glr-examples-06-plotting-04-plot-on-path-py

  • Samukham
    Samukham Member Posts: 41
    10 Comments First Anniversary Name Dropper
    **

    Hi @Pernelle Marone-Hitz, thank you for your quick response.
    I have a circular path in the Mechanical model. Is there any way I can use the same path in PyDPF? If so how can I get that path from the mechanical model to PyDPF? The circular path I have created using cylindrical coordinates in Mechanical. I have searched for the option by reading the rest file. But I could not find any way to capture that path.

    If I can't capture the same path in PyDPF then how to create the circular path using cylindrical coordinates in PyDPF?

    Your guidance in this is highly appreciated.

    I am attaching a picture of the path I need here for your reference.

    Thanks

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
    100 Answers 500 Comments 250 Likes First Anniversary
    ✭✭✭✭

    The path defined in Mechanical is not written to the result file so will not be accessible in PyDPF.
    I'm not sure it would be available in Mechanical itself either (where DPF can also be used but I'm sure you're already aware).
    To define the path in PyDPF I would use the same method as shown in the example, but provide node coordinates matching a cylindrical distribution. There's not definition of CS per say in DPF, but if you have the nodes in a Cartesian CS you could convert them to a Cylindrical CS or vice-versa.

  • Samukham
    Samukham Member Posts: 41
    10 Comments First Anniversary Name Dropper
    **

    @Pernelle Marone-Hitz, I want to express my gratitude for the clarification. Your assistance is greatly valued.