← Octo-TIGER / All test problemsSteady diffusion

Equilibrium sphere

A smooth spherical emitter balances outward radiation transport. An error-function solution describes its steady diffusion equilibrium.

The experiment

Physical setup

A Gaussian light source is centered in a stationary medium of prescribed opacity χ. It emits total luminosity ℒ over all space, with a smooth width w:

q(r) = ℒ exp(−r²/w²) / (π3/2 w³),   r = |x|

The domain starts from the steady diffusion solution on top of background Ebg. Boundaries are nonperiodic: ghost cells are fixed to cell averages of that same analytic equilibrium. The incoming background is part of this boundary state. The gas remains fixed; the source adds radiation energy and the medium damps flux.

The standard CGS templates use w = 6 × 10⁹ cm, χ = 1.6666666667 × 10−10 cm−1, Ebg = 1 erg/cm³, and ℒ = 2.698132122 × 10²⁹ erg/s. This is a smooth Gaussian emitter. The saved settings below give the actual values used.

The standard runner uses a uniform cubic grid with hydrodynamics and gravity disabled. Its CGS box spans −3 × 10¹⁰ to +3 × 10¹⁰ cm on each axis, with c = 2.99792458 × 10¹⁰ cm/s and default final time 4 s. Opt-in adaptive runs are identified below; N = INX × 2level then describes their configured finest equivalent resolution. Each completed run below lists its recorded parameters.

The comparison

Comparison and interpretation

In steady isotropic diffusion, D = c/(3χ), ∇ · F = q, and F = −D∇E. Integrating the enclosed Gaussian luminosity gives

E(r) = Ebg + [3χℒ/(4πc)] erf(r/w)/r
F(x) = [ℒ/(4πr³)] [erf(s) − 2s e−s²/√π] x,   s = r/w

The apparent singularities are removable: E(0) = Ebg + 3χℒ/(2π3/2cw) and F(0) = 0. The implementation uses series expansions near the origin.

Initial, boundary, and comparison states are cell averages evaluated with four-point Gauss–Legendre quadrature on each axis (64 samples per cell). The smooth-field averages therefore have quadrature error. The Gaussian source has an exact cell integral, evaluated as a product of three error-function differences:

q̄ = (ℒ/Δx³) ∏d=x,y,z ½ {erf[(xd + Δx/2)/w] − erf[(xd − Δx/2)/w]}

The prescribed source adds Δt q̄ to energy and damps flux at rate cχ. Its numerical integration depends on the recorded method, as described below. The steady reference itself is independent of time.

What this test measures

This is a diffusion-limit equilibrium test. Nonlinear M1 has an anisotropic pressure at finite flux, so the diffusion solution need not remain exactly stationary in that model. Errors can reflect closure differences, transport/source splitting, discretization, and quadrature. The plots measure equilibrium drift and Cartesian directional effects as resolution changes.

Energy injected inside the finite cube should balance its outward transport and the change in stored energy. ℒ is the all-space luminosity; use the measured in-domain source budget rather than assuming the finite cube receives exactly ℒ. Symmetry can make net flux integrals very small, which is why their conservation normalization includes an energy-based scale.

Measured results

All resolutions

LevelGridBatch status
232³Ready

Convergence requires at least two completed, comparable resolutions.

Full-volume norms and orders

GridFieldNormErrorOrderError units
32³ cellserL11.431205e-05—erg/cm³
32³ cellserL25.752160e-05—erg/cm³
32³ cellserLinf7.992172e-04—erg/cm³
32³ cellsfxL12.047977e+05—erg/(cm² s)
32³ cellsfxL29.004692e+05—erg/(cm² s)
32³ cellsfxLinf1.723608e+07—erg/(cm² s)
32³ cellsfyL12.047977e+05—erg/(cm² s)
32³ cellsfyL29.004692e+05—erg/(cm² s)
32³ cellsfyLinf1.723608e+07—erg/(cm² s)
32³ cellsfzL12.047977e+05—erg/(cm² s)
32³ cellsfzL29.004692e+05—erg/(cm² s)
32³ cellsfzLinf1.723608e+07—erg/(cm² s)

