Appearance
GLM damping length on a seam
| ID | Group | Milestone | Backends | Figure | Regression |
|---|---|---|---|---|---|
| G2 | Seam studies | M6 (#68) | FNL only | yes | — |
Case and scope
The GLM damping rate is [mhd] glm_damping_length min-cell (the finest spacing; with runtime AMR it is frozen at the spacing of max_level, D-M5-9). A per-level length, each level damping at its own spacing, does not exist. G2 asks whether it would matter, bracketing it between the coarse and the finest spacings on A2's source-free CPAW.
Models and numerics
| Item | Choice | Code |
|---|---|---|
| Equations | ideal MHD with mixed GLM, glm_ch 2.0, glm_alpha 0.18 | models |
| Damping length | glm_damping_length = 1.0, the coarse spacing min-cell | set_glm_damping, adam_flume_mhd_object.F90 |
| Space, time | WENO5 flux splitting on characteristic variables; SSP Runge–Kutta 5 stages, CFL 0.4 | as in AD |
| Seam operators | mean + tricubic, reflux on | numerics |
| D_flux | the seam floor of [diagnostics] divb_flux | compute_dflux_norms, adam_flume_fnl_object.F90 |
Initial and boundary conditions
| Item | Value |
|---|---|
| Case | the cpaw leg of AD: source-free CPAW, |
| Grid | refined and uniform |
| Boundaries | periodic in extrapolation in |
| Final time | 10 periods |
| Ranks | 2, FNL |
Input files
| File | Role |
|---|---|
src/tests/flume/verification/amr-divb/make_amr_divb.py cpaw | the CPAW inputs (--glm-damping-length: 1.0, the coarse spacing, min-cell) |
src/tests/flume/verification/amr-divb/amr_divb_oracle.py growth | the seam floor and its growth |
src/tests/flume/verification/make_doc_runs.sh <runs> divb (FNL), make_doc_figures.py --only glm-damping | re-runs the CPAW with the coarse spacing and min-cell (--glm-damping-length), |
Results

FNL: the seam maximum of D_flux on the source-free CPAW for the three damping lengths, refined min-cell doubling the floor at
glm_damping_length | rate | seam D_flux floor N = 64 / 128 | × uniform (N = 128) | growth N = 128 |
|---|---|---|---|---|
| 1.0 (A2) | 0.36 | 119 | 0.72 | |
| coarse spacing | 20.6 | 116 | 1.02 | |
min-cell (finest spacing) | 41.2 | 233 | 1.01 |
Related cases: AD is the A2 baseline (first row); the uniform-grid cleaning is GLM divergence cleaning.
Findings
- Every length keeps the seam divergence bounded (growth 0.72 to 1.02 over 10 periods).
- Strong damping raises the seam floor:
min-celldoubles it atagainst the coarse spacing or the domain-scale length; a per-level length (between the coarse and the finest spacings) would sit between them. - The D-M5-9 freeze stays (the plan's choice): its cost on this test is at most that factor 2 on the floor, with the damping rate fixed through regrids. No
per-leveloption is added.