-
Notifications
You must be signed in to change notification settings - Fork 106
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
Fix plot torsional and axial modes #1122
Fix plot torsional and axial modes #1122
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1122 +/- ##
==========================================
- Coverage 84.52% 83.53% -0.99%
==========================================
Files 35 37 +2
Lines 7966 8090 +124
==========================================
+ Hits 6733 6758 +25
- Misses 1233 1332 +99
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Resolves #1096
This PR introduces corrections related to the plotting of mode shapes and includes new methods to handle the plotting of torsional and axial modes in the 6-DoF model.
The
plot_with_mode_shape
method was not functioning due to changes in thefrequency_units
parameter in theModalResults
class from previous PRs. To resolve this, corrections were made to managespeed_units
separately fromfrequency_units
.Additionally, new methods were added to the Shape class, including
_plot_torsional
and_plot_axial
, which are now integrated into theplot_mode_2d
andplot_mode_3d
methods ofModalResults
. For 3D plots, an optional animation feature was added, which can be activated by passinganimation=True
as an argument.