Skip to content

Low-mode TAE with ShearAlfven: convergence and the mode structure near the axis

@spossann

2026-11-11 · 29559dcaf · media folder · study folder

Description

Question. In the low-mode TAE example of the ShearAlfven model (examples/ShearAlfven/lowmode_tae), the radial velocity of the mode keeps a large m = 1 component all the way to the magnetic axis. Is this physical, or a numerical artefact (resolution, the hole around the axis and its boundary condition, the discretization of the magnetic field)? And is the TAE frequency converged?

Setup. Toroidal Alfvén eigenmode with n = 1 in the gap of the m = 1 and m = 2 shear Alfvén continua at q = 3/2: AdhocTorus equilibrium (R0 = 5, a = 1, B0 = 1, q = 1.25 + r², flat density, beta 0.0018) on a HollowTorus (hole radius 0.01) or, with polar splines, an IGAPolarTorus (no hole). The TAE is excited by an initial velocity with m = 1 and m = 2 harmonics around r = 0.5; no energetic particles. Implicit shear Alfvén step, dt = 0.5, T = 1200 (about 13 periods), splines of degree 3. The base run uses 16 x 16 x 8 elements, the magnetic field in H(div) and Dirichlet conditions at both radial boundaries; the other runs change one thing each (see the table of runs).

Analysis (pproc_ShearAlfven.py and the scripts in params/, see struphy.post_processing.mode_analysis): the radial velocity is Fourier-transformed in the poloidal and toroidal angles at all saved times, and the coefficients c_m(r, t) of n = 1 are transformed in time (Hann window). The frequency of the TAE is the peak of the m = 1 spectrum at r = 0.5. The mode structure is the amplitude |c_m(r, omega)| at that frequency: it filters the eigenmode from the continuum oscillations of the run, whose radial structure gets finer in time (phase mixing) and therefore differs between snapshots of runs with different resolution.

The runs were made with the development branches of the polar preconditioner (struphy#918) and of the projected equilibrium in the FEEC space (struphy#922), before their merge. The Struphy commit of the study is on devel after both merges; the parameter and post-processing files were checked to run with it (test runs of base, polar, hcurl).

Main findings

run change omega (FFT peak) deviation from 0.0672 TAE structure vs base m = 1 weight r < 0.25
base 16 x 16 x 8, H(div), hole 0.01 0.0621 -7.6% - 0.29
z4 / z16 toroidal 4 / 16 elements 0.0588 / 0.0621 -12.4% / -7.6% - / 1.7% 0.26 / 0.29
r32 / r64 radial 32 / 64 elements 0.0621 -7.6% 10% / 9.8% (r64 vs r32: 0.5%) 0.28
th32 poloidal 32 elements 0.0621 -7.6% 1.3% 0.28
bcfree free BC at the hole 0.0621 -7.6% 7% (first points only) 0.29
a1_0.1 hole radius 0.1 0.0621 -7.6% 16% 0.13
hcurl magnetic field in H(curl) 0.0621 -7.6% 31% (noise near the axis) 0.30
polar polar splines, no hole (16 x 18 x 8) 0.0621 -7.6% 4% 0.29

The expected frequency 0.0672 is the center of the gap, n v_A / ((2m + 1) R0); the frequency resolution 2 pi / T is 0.0052.

  1. The frequency is converged: 0.0621 for all resolutions and variants, 7.6% below the center of the gap. Only 4 toroidal elements are too few (-12.4%, the near cancellation of n q - m amplifies errors of the toroidal wave number); 8 suffice.
  2. The mode structure is converged at 32 radial elements (r64 vs r32: 0.5%); poloidally 16 and toroidally 8 elements suffice. With 16 radial elements the shape is right but about 10% off, mostly the height of the m = 2 peak. Snapshots of the full field differ much more between resolutions (24% at t = 600, 49% at t = 1200), because of the continuum oscillations, not of the TAE: compare the filtered structure, not snapshots.
  3. The m = 1 support towards the axis is physical. The run with polar splines (no hole, C1-regular at the axis) has the same m = 1 plateau (about 55% of the peak) down to r = 0, and m = 2 goes to zero at the axis. This is the regular m = 1 behaviour (a rigid shift, constant near the axis); the m = 1 continuum crosses the TAE frequency at r of about 0.42, so the m = 1 part is barely evanescent inside the gap. Artificial boundary conditions reduce rather than cause it: a hole of radius 0.1 with u.n = 0 pulls m = 1 down. The H(curl) discretization shows noise near the axis (a numerical artefact of that variant); its main lobe agrees.
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid), polar (dashed: polar splines, no hole) and z16 (dotted: 16 toroidal elements).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid), polar (dashed: polar splines, no hole) and z16 (dotted: 16 toroidal elements).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs r32 (solid: 32 radial elements) and r64 (dashed: 64 radial elements).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs r32 (solid: 32 radial elements) and r64 (dashed: 64 radial elements).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid), bcfree (dashed: free BC at the hole), a1_0.1 (dotted: hole radius 0.1) and hcurl (dash-dotted: magnetic field in H(curl)).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid), bcfree (dashed: free BC at the hole), a1_0.1 (dotted: hole radius 0.1) and hcurl (dash-dotted: magnetic field in H(curl)).
Radial velocity u_r in the poloidal plane at t = 1200 of the runs base (left) and r32 (middle, 32 radial elements), and their difference (right): the snapshots differ by the fine radial ripples of the continuum oscillations, not by the TAE.
Radial velocity u_r in the poloidal plane at t = 1200 of the runs base (left) and r32 (middle, 32 radial elements), and their difference (right): the snapshots differ by the fine radial ripples of the continuum oscillations, not by the TAE.