32³ cells / level 2

Recorded setup and run provenance
OriginOcto-TIGER application
DomainCube of side 6.000000e+10 cm; centered at the origin
Resolution32³ cells; finest Δx = 1.875000e+09 cm
Final comparison time2.000000e-01 s
Radiation modelM1
Radiation integrationM1 RK1 (first order in time)
Flux semanticsEvolved M1 flux moment
Radiation backendcpu
Physical light speed2.997925e+10 cm/s
Reduced-speed factor α1.000000e+00
Radiation transport speed2.997925e+10 cm/s
Periodic boundariesoff
Hydrodynamicsoff
Gravityoff
Implicit radiation sourceon
Uniform gridon
CFL0.4
Timestep cap0.00033333333333333338 s
Output interval0.0016666666666666668 s
Background energy density1 erg/cm³
Scattering coefficient χ1.6666666666666666e-10 cm⁻¹
Gaussian width w6000000000 cm
All-space luminosity ℒ2.6981321220000001e+29 erg/s
{
  "background": 1.0,
  "c": 29979245800.0,
  "case": "equilibrium_sphere",
  "cells": 32,
  "command": [
    "/ddnB/work/dmarce1/octotiger-m1-fld-20261014/campaign/control/launch-solver",
    "/ddnB/work/dmarce1/octotiger-m1-fld-20261014/build/octotiger",
    "--config_file=/ddnB/work/dmarce1/octotiger-m1-fld-20261014/campaign/runs/l2-equilibrium_sphere-m1/equilibrium_sphere/l2/run.ini",
    "--hpx:threads=64"
  ],
  "comparison_signature": {
    "atomic_mass": "1",
    "atomic_number": "1",
    "cfl": "0.4",
    "code_to_cm": "1",
    "code_to_g": "1",
    "code_to_s": "1",
    "disable_analytic": "off",
    "disable_diagnostics": "on",
    "eos": "IDEAL",
    "gravity": "off",
    "hard_dt": "0.00033333333333333338",
    "hydro": "off",
    "hydro_device_kernel_type": "OFF",
    "hydro_host_kernel_type": "LEGACY",
    "monopole_device_kernel_type": "OFF",
    "multipole_device_kernel_type": "OFF",
    "n_species": "1",
    "omega": "0",
    "periodic": "off",
    "problem": "RADIATION_EQUILIBRIUM_SPHERE",
    "rad_implicit": "on",
    "rad_test_amplitude": "0.01",
    "rad_test_background": "1",
    "rad_test_chi": "1.6666666666666666e-10",
    "rad_test_luminosity": "2.6981321220000001e+29",
    "rad_test_width": "6000000000",
    "radiation": "on",
    "radiation_algorithm_version": 1,
    "radiation_integrator": "euler",
    "radiation_model": "m1",
    "radiation_reduced_c_factor": "1",
    "stop_step": "100000",
    "stop_time": "0.20000000000000001",
    "unigrid": "on",
    "xscale": "30000000000"
  },
  "config": {
    "atomic_mass": "1",
    "atomic_number": "1",
    "cfl": "0.4",
    "code_to_cm": "1",
    "code_to_g": "1",
    "code_to_s": "1",
    "datadir": "/ddnB/work/dmarce1/octotiger-m1-fld-20261014/campaign/runs/l2-equilibrium_sphere-m1/equilibrium_sphere/l2/",
    "disable_analytic": "off",
    "disable_diagnostics": "on",
    "disable_output": "off",
    "eos": "IDEAL",
    "gravity": "off",
    "hard_dt": "0.00033333333333333338",
    "hydro": "off",
    "hydro_device_kernel_type": "OFF",
    "hydro_host_kernel_type": "LEGACY",
    "max_level": "2",
    "min_level": "2",
    "monopole_device_kernel_type": "OFF",
    "multipole_device_kernel_type": "OFF",
    "n_species": "1",
    "odt": "0.0016666666666666668",
    "omega": "0",
    "periodic": "off",
    "problem": "RADIATION_EQUILIBRIUM_SPHERE",
    "rad_implicit": "on",
    "rad_test_amplitude": "0.01",
    "rad_test_background": "1",
    "rad_test_chi": "1.6666666666666666e-10",
    "rad_test_luminosity": "2.6981321220000001e+29",
    "rad_test_width": "6000000000",
    "radiation": "on",
    "radiation_backend": "cpu",
    "radiation_integrator": "euler",
    "radiation_model": "m1",
    "radiation_reduced_c_factor": "1",
    "stop_step": "100000",
    "stop_time": "0.20000000000000001",
    "unigrid": "on",
    "xscale": "30000000000"
  },
  "conservation": [
    {
      "boundary": 5.39102756491045e+28,
      "boundary_fraction": 0.000246134410443586,
      "field": "er",
      "final": 2.190278410938797e+32,
      "final_fraction": 1.0000002390874254,
      "history_end_time": 0.2,
      "history_scope": "full_run",
      "history_start_time": 0.0,
      "initial": 2.1902778872708958e+32,
      "initial_fraction": 1.0,
      "integral_units": "erg",
      "max_abs_residual": 2.5392121531858944e+16,
      "max_normalized_error": 1.15931050025336e-16,
      "normalization_basis": "abs(initial_energy)",
      "normalization_scale": 2.1902778872708958e+32,
      "normalization_time": 0.0,
      "normalized_error": 4.9557085210449335e-17,
      "normalized_residual": -4.9557085210449335e-17,
      "raw_change": 5.236679012275876e+25,
      "residual": -1.0854378789404672e+16,
      "source": 5.396264243923812e+28,
      "source_fraction": 0.0002463734978691494,
      "zero_initial_flux_relative_tolerance": 1.4210854715202004e-14
    },
    {
      "boundary": -2.6050676448333323e+24,
      "boundary_fraction": -3.9673369161460103e-19,
      "field": "fx",
      "final": 1.4610559176140913e+24,
      "final_fraction": 2.225086588442435e-19,
      "history_end_time": 0.2,
      "history_scope": "full_run",
      "history_start_time": 0.0,
      "initial": 2.840798587351271e+21,
      "initial_fraction": 4.326338753347495e-22,
      "integral_units": "erg cm/s",
      "max_abs_residual": 4.201181110952716e+22,
      "max_normalized_error": 6.3981067616247546e-21,
      "normalization_basis": "c * abs(initial_energy)",
      "normalization_scale": 6.566287915279887e+42,
      "normalization_time": 0.0,
      "normalized_error": 1.9724983746466705e-21,
      "normalized_residual": 1.9724983746466705e-21,
      "raw_change": 1.45821511902674e+24,
      "residual": 1.2951992240351652e+22,
      "source": -1.1598045180469439e+24,
      "source_fraction": -1.7663016502033895e-19,
      "zero_initial_flux_relative_tolerance": 1.4210854715202004e-14
    },
    {
      "boundary": -1.581365582462836e+24,
      "boundary_fraction": -2.408309843957597e-19,
      "field": "fy",
      "final": 9.950542688240406e+23,
      "final_fraction": 1.515398474240718e-19,
      "history_end_time": 0.2,
      "history_scope": "full_run",
      "history_start_time": 0.0,
      "initial": 5.238875316933513e+21,
      "initial_fraction": 7.978442895783692e-22,
      "integral_units": "erg cm/s",
      "max_abs_residual": 4.229434893574988e+22,
      "max_normalized_error": 6.441135308326955e-21,
      "normalization_basis": "c * abs(initial_energy)",
      "normalization_scale": 6.566287915279887e+42,
      "normalization_time": 0.0,
      "normalized_error": 1.9410033659674284e-21,
      "normalized_residual": -1.9410033659674284e-21,
      "raw_change": 9.898153935071071e+23,
      "residual": -1.274518694546951e+22,
      "source": -5.788050020102594e+23,
      "source_fraction": -8.814797789529883e-20,
      "zero_initial_flux_relative_tolerance": 1.4210854715202004e-14
    },
    {
      "boundary": -8.584100120980496e+23,
      "boundary_fraction": -1.3072987708938437e-19,
      "field": "fz",
      "final": 6.1339113393899e+23,
      "final_fraction": 9.341520534176033e-20,
      "history_end_time": 0.2,
      "history_scope": "full_run",
      "history_start_time": 0.0,
      "initial": -3.8369227673315867e+21,
      "initial_fraction": -5.843366627897916e-22,
      "integral_units": "erg cm/s",
      "max_abs_residual": 7.354053932322849e+22,
      "max_normalized_error": 1.1199712877666868e-20,
      "normalization_basis": "c * abs(initial_energy)",
      "normalization_scale": 6.566287915279887e+42,
      "normalization_time": 0.0,
      "normalized_error": 8.227977739816817e-21,
      "normalized_residual": 8.227977739816817e-21,
      "raw_change": 6.172280567063216e+23,
      "residual": 5.402727080015109e+22,
      "source": -2.952092261918791e+23,
      "source_fraction": -4.495831282465107e-20,
      "zero_initial_flux_relative_tolerance": 1.4210854715202004e-14
    }
  ],
  "dx": 1875000000.0,
  "executable_sha256": "ca38f12e338eed0b7074dbb15c70c089a8d31d1c12aa87f5b044c42824721f0b",
  "inx": 8,
  "length": 60000000000.0,
  "level": 2,
  "movie_capture": {
    "hard_dt": 0.0003333333333333334,
    "odt": 0.0016666666666666668,
    "requested_snapshots": 121,
    "steps_per_output_check": 1
  },
  "norms": {
    "er": {
      "L1": 1.431205e-05,
      "L2": 5.75216e-05,
      "Linf": 0.0007992172
    },
    "fx": {
      "L1": 204797.7,
      "L2": 900469.2,
      "Linf": 17236080.0
    },
    "fy": {
      "L1": 204797.7,
      "L2": 900469.2,
      "Linf": 17236080.0
    },
    "fz": {
      "L1": 204797.7,
      "L2": 900469.2,
      "Linf": 17236080.0
    }
  },
  "origin": "Octo-TIGER application",
  "physical_c": 29979245800.0,
  "radiation_algorithm_version": 1,
  "radiation_backend": "cpu",
  "radiation_equations": "physical-c",
  "radiation_flux_semantics": "evolved_m1_flux",
  "radiation_integrator": "euler",
  "radiation_model": "m1",
  "radiation_reduced_c_factor": 1.0,
  "status": "complete",
  "time": 0.2,
  "transport_c": 29979245800.0,
  "units": {
    "chi": "1/cm",
    "energy_density": "erg/cm^3",
    "flux": "erg/(cm^2 s)",
    "length": "cm",
    "luminosity": "erg/s",
    "mass": "g",
    "source": "erg/(cm^3 s)",
    "system": "CGS",
    "time": "s"
  }
}

