Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot Mode 2D #1097

Open
hserdogan94 opened this issue Aug 16, 2024 · 2 comments
Open

Plot Mode 2D #1097

hserdogan94 opened this issue Aug 16, 2024 · 2 comments
Labels
stale Issues with no activity for a long period

Comments

@hserdogan94
Copy link

I found out in the plot_mode_2d function, the mode shapes didn't show the negative displacements, it would be more clear if there is possibility to add it. If I am not mistaken.

image
image

Thank you again for the excellent software.

Best regards,

Hasan

@ViniciusTxc3
Copy link
Collaborator

Hi @hserdogan94, currently in the plot_mode_2d function the orientation in default is "major", where the orbit is considered positive. It is also possible to change this orientation to "x" or "y". This way it is possible to see the plot in other projections. I believe this can solve your case.

Example:

import ross as rs

rotor = rs.compressor_example()
rotor_speed = 1000.0 # rad/s
modal = rotor.run_modal(rotor_speed)
mode = 1
modal.plot_mode_2d(mode).show()
modal.plot_mode_2d(mode, orientation='x').show()
modal.plot_mode_3d(mode).show()
  • plot_mode_2d: orientation='major'
    image

  • plot_mode_2d: orientation='x'
    image

  • plot_mode_3d
    image

In future versions, we may change the plotting format to "major" to accommodate this visualization.

@ross-bott
Copy link
Collaborator

Hi there!
I have marked this issue as stale because it has not had activity for 45 days.
Consider the following options:

  • If the issue refers to a large task, break it in smaller issues that can be solved in
    less than 45 days;
  • Label the issue as wontfix or wontfix for now and close it.

@ross-bott ross-bott added the stale Issues with no activity for a long period label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues with no activity for a long period
Projects
None yet
Development

No branches or pull requests

3 participants