Comparison figures

Time spectra of the m = 1 harmonic of the radial velocity at r = 0.5 for all runs (one color per run, see the legend); dashed: expected TAE frequency 0.0672, gray: +-10%.
Time spectra of the m = 1 harmonic of the radial velocity at r = 0.5 for all runs (one color per run, see the legend); dashed: expected TAE frequency 0.0672, gray: +-10%.
Modulus of the m = 1 (left) and m = 2 (right) harmonics of the radial velocity at the measured TAE frequency for all runs (one color per run, see the legend).
Modulus of the m = 1 (left) and m = 2 (right) harmonics of the radial velocity at the measured TAE frequency for all runs (one color per run, see the legend).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid), polar (dashed: polar splines, no hole) and z16 (dotted: 16 toroidal elements).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid), polar (dashed: polar splines, no hole) and z16 (dotted: 16 toroidal elements).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid: 16 radial elements), r32 (dashed) and r64 (dotted).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid: 16 radial elements), r32 (dashed) and r64 (dotted).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs r32 (solid: 32 radial elements) and r64 (dashed: 64 radial elements).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs r32 (solid: 32 radial elements) and r64 (dashed: 64 radial elements).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid: 8 toroidal elements), z4 (dashed: 4) and z16 (dotted: 16).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid: 8 toroidal elements), z4 (dashed: 4) and z16 (dotted: 16).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid), bcfree (dashed: free BC at the hole), a1_0.1 (dotted: hole radius 0.1) and hcurl (dash-dotted: magnetic field in H(curl)).
Mode structure |c_m(r, omega)| of the radial velocity at the TAE frequency (left) and in the continuum band 0.035-0.055 (right); colors: m = 0 (blue), 1 (orange), 2 (green). Runs base (solid), bcfree (dashed: free BC at the hole), a1_0.1 (dotted: hole radius 0.1) and hcurl (dash-dotted: magnetic field in H(curl)).
Radial velocity u_r in the poloidal plane at t = 1200 of the runs base (left) and r32 (middle, 32 radial elements), and their difference (right): the snapshots differ by the fine radial ripples of the continuum oscillations, not by the TAE.
Radial velocity u_r in the poloidal plane at t = 1200 of the runs base (left) and r32 (middle, 32 radial elements), and their difference (right): the snapshots differ by the fine radial ripples of the continuum oscillations, not by the TAE.
Harmonics |c_m(r)| of the radial velocity at t = 1200 (snapshot, not filtered) of the runs base (solid) and r32 (dashed); colors: m = 0 (blue), 1 (orange), 2 (green), 3 (red).
Harmonics |c_m(r)| of the radial velocity at t = 1200 (snapshot, not filtered) of the runs base (solid) and r32 (dashed); colors: m = 0 (blue), 1 (orange), 2 (green), 3 (red).

Videos

base: 16 x 16 x 8, H(div), Dirichlet at the hole (radius 0.01)

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

z4: 4 toroidal elements

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

z16: 16 toroidal elements

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

r32: 32 radial elements

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

r64: 64 radial elements

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

th32: 32 poloidal elements

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

bcfree: free boundary condition at the hole

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

a1_0.1: hole radius 0.1 (instead of 0.01)

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

hcurl: magnetic field in H(curl) (Hiptmair-Xu preconditioner)

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

polar: C1 polar splines on an IGAPolarTorus, no hole (16 x 18 x 8)

u r 3d
u r 3d cut
u r rz

