Skip to main content
Version: 0.3.0

Internals

The solver kernels under scirocco/core/, scirocco/util/, and scirocco/properties/. You can include them, but they aren't a stable API and may change between minor versions. Use Scirocco and FoilState first.

Inviscid​

HeaderOne-liner
core/inviscid.hBuildGamma, GetUeInv, SolveInviscid, InitThermo, ClearSolution
core/panel_influence.hClosed-form linear-vortex influence-coefficient kernels
core/panel_influence_deriv.hAnalytic derivatives of the above for the adjoint chain
core/inviscid_deriv.h, partials of the inviscid Newton system
core/paneling.hCurvature-graded paneler, MakePanels, RefreshPanelGeometry
core/spline.hCubic-spline interpolation used by the paneler

Viscous boundary layer​

HeaderOne-liner
core/boundary_layer.hIntegral BL residuals; Thwaites laminar initialization; station-by-station march
core/coupled_solver.hSolveCoupled, BuildGlobSys, UpdateState, CalcUeM, StoreAdjointFactorization — the top-level viscous Newton loop
core/transition.hMarchAmplification, UpdateTransition — method machinery
core/viscous_geom_deriv.hGeometric chain in the viscous adjoint (foil-x → wake-s → BL stations)
core/viscous_residual_deriv.hResidual partials of the BL system
core/wake.hWake geometry generation and march
properties/bl_properties.h, , closure relations; Sutherland viscosity; Kármán–Tsien constants

Forces and adjoint​

HeaderOne-liner
core/forces.hCalcForce (pressure + friction integration), GetDistributions
core/adjoint.hFull reverse-mode adjoint kernel

Utilities​

HeaderOne-liner
util/math_utils.hSign, atan2 helpers, vector-norm utilities
util/linearization.hLinearization-recording helpers for the adjoint chain
config.hEigen type aliases (VectorXd, MatrixXd, Vector2d, …) and global constants

Philote integration​

HeaderOne-liner
philote_discipline.hSiroccoDiscipline — the analysis discipline that the scirocco_server binary serves
kulfan_discipline.hKulfanDiscipline — has its own page

Missing something?​

If you find yourself depending on one of these, open an issue describing what you need. Patterns that come up often get added to Scirocco.