Skip to main content
Version: 0.3.1

Verification and validation

Verification asks whether Scirocco solves its equations correctly. Validation asks whether those equations describe real airfoils. They need different references:

QuestionReferenceResultPage
Does Scirocco implement its model correctly?mfoil, the Python code whose model Scirocco implementsIdentical forces and transition locations wherever both convergeXFOIL and mfoil
How close is it to the standard tool?XFOIL 6.99Cl within 0.3–0.5% on average, Cd within 0.5–1%XFOIL and mfoil
Does it predict measured flow?Published wind-tunnel dataLift slope 3.5% high, Cd 9–17% low, Cl,max 8% highWind-tunnel data
Are the transition options accurate?Stability theory, Eppler 387 dragCaptured transition is about three times closer to measured dragTransition validation
How fast is it?XFOIL, CMPLXFOIL, finite differencesFaster viscous solves at 200+ panels; gradients 6x faster than complex stepPerformance

Test suite​

The C++ tests run on every pull request. scirocco_tests checks geometry, splines, panel influences, boundary-layer closures, residuals and the Newton solve function by function against reference data generated with mfoil, stored as HDF5 files in scirocco/tests/. Most functions agree to 1e-10. Contributing covers how to build and run the tests.

What isn't covered​

  • Forced transition. Scirocco has no trip strip (see Transition limits), so tripped measurements are compared only where the trip barely matters, such as lift.
  • Separated flow. Near and past stall, the codes agree with each other but not with measurements. See Wind-tunnel data.
  • Transonic flow. The compressibility correction doesn't capture shocks (see Compressibility). The compressible case here stays subsonic.