Design · PlasmaLean handbook

Coil fields, optimization, and constructible stellarator geometry

Biot–Savart fields, inverse coil design, manufacturing geometry, and robust workflows.

Lean 4.34.1Mathlib 4.34.19 tracked tasks
Implementation status · 2026-10-14Exact finite-pressure equilibria (toroidal Solov'ev and a nonaxisymmetric helical one) now satisfy the kernel force-balance law, with all-time full-orbit confinement theorems, filament Maxwell identities, and Suydam/Newcomb stability criteria with exact certificates. All are idealized symmetric models; no coil-produced stellarator is certified and no all-mode MHD stability is proved. Compiled declarations, build results and assumptions → Chapter notes retain their original planning context; the task progress fields report subsequent work.

← Illustrated introduction: Illustrative design studio

This note supplies the geometric and electromagnetic bridge from mathematical fields to hardware. Material/thermal constraints are in 07; continuous checker methods are in 05.

Contents

Filament fields

Let c:[0,2π]→ℝ³ be a regular closed parametrized curve and I its oriented current. At points away from the curve define

$$B_c(x)=\frac{\mu_0 I}{4\pi} \int_0^{2\pi} \frac{c'(t)\times(x-c(t))}{|x-c(t)|^3}\,dt.$$

Define multi-coil fields by finite sums. Prove:

  • linearity in current and superposition;
  • reparametrization invariance;
  • reversal of curve orientation/current and their sign effects;
  • smoothness away from sources;
  • div B=0 and curl B=0 in a current-free region;
  • the chosen Ampère circulation/flux properties with their topological hypotheses.

For dist(x,c)≥d>0 and curve length L, direct kernel estimates give

$$|B_c(x)|\le\frac{\mu_0|I|L}{4\pi d^2},\qquad \|DB_c(x)\|\le\frac{2\mu_0|I|L}{4\pi d^3}.$$

The derivative bound uses the operator norm of D(r/|r|³), whose largest absolute eigenvalue is 2/|r|³. Derive higher derivative constants when needed. These are useful for interval quadrature, orbit error, and tolerance propagation.

Prove the circular-loop field on its axis as a sanity example:

$$B_z(z)=\frac{\mu_0 I R^2}{2(R^2+z^2)^{3/2}}.$$

Keep direction determined by the actual current orientation.

Finite conductors and plasma coupling

A filament field is singular on its source and cannot supply its own peak conductor field or self-force. Introduce a finite conductor Ω_c with vector current density J_cond:

$$B_c(x)=\frac{\mu_0}{4\pi}\int_{\Omega_c} \frac{J_{\rm cond}(y)\times(x-y)}{|x-y|^3}\,dy,$$

under adequate integrability/current closure conditions. Handle points in or near the conductor through the appropriate regularity/PDE theory and quadrature, not by evaluating a singular filament formula there.

Prove a far-field/finite-width comparison between a specified winding-pack distribution and its centreline approximation, with distance and current-moment bounds. Use the finite-conductor field for critical-current and load certificates.

At finite plasma pressure the equilibrium field is not merely the vacuum field generated by coils:

$$B_{\rm total}=B_{\rm coils}+B_{\rm plasma}$$

with interface/boundary conditions and self-consistent plasma currents. A virtual-casing calculation can propose the external field to reproduce a fixed-boundary equilibrium, but needs a sound reconstruction/error theorem before certification.

For a conductor in an external field the force density is J_cond×B. Include self-consistent finite-width electromagnetic stress/self-force appropriately. Distinguish the magnetic pressure scale B²/(2μ₀) from a universal support-stress formula. The structural model must transmit the actual distributed loads.

Inverse coil design

Use SIMSOPT, DESC, REGCOIL, and coil-design papers as candidate generators. Record software version and conventions, particularly field periods, stellarator symmetry, Fourier signs, currents, and units.

For a winding surface S_w a surface-current potential has the form

$$K=n\times\nabla_s\Phi,$$

with periodic and prescribed multivalued/circulation components as required by the chosen topology. Prove surface-current conservation and the field representation. Single-valued Φ alone omits possible net current periods.

The inverse problem may minimize

$$\|B\cdot n_{\rm target}\|^2_{L^2(S_p)} +\lambda\|K\|^2_{L^2(S_w)}$$

or optimize explicit curves. The achieved objective is evidence about that objective. It is not by itself a proof of a nearby exact equilibrium, invariant tori, robust confinement, or coil feasibility.

For practical bounds, prove how a field or normal-field residual in a declared norm controls the next physical quantity. An L² boundary residual does not imply a pointwise residual without extra regularity/inverse estimates.

For quasisymmetry define the intended residual precisely, including radial weights, angle measure, normalization, and omitted modes. Prove its zero characterization within the chosen function class. Compare near-axis, global-boundary, and simultaneous coil/plasma design formulations without identifying their objectives.

Geometry and manufacturing

Represent each physical coil by its centreline, a material frame, cross-section, casing, insulation, supports, and assembly state. Use an oriented ribbon or winding-pack model for tape; curvature of the centreline alone does not determine hard-way bending or torsional strain.

Required continuous properties include:

ConstraintMathematical statement
Regular coil`\c'\≥v_*>0` and periodic smoothness
Nonintersecting packEmbedded swept solid with positive Jacobian and nonlocal separation
Curvature/strainPointwise limits everywhere along every turn and across the pack
Coil–coil clearanceSeparation of physical swept solids including casings/tolerances
Plasma–coil budgetSpace for vacuum gap, wall, blanket, shielding, supports, and allowable motion
Ports and divertor accessExclusion/clearance constraints for concrete service volumes
Manufacturable windingMaterial frame and allowed bend/twist/length constraints
MaintainabilityA continuous collision-free removal/installation path for selected components

Prove continuous bounds via 05. Avoid self-distance checks that reject adjacent points on the same coil simply because parameter values differ.

The distances 0.52 m, 0.83 m, and 1.4 m in the starting note are not established universal limits. Select a machine/material source and an engineering budget. Scaling a geometry by s scales length and clearances by s and curvature by 1/s; required current and component forces have additional scaling laws to derive, so geometric scale invariance does not imply equal feasibility.

Intentional edge islands can serve an island divertor. Distinguish the confinement core from the exhaust region instead of forbidding every magnetic island. See W7-X divertor studies.

Robust design specifications

Let a be nominal design coefficients and θ∈U manufacturing/operating variations. Include coil displacements, current calibration, pressure/current-profile changes, thermal expansion, and material degradation.

Prove field perturbation bounds in the norms needed downstream, for example

$$\|B(a,\theta)-B(a,\theta_0)\|_{C^k(\Omega)} \le L_k\|\theta-\theta_0\|,$$

with a common positive conductor-distance margin. A symmetry-breaking or normal-field scalar objective does not automatically yield this bound.

Translate downstream margins into tolerance budgets. Clearance margins use finite-solid displacement bounds. Stability margins require form perturbation bounds. Orbit margins require field derivatives and a time-dependent comparison. Magnet margins require field orientation, temperature, and strain.

Prove robust feasibility for a useful candidate before attempting global optimality. Keep objectives and hard certified constraints separate; a penalty term does not turn a violation into a theorem.

A complete candidate workflow

  1. Specify the machine class and operating/material envelope.
  2. Propose an axis/surface/coil/current parameterization from theory.
  3. Search candidate geometries and choose a useful finite representation.
  4. Certify embeddings, regularity, swept-solid clearances, and fields.
  5. Validate a model-consistent equilibrium and its boundary conditions.
  6. Certify the chosen MHD stability property on its full admissible space.
  7. Certify particle loss/transport/exhaust quantities at the required level.
  8. Bound heat, mechanical, magnet, irradiation, and lifetime constraints.
  9. Propagate common uncertainties and compose the contracts for one candidate.
  10. Record remaining model-validity evidence and the next physical validation step.

Separate proofs for different equilibria or operating profiles cannot be combined into one design certificate without a common-witness theorem.

Theorem backlog

IDTargetMain dependencyProgress so far
D1Biot–Savart algebra, smoothness, and field/derivative boundsIntegration and source separationPartially implemented — filament integral, bounds, actual Fréchet derivative, and source-free Maxwell identities (∇·B=0 for any filament, ∇×B=0 for closed filaments) away from the source; higher derivatives pending.
D2Circular-loop and orientation sanity casesExact integrationLean verified — exact circular-loop vector field on its axis and orientation reversal; the two-loop fixture has a positive midpoint field for positive equal currents.
D3Continuous curve/surface/solid geometric certificateInterval coverage, embedding/reachPartially implemented — arbitrary 3-D placed circles preserve C¹ regularity, closure and simplicity; tube envelopes have continuous clearance/disjointness and manufacturing-margin transfer. Embedded winding packs and self-clearance remain pending.
D4Finite-width-to-filament error and conductor fieldCurrent distributions and magnetostaticsPlanning only — no Lean code written
D5Coil perturbation bounds in C^k normsD1/D4 and quantified geometric perturbationsPartially implemented — full-parameter position/tangent errors imply a C⁰ filament-field error; independent current errors compose with the same actual coils. Rigid-pose errors supply C¹ curve budgets; Cᵏ field-error bounds for k≥1 remain pending.
D6Certified inverse field reconstructionBoundary/inverse estimates and regularizationPlanning only — no Lean code written
D7Free-boundary plasma/coil consistency02 and 03Planning only — no Lean code written
D8Robust physics–engineering candidateAll contracts; major development/researchPlanning only — no Lean code written
D9Removal paths and robust manufacturing marginsConfiguration-space geometryPlanning only — no Lean code written