Final fields and profiles

Central cell layer at z=dx/2; ray at y=z=dx/2.

Numerical, reference, and signed-error energy slices. Central cell layer at z=dx/2; ray at y=z=dx/2.
Numerical, reference, and signed-error energy slices. Central cell layer at z=dx/2; ray at y=z=dx/2. · PDF
Numerical/reference line profiles and signed errors for all four radiation fields
Numerical/reference line profiles and signed errors for all four radiation fields · PDF
All three flux maps
fx: numerical, reference, and signed-error slice
fx: numerical, reference, and signed-error slice · PDF
fy: numerical, reference, and signed-error slice
fy: numerical, reference, and signed-error slice · PDF
fz: numerical, reference, and signed-error slice
fz: numerical, reference, and signed-error slice · PDF

Saved-state movie

Equilibrium Sphere · L2 · M1 RK1

121 stored states; 121 shown. Physical time: 0–0.2 s. Playback: 60 s.

Zero-order hold; no solution interpolation. Playback holds each saved numerical state over its time interval and includes endpoint holds.

All 121 snapshot times

Snapshot times: 0, 0.00166666667, 0.00333333333, 0.005, 0.007, 0.00866666667, 0.0103333333, 0.012, 0.0136666667, 0.0153333333, 0.017, 0.0183333333, 0.02, 0.0216666667, 0.0233333333, 0.025, 0.0266666667, 0.0283333333, 0.03, 0.0316666667, 0.0333333333, 0.035, 0.0366666667, 0.0383333333, 0.04, 0.0416666667, 0.0436666667, 0.0453333333, 0.047, 0.0486666667, 0.0503333333, 0.052, 0.0536666667, 0.0553333333, 0.057, 0.0586666667, 0.0603333333, 0.062, 0.0636666667, 0.0653333333, 0.067, 0.0686666667, 0.0703333333, 0.0716666667, 0.0733333333, 0.075, 0.0766666667, 0.0783333333, 0.08, 0.0816666667, 0.0833333333, 0.085, 0.0866666667, 0.0883333333, 0.09, 0.0916666667, 0.0933333333, 0.095, 0.0966666667, 0.0983333333, 0.1, 0.101666667, 0.103333333, 0.105, 0.106666667, 0.108333333, 0.11, 0.111666667, 0.113333333, 0.115, 0.116666667, 0.118333333, 0.12, 0.121666667, 0.123333333, 0.125, 0.126666667, 0.128333333, 0.13, 0.131666667, 0.133333333, 0.135, 0.136666667, 0.138333333, 0.14, 0.141666667, 0.143333333, 0.145, 0.146666667, 0.148333333, 0.15, 0.151666667, 0.153333333, 0.155333333, 0.157, 0.158666667, 0.160333333, 0.162, 0.163666667, 0.165333333, 0.167, 0.168666667, 0.170333333, 0.172, 0.173666667, 0.175333333, 0.177, 0.178666667, 0.180333333, 0.182, 0.183666667, 0.185333333, 0.187, 0.188666667, 0.190333333, 0.192, 0.193666667, 0.195333333, 0.197, 0.198666667, 0.2 s.

