[Paper Review] Vortexje - An Open-Source Panel Method for Co-Simulation
This paper presents Vortexje, an open-source C++ panel method for co-simulating aerodynamic forces and dynamic systems, validated through a stiff tethered kite simulation. It enables stable, accurate co-simulation using model exchange via FMUs and adaptive time-stepping, demonstrating robustness in handling complex fluid-structure interactions.
This paper discusses the use of the 3-dimensional panel method for dynamical system simulation. Specifically, the advantages and disadvantages of model exchange versus co-simulation of the aerodynamics and the dynamical system model are discussed. Based on a trade-off analysis, a set of recommendations for a panel method implementation and for a co-simulation environment is proposed. These recommendations are implemented in a C++ library, offered on-line under an open source license. This code is validated against XFLR5, and its suitability for co-simulation is demonstrated with an example of a tethered wing, i.e, a kite. The panel method implementation and the co-simulation environment are shown to be able to solve this stiff problem in a stable fashion.
Motivation & Objective
- To develop an open-source panel method implementation optimized for co-simulation with dynamical systems.
- To address the limitations of existing tools like XFLR5, which are tightly coupled to GUIs and unsuitable for dynamic simulation.
- To enable stable co-simulation of stiff fluid-structure interaction problems, such as a tethered wing.
- To design a modular, reusable panel method library that supports integration with ODE solvers and FMUs.
- To validate the approach using a tethered kite case study with accurate force and trajectory prediction.
Proposed method
- The panel method uses source and doublet distributions on discretized body and wake panels to solve the Laplace equation for potential flow.
- Boundary conditions enforce zero normal flow on the body surface and zero potential inside the body, leading to an asymmetric linear system of equations.
- A C++ library implements the panel method with mathematically grounded surface-derivative formulas for improved accuracy.
- Co-simulation is achieved via a Python-based master controller using PyFMI to interface with a Modelica-generated FMU for the tether dynamics.
- An adaptive time-stepping scheme with linearity checks and step size control ensures stability in stiff simulations.
- Communication between the panel method (C++) and the ODE solver (Python) is enabled via Boost.Python.
Experimental results
Research questions
- RQ1Can a modular, open-source panel method be designed to support efficient co-simulation with dynamical systems?
- RQ2How does the performance and accuracy of a custom panel method implementation compare to established tools like XFLR5?
- RQ3Can a co-simulation framework based on model exchange and adaptive time-stepping stably solve stiff fluid-structure interaction problems?
- RQ4What are the key design trade-offs between model exchange and co-simulation in aerodynamic simulations?
- RQ5How can a panel method be extended to support future features like aeroelasticity and boundary layer modeling?
Key findings
- Vortexje successfully validates against XFLR5 with minimal differences in aerodynamic results, indicating high accuracy.
- The panel method implementation demonstrates superior reliability due to its mathematically grounded surface-derivative formulation compared to XFLR5.
- The co-simulation framework with adaptive time-stepping and FMU integration successfully simulates the stiff tethered kite problem without numerical instability.
- The kite trajectory converges to a stable, physically plausible arc-shaped path under 6 m/s wind, confirming the method's robustness.
- The use of PyFMI and SUNDIALS enables efficient integration of the ODE solver, while Boost.Python enables low-level C++-Python communication.
- The framework supports future extensions, including aeroelasticity and boundary layer modeling, through its modular design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.