Scirocco
Scirocco is a C++17 library for analyzing 2D airfoils. Give it a shape and an operating point, and it returns lift, drag, moment, and the boundary layer. One more call returns the derivatives of those results with respect to every input, which is what a gradient-based optimizer needs.
- Viscous, Re = 10⁶
- Inviscid
What it does
- Inviscid and viscous analysis. A linear-vortex panel method, coupled by
Newton's method to an integral boundary layer and wake when
Re > 0. - Transition. amplification, with
ncrit = 9by default. - Compressibility. Kármán–Tsien correction for subsonic Mach numbers.
- Geometry. NACA 4- and 5-digit sections, your own coordinates, flaps, camber changes, and a CST (Kulfan) parameterization.
- Gradients. A discrete adjoint for , , and with respect to node coordinates, , , and , tested against complex-step reference data.
- Output and integration. Optional HDF5 history files, and Philote gRPC servers that connect to any MDO framework with a Philote client.
Scirocco is a C++ port of mfoil by Krzysztof J. Fidkowski, extended with analytic adjoints. The Python mfoil implementation is the reference for every result and derivative in the test suite.
Pick your path
Scirocco is licensed under Apache 2.0. mfoil is MIT-licensed; see
NOTICE.