Arrows show the independently evolved M1 radiation flux. Arrows have equal length and show direction only.

Movies show saved numerical states; see the final-time run report for analytic-reference applicability.

Central z=0+ radiation energy slice with faint cell mesh and equal-length flux direction arrows. Arrows show the independently evolved M1 radiation flux. Fixed color limits; actual stored Silo times held without solution interpolation. Movies show saved numerical states; see the final-time run report for analytic-reference applicability. The maps show the full simulation domain without cropping.

Download MP4 · Rendering and timing metadata · Full run report

All campaign movies

Conservation

All values below are dimensionless fractions of the fixed normalization scale at t_ref = 0 s.

FieldScaleQ(t_ref)/scaleQ(t)/scaleBoundary B/scaleSource S/scaleResidual R/scaleMaximum |R|/scale
er|Q(t_ref)|1.000000e+001.000000e+002.461344e-042.463735e-04-4.955709e-171.159311e-16
fxc |E(t_ref)| (zero/negligible reference flux)4.326339e-222.225087e-19-3.967337e-19-1.766302e-191.972498e-216.398107e-21
fyc |E(t_ref)| (zero/negligible reference flux)7.978443e-221.515398e-19-2.408310e-19-8.814798e-20-1.941003e-216.441135e-21
fzc |E(t_ref)| (zero/negligible reference flux)-5.843367e-229.341521e-20-1.307299e-19-4.495831e-208.227978e-211.119971e-20
Integrated radiation budgets and their transport/source-corrected residuals
Integrated radiation budgets and their transport/source-corrected residuals · PDF

