Skip to main content
Version: 0.3.0

Transition

Scirocco predicts where the laminar boundary layer turns turbulent with the method. Along each surface, it tracks the amplification of the most unstable disturbance. Where reaches the critical value , the flow becomes turbulent.

Choosing ncrit​

The default is ncrit = 9, the standard value for an average wind tunnel. Quieter environments, such as clean free flight, call for higher values, which move transition back. Noisier ones call for lower values, which move it forward.

foil.GetState().param.ncrit = 9.0; // set before solving
foil.SetOper(4.0, -1.0, 1.0e6, 0.0);
foil.Solve();

ncrit is a modelling choice, not a measured property. Pick it to match your flow environment, and validate against data where you can. It isn't an option on the Philote server, and there are no derivatives with respect to it.

Onset of amplification​

Disturbances only grow above a critical , which depends on the shape factor. The default model, from XFOIL and mfoil, switches growth on with a short cubic ramp around that point. You can opt in to a ramp fitted to linear stability theory instead:

foil.GetState().param.onset = scirocco::OnsetModel::Envelope;
foil.SetOper(4.0, -1.0, 1.0e6, 0.0);
foil.Solve();
  • Orr–Sommerfeld envelope, H = 2.59
  • Envelope ramp (opt-in)
  • Cubic ramp (default)
00.250.50.751-0.4-0.200.20.4log₁₀ Reθ − lrc(Hk)growth rate / asymptote
Rate of growth of the amplification factor, relative to its asymptotic value, near the critical Reynolds number. Points: spatial Orr–Sommerfeld envelope for the Blasius profile. Growth starts below the cubic ramp and approaches the asymptote slowly; the envelope ramp follows it and keeps the same asymptote, so amplification far downstream is unchanged.
Show data
Orr–Sommerfeld envelope, H = 2.59
log₁₀ Reθ − lrc(Hk)growth rate / asymptote
-0.1890.012
-0.1770.065
-0.1650.126
-0.1540.181
-0.1420.232
-0.1300.283
-0.1180.326
-0.1070.367
-0.0950.405
-0.0830.441
-0.0710.477
-0.0600.510
-0.0480.538
-0.0360.569
-0.0250.597
-0.0130.622
-0.0010.647
0.0110.669
0.0220.691
0.0340.713
0.0460.730
0.0580.749
0.0690.768
0.0810.784
0.0930.799
0.1040.815
0.1160.829
0.1280.841
0.1400.853
0.1510.865
0.1630.875
0.1750.885
0.1860.896
0.1980.904
0.2100.912
0.2220.922
0.2330.931
0.2450.938
0.2570.943
0.2690.948
0.2800.956
0.2920.962
0.3040.968
0.3160.974
0.3270.979
0.3390.982
0.3510.985
0.3620.988
0.3740.990
0.3860.992
0.3980.996
0.4091.000
0.4211.001
0.4331.000
0.4451.003
Envelope ramp (opt-in)
log₁₀ Reθ − lrc(Hk)growth rate / asymptote
-0.4000.000
-0.3900.000
-0.3800.000
-0.3700.000
-0.3600.000
-0.3500.000
-0.3400.000
-0.3300.000
-0.3200.000
-0.3100.000
-0.3000.000
-0.2900.000
-0.2800.000
-0.2700.000
-0.2600.000
-0.2500.000
-0.2400.002
-0.2300.007
-0.2200.015
-0.2100.027
-0.2000.043
-0.1900.062
-0.1800.085
-0.1700.110
-0.1600.138
-0.1500.167
-0.1400.199
-0.1300.232
-0.1200.265
-0.1100.299
-0.1000.334
-0.0900.368
-0.0800.402
-0.0700.436
-0.0600.468
-0.0500.500
-0.0400.531
-0.0300.561
-0.0200.589
-0.0100.617
0.0000.643
0.0100.667
0.0200.691
0.0300.713
0.0400.734
0.0500.754
0.0600.772
0.0700.790
0.0800.806
0.0900.821
0.1000.835
0.1100.849
0.1200.861
0.1300.872
0.1400.883
0.1500.892
0.1600.901
0.1700.910
0.1800.917
0.1900.924
0.2000.931
0.2100.937
0.2200.943
0.2300.948
0.2400.952
0.2500.957
0.2600.960
0.2700.964
0.2800.967
0.2900.970
0.3000.973
0.3100.976
0.3200.978
0.3300.980
0.3400.982
0.3500.983
0.3600.985
0.3700.986
0.3800.988
0.3900.989
0.4000.990
0.4100.991
0.4200.992
0.4300.993
0.4400.993
0.4500.994
Cubic ramp (default)
log₁₀ Reθ − lrc(Hk)growth rate / asymptote
-0.4000.000
-0.3900.000
-0.3800.000
-0.3700.000
-0.3600.000
-0.3500.000
-0.3400.000
-0.3300.000
-0.3200.000
-0.3100.000
-0.3000.000
-0.2900.000
-0.2800.000
-0.2700.000
-0.2600.000
-0.2500.000
-0.2400.000
-0.2300.000
-0.2200.000
-0.2100.000
-0.2000.000
-0.1900.000
-0.1800.000
-0.1700.000
-0.1600.000
-0.1500.000
-0.1400.000
-0.1300.000
-0.1200.000
-0.1100.000
-0.1000.000
-0.0900.007
-0.0800.028
-0.0700.061
-0.0600.104
-0.0500.156
-0.0400.216
-0.0300.282
-0.0200.352
-0.0100.425
0.0000.500
0.0100.575
0.0200.648
0.0300.718
0.0400.784
0.0500.844
0.0600.896
0.0700.939
0.0800.972
0.0900.993
0.1001.000
0.1101.000
0.1201.000
0.1301.000
0.1401.000
0.1501.000
0.1601.000
0.1701.000
0.1801.000
0.1901.000
0.2001.000
0.2101.000
0.2201.000
0.2301.000
0.2401.000
0.2501.000
0.2601.000
0.2701.000
0.2801.000
0.2901.000
0.3001.000
0.3101.000
0.3201.000
0.3301.000
0.3401.000
0.3501.000
0.3601.000
0.3701.000
0.3801.000
0.3901.000
0.4001.000
0.4101.000
0.4201.000
0.4301.000
0.4401.000
0.4501.000

