Torus Lab
Analytic circular field
HBF Network
Loading…
Loading Torus Lab…
Analytic circular field
Torus Lab computes the magnetic field of a toroidal machine and shows it in 3D: field lines and Poincaré sections, field maps and probes, charged-particle orbits, plasma profiles, the proton-boron-11 fusion source with its radiation losses, and fixed-boundary Grad-Shafranov equilibria. Each calculation runs on this device in the background; the 3D view draws the computed field lines and trajectories inside the Torus apparatus.
Field lines use the Dormand-Prince 5(4) integrator with the arclength in metres. Particles are collisionless test particles with an absorbing circular wall. The default integrator is the nonrelativistic Boris map, which refuses a source whose nonrelativistic speed differs from the relativistic speed by more than 1 %. The relativistic Boris and Higuera-Cary maps advance the proper velocity γv, so the speed stays below c at every energy; a trajectory ends where |E⊥| ≥ c|B| or where the radiated energy would exceed 1 % of the kinetic energy (radiation reaction is not modelled). The Higuera-Cary map keeps the exact E×B drift at relativistic drift speed; the relativistic Boris map does not. Profiles use the circular volume Jacobian. The p-¹¹B source uses the Sikora and Weller 2016 table or the Tentori and Belloni 2023 fit within its data range and keeps the radiation terms separate; the alpha deposition fraction is a scenario input. Numerical quality, termination events and the run package report every result at full precision; Use in DirectConvert passes the escaping alphas of a source result to DirectConvert. Screening model in the toolbar opens the configuration scales of a torus: cylindrical safety factor, beta, density comparison and alpha orbit scales.
The CR-39 plate settings place a plate at a port of the wall: its angle around the axis φ, its angle in the cross-section θ (0° on the outboard midplane, 90° on top), its distance from the magnetic axis, a tilt about its edge along φ, its width and height in millimetres and a shutter in front of it. The plate faces the magnetic axis and must stay inside the wall. Use for the open run gives the run open in the Run bar this torus, its field, the integrator and the plate, with the wall as the edge of its world; the analytic circular field and the toroidal field can be used for a run. When the run's source lies outside the vessel, Put the source on the magnetic axis moves it there. Compute its transport then follows every alpha of the run's source sample with the chosen integrator until it reaches the plate, the shutter or the wall, or until its time window ends, and shows how many alphas end where. The step size is checked by computing a subset again with half and a quarter of the step; a check that fails appears as a warning and the result stays. Reactor 3D draws the paths and the plate hits of the run. A run saved under Saved runs while a Shot-to-Track run is open keeps that run's name.
Outside its range an input is refused, and the reason appears next to it. Type powers of ten with the letter e: 1e20 means 1 × 10²⁰.
Studies are further computations on the current result or on their own settings. Each study has its typed settings, Compute, Reset settings, Load settings and Save settings (a settings file), its result and its own export. A study that uses the current result says so, and asks you to compute it again when the main result changes. Compare runs keeps the results of two computations side by side, largest changes first. Run notes add a title, a note and the affected results to the current run and are exported with the run package; Report check reads a saved note against its run.
Torus Lab studies: Equilibrium solver checks, Coil field checks and Particle orbit checks test the Grad-Shafranov solver, the coil field and the orbit integrators against known solutions, each with its tolerance. Similarity scaling computes the dimensionless ratios of a charged particle beam; Field solver job exports a job for an external field solver and reads its response; Reference calculation does the same for a test particle problem. Uncertainty propagation and Measurement planning use linear Gaussian models. Field measurements, under Tools, compares measured field vectors with the field of the current result.