FlexWing-ROM: A matlab framework for data-driven
reduced-order modeling of flexible wings

Flexible wings pose a considerable modeling challenge, as they involve highly coupled and nonlinear interactions between the aerodynamic and structural dynamics. In this work, we provide an open source code framework, unifying recent data-driven modeling methods that extend the dynamic mode decomposition with control (DMDc) to model the nonlinear aeroelasticity of flexible wings. Our framework consists of (1) a fully parametrized flexible wing model; (2) a fluid-structure interaction (FSI) solver that couples a detailed finite element model of the wing structure with a 3D unsteady aerodynamic panel method; and (3) three different data-driven reduced-order aeroelastic modeling methods. We demonstrate our framework on two flexible wings and provide tutorials to compare the different data-driven methods. The code is widely applicable and useful for generating accurate and efficient data-driven reduced-order models, and it provides a benchmark for future developments of aeroelastic reduced-order modeling methods.