camUrban / PteraSoftware

Ptera Software is a fast, easy-to-use, and open-source software package for analyzing flapping-wing flight.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Morphing

alexruiz95 opened this issue · comments

Hello,

Would it be possible to implement wing morphing? Like this:

bendingandtwsting

If so how would one go about it?

Thanks

Hi Alex! This is an interesting idea. I think that the best approach to implementing this would be to modify the classes in movement.py.

For background, I'd recommend reading the comments and docstrings in the example file unsteady_ring_vortex_lattice_method_solver_variable.py and then in movement.py. Basically, the way wing flapping currently works is by defining a hierarchy of movement objects. The WingMovement class defines the motion of an entire wing, and it contains WingCrossSectionMovement objects which define the relative motion of its wing cross sections. However, as you'll see from the docstrings, the options are pretty limited right now. Perhaps the solution would be programmatically breaking the wing down into many more cross sections. Then you could create an AirfoilMovement class that would be contained within each WingCrossSectionMovement object. Within the AirfoilMovement, you could add options to interpolate between airfoil shapes.

I don't have much time to help implement this given my research, but I'd be happy to consult along the way if you'd like to work on this via a new branch. Eventually, it could be merged back in for a new feature release 😄