b1 3d t0
b1 3d t0
b1 3d t1200
b1 3d t1200
b1 3d t600
b1 3d t600
b1 slices rz t0
b1 slices rz t0
b1 slices rz t1200
b1 slices rz t1200
b1 slices rz t600
b1 slices rz t600
b1 slices xy t0
b1 slices xy t0
b1 slices xy t1200
b1 slices xy t1200
b1 slices xy t600
b1 slices xy t600
b2 slices rz t0
b2 slices rz t0
b2 slices rz t1200
b2 slices rz t1200
b2 slices rz t600
b2 slices rz t600
b2 slices xy t0
b2 slices xy t0
b2 slices xy t1200
b2 slices xy t1200
b2 slices xy t600
b2 slices xy t600
b3 slices rz t0
b3 slices rz t0
b3 slices rz t1200
b3 slices rz t1200
b3 slices rz t600
b3 slices rz t600
b3 slices xy t0
b3 slices xy t0
b3 slices xy t1200
b3 slices xy t1200
b3 slices xy t600
b3 slices xy t600
b r harmonics t0
b r harmonics t0
b r harmonics t1200
b r harmonics t1200
b r harmonics t600
b r harmonics t600
energies
energies
tae omega r
tae omega r
tae profiles
tae profiles
tae spectrum
tae spectrum
u1 3d t0
u1 3d t0
u1 3d t1200
u1 3d t1200
u1 3d t600
u1 3d t600
u1 slices rz t0
u1 slices rz t0
u1 slices rz t1200
u1 slices rz t1200
u1 slices rz t600
u1 slices rz t600
u1 slices xy t0
u1 slices xy t0
u1 slices xy t1200
u1 slices xy t1200
u1 slices xy t600
u1 slices xy t600
u2 slices rz t0
u2 slices rz t0
u2 slices rz t1200
u2 slices rz t1200
u2 slices rz t600
u2 slices rz t600
u2 slices xy t0
u2 slices xy t0
u2 slices xy t1200
u2 slices xy t1200
u2 slices xy t600
u2 slices xy t600
u3 slices rz t0
u3 slices rz t0
u3 slices rz t1200
u3 slices rz t1200
u3 slices rz t600
u3 slices rz t600
u3 slices xy t0
u3 slices xy t0
u3 slices xy t1200
u3 slices xy t1200
u3 slices xy t600
u3 slices xy t600
u r harmonics t0
u r harmonics t0
u r harmonics t1200
u r harmonics t1200
u r harmonics t600
u r harmonics t600

Reproduce

Install the Struphy version of the study (in a fresh virtual environment) and compile the kernels:

pip install "struphy @ git+https://github.com/struphy-hub/struphy@29559dcaf4b4cf9436b33eb32f1fb5f86c77ef22"
struphy compile

The parameter and post-processing files are in studies/2026-11-lowmode-tae-shear-alfven/params/. Run each command in that folder:

run description params
base 16 x 16 x 8, H(div), Dirichlet at the hole (radius 0.01) params_ShearAlfven.py
z4 4 toroidal elements params_ShearAlfven.py
z16 16 toroidal elements params_ShearAlfven.py
r32 32 radial elements params_ShearAlfven.py
r64 64 radial elements params_ShearAlfven.py
th32 32 poloidal elements params_ShearAlfven.py
bcfree free boundary condition at the hole params_ShearAlfven.py
a1_0.1 hole radius 0.1 (instead of 0.01) params_ShearAlfven.py
hcurl magnetic field in H(curl) (Hiptmair-Xu preconditioner) params_ShearAlfven.py
polar C1 polar splines on an IGAPolarTorus, no hole (16 x 18 x 8) params_ShearAlfven.py

base

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder base
python pproc_ShearAlfven.py --sim-folder base --tend 1200 --max-frames 500

z4

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder z4 --num-elements 16 16 4
python pproc_ShearAlfven.py --sim-folder z4 --tend 1200 --num-elements 16 16 4 --max-frames 500

z16

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder z16 --num-elements 16 16 16
python pproc_ShearAlfven.py --sim-folder z16 --tend 1200 --num-elements 16 16 16 --max-frames 150

r32

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder r32 --num-elements 32 16 8
python pproc_ShearAlfven.py --sim-folder r32 --tend 1200 --num-elements 32 16 8 --max-frames 500

r64

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder r64 --num-elements 64 16 8
python pproc_ShearAlfven.py --sim-folder r64 --tend 1200 --num-elements 64 16 8 --max-frames 150

th32

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder th32 --num-elements 16 32 8
python pproc_ShearAlfven.py --sim-folder th32 --tend 1200 --num-elements 16 32 8 --max-frames 500

bcfree

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder bcfree --bc-inner free
python pproc_ShearAlfven.py --sim-folder bcfree --tend 1200 --bc-inner free --max-frames 500

a1_0.1

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder a1_0.1 --a1 0.1
python pproc_ShearAlfven.py --sim-folder a1_0.1 --tend 1200 --a1 0.1 --max-frames 500

hcurl

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder hcurl --b-space Hcurl
python pproc_ShearAlfven.py --sim-folder hcurl --tend 1200 --b-space Hcurl --max-frames 150

polar

mpirun -n 4 python params_ShearAlfven.py --tend 1200 --sim-folder polar --polar --num-elements 16 18 8
python pproc_ShearAlfven.py --sim-folder polar --tend 1200 --polar --num-elements 16 18 8 --max-frames 500