The envelope ramp comes from spatial Orr–Sommerfeld analysis of the Falkner–Skan profiles, for from 2.36 to 3.48. Growth starts at the critical Reynolds number and then approaches the asymptotic rate slowly. Far downstream the asymptote is the same as the default ramp's, so the amplification factor there is unchanged. On NACA 2412 at α = 4°, Re = 10⁶, changes by 0.06% and transition moves 0.0007c.

The ramp also matters for gradients. The default ramp is sharp, so the drag gradient with respect to the shape near the onset is large and oscillates. For a smooth bump 0.01c wide, the envelope ramp makes that gradient two to four times smaller and removes the oscillation. Use it for shape optimization. Leave the default when you need to match XFOIL or mfoil results. Transition validation compares both ramps with the stability results. The data, solver, and fit are in scirocco/validation/onset_envelope.

Captured transition (experimental)​

By default, transition sits inside one panel: stations upstream use laminar equations and stations downstream turbulent ones. When transition moves across a node, the station switches equations. Outputs stay continuous, but their derivatives jump. On NACA 2412 at Re = 10⁶, dCd/dα saw-tooths by ±25% as α changes.

The captured model avoids the switch. It carries the amplification factor and the shear stress at every node and blends the laminar and turbulent closures over a transition length:

foil.GetState().param.transition = scirocco::TransitionModel::Captured;
foil.SetOper(4.0, -1.0, 1.0e6, 0.0);
foil.Solve();
  • Smoothness: dCd/dα becomes smooth. The remaining ripple is 0.2–8% at 160 panels and shrinks as the panels are refined. The cut-cell ripple stays at 20–30%.
  • Drag: checked against measured Eppler 387 drag (UIUC, Re = 1–4.6×10⁵, laminar separation bubbles throughout). The RMS error is 5.3%, against 16% for the default model, which under-predicts bubble drag by up to 28%. At Re ≥ 10⁶ the two models agree within 4% on NACA airfoils.
  • Transition length: set by capt_L, in momentum thicknesses. The default of 60 is calibrated on the Eppler 387 data. The zone should span several panels; at high Reynolds numbers, use more panels.
  • Gradients: ComputeSensitivities() works as usual: shape, angle of attack, Reynolds and Mach number derivatives all match complex step through the mfoil prototype: shape to 1e-8, the scalars to 1e-10.
  • Limits: prescribed angle of attack only; a lift target throws.

Transition validation has the full comparison with the Eppler 387 measurements, the gradient sweeps and the derivative checks. The formulation and the dead ends are in scirocco/validation/captured_transition.

How transition moves during a solve​

Transition is part of the Newton iteration: as the solution changes, the transition point can move from one panel to the next. When it does, the equations at that station switch from laminar to turbulent. This is the main source of convergence trouble and of noisy finite-difference gradients. Check gradients at points where transition sits still.

At transition, the turbulent shear stress starts from a value set by the local boundary-layer state through the closure constants CtauC and CtauE.

Limits​

The model turns amplification on over a narrow band of , a fixed numerical ramp inherited from XFOIL and mfoil. Shape gradients are exact for the discrete model, but they can spike from node to node where the amplification starts to grow, and refining the paneling does not remove the spikes. See where the shape gradient is rough.

There is no way to force transition (a trip strip) through the public API or the Philote server. The amplification model is the standard one from XFOIL and mfoil, with the same strengths and weaknesses: it is good for smooth airfoils at moderate Reynolds numbers, and does not model bypass transition from high free-stream turbulence.

Source: transition.cpp, bl_properties.cpp.