Data and reproducibility

Momentum plots are omitted for this fixed-material problem. The prescribed medium acts as an external momentum reservoir, so radiation momentum exchange does not imply that a compensating gas momentum was evolved.

Reading the results

Errors, budgets, and movies

Every norm uses the full three-dimensional domain, with cell-volume weighting. Here e = numerical − reference and V is the domain volume:

L1 = Σ |e| ΔV / V,   L2 = √(Σ e² ΔV / V),   L∞ = max |e|
p = ln(errorcoarse / errorfine) / ln(Δxcoarse / Δxfine)

Orders require two completed runs with matching physical time, configuration, units, executable, and origin. An exact zero error has no logarithmic order. The central slice and line profiles are visual diagnostics: the report slice is the cell layer at z = Δx/2, and its line profile is at y = z = Δx/2.

Conservation is assessed using the measured domain integrals and the signed cumulative boundary and source budgets:

A labeled checkpoint continuation uses its checkpoint as t_ref, with counters and fixed normalization starting there. Its reported residuals cover that resumed segment only; original histories remain separate.

R(t) = Q(t) − Q(0) + B(t) − S(t)

B is outward transport and S is the source change. Conservation plots and this page's budget tables show fractions of the initial totals: Q(t)/D, [Q(0) − B(t) + S(t)]/D, and the signed residual R(t)/D. The denominator D = |Q(0)| is fixed for the entire history. It never grows with the current total or accumulated transport/source budgets. A negative initial flux therefore starts at −1, and the plotted fraction retains its sign.

A component whose initial net flux is zero or negligible cannot be divided by its own initial total. It instead uses the fixed scale D = c |E₀|, where E₀ is the initial integrated radiation energy. This fallback is labeled on its panels and in the table. “Negligible” means |Q(0)|/(c |E₀|) ≤ 64ε ≈ 1.421085 × 10−14, with ε the double-precision machine epsilon. This prevents roundoff left by cancellation in a symmetric field from becoming the denominator. For the initially cold Marshak case, the prescribed bath sets D = Ebath V for energy and D = c Ebath V for flux, with Ebath = 4/c. These scales remain fixed even though radiation enters the initially empty domain.

Raw histories and dimensional summary columns remain in physical units: energy integrals in erg, physical-flux integrals in erg cm/s for CGS runs. Dividing a flux integral by c² gives radiation momentum. Fraction-history CSV files are dimensionless except for their time column; summary files record each denominator and its basis. Maximum fractional residuals use the same fixed denominator as the final residual.

For runs labeled RSLA, these budgets check the modified radiation equations. They do not establish conservation of physical gas-plus-radiation energy. With reduced-speed factor α, the closed-system coupled invariants are Egas + Er/α and gas momentum + F/(αc²), with physical c in the closure. Compare multiple α values before interpreting an RSLA result as an approximation to physical-c evolution.

Movies show the numerical Silo states with a fixed color range for each movie. Recorded states are held for their actual simulation-time gaps; intermediate solutions are not interpolated. The 3D option shows the domain's exterior surface. Movies and plots retain their recorded physical units.

Sources & provenance

Where this problem comes from

This smooth Gaussian-emitter test is defined by equilibriumSphere, sphereAverage, and bulbSourceAverage in octotiger/test_problems/radiation/profiles.hpp. Its reference follows by solving the steady diffusion equation for that source. The available implementation does not identify it as a verbatim published sphere benchmark, so the provenance here is the suite's analytic construction.

Radiation method context

M1 RK1 evolves radiation energy and flux moments with the retained first-order radiation update. FLD uses backward-Euler radiation diffusion/material exchange with the Levermore–Pomraning limiter. Moving cases add first-order conservative gas transport and radiation force/work; their reconstructed lab-frame flux includes (E I+P) v as well as −D∇E. The scalar implicit transport solve uses composite-grid multigrid and an iterative linear solver. Both time integrators are first order.

The suite includes Gaussian scattering, Marshak heating, a Gaussian emitter, explicit thin positive-opacity wave/front comparisons, and moving-gas shock/blast problems on CPU at physical light speed. A configured case does not establish that a solve converged; only validated completed runs appear as results. Flux diagnostics in FLD have no separate M1 momentum conservation test. A difference between paired M1 and FLD solutions is a model comparison, not an analytic error. ADER2 has been removed from the current solver; historical result files retain their original provenance.

Skinner & Ostriker (2013) and Hanawa & Audit (2014) provide context for the M1 equations. The implementation and saved executable/source hashes identify the actual numerical methods used in this batch.

Reproducing this batch

Descriptions document the reviewed source implementation. Older or edited solver versions can use different profile constants or averaging rules; these are not all encoded in run.ini. Use the run metadata, executable hash, and saved batch source hashes to identify the implementation behind a result. A source path or descriptive formula alone is not proof of the executable's contents.