[BUG] Fix aeroelasticity units#198
Conversation
|
Hey @JonahJ27! Thanks for the unit conversion fixes. I read through them and they look correct to me! Regarding the inertial vs. aerodynamic scaling, I suspect that what we are seeing now is actually correct (within the limitations of the model of course), and that the problem is that the default spring constant and wing areal density (or their relative magnitudes) may not be physically realistic. I agree that papering over the problem by messing with the scaling parameters isn't a good idea. In fact, we may want to remove those from the API if there is no physically-motivated reason to touch them. We could leave them as private module-level global constants (set to Our best bet is to validate by reproducing analytical results. I did some digging and found Moore (2014), "Analytical results on the role of flexibility in flapping propulsion," which analytically solves a problem we can replicate in simulation. The system is a rigid flat plate (negligible thickness, high AR) immersed in a freestream (high Re, low Mach). The plate is mounted at its leading edge to a torsional spring. It is also mounted to a system that prescribes a sinusoidal heaving. Any pitching motion is entirely passive, and affected by the spring. The heaving amplitude/St number are chosen to prevent flow separation. The one caveat is that the paper seems to neglect any structural damping, so we'd need to zero that parameter when setting up the simulation, or re-solve the ODE from the paper with an additional |
Description
Fixes the unit changes suggested in the branch bug/aeroelastic logic. Could use some feedback based on the feedback in the other branch
Motivation
See aeroelastic logic thread in #190 for background.
Relevant Issues
None.
Changes
Dependency Updates
None
Change Magnitude
Minor: Small change such as a bug fix, small enhancement, or documentation update.
Checklist (check each item when completed or not applicable)
mainand is up to date with the upstreammainbranch.--in-place --black). See the style guide for type hints and docstrings for more details.pterasoftwarepackage use type hints. See the style guide for type hints and docstrings for more details.testspackage.testspackage.ascii-only,black,codespell,docformatter,isort, andpre-commit-hooksGitHub actions.mypyGitHub action.testsGitHub actions.