← Octo-TIGER / All test problemsExact transport

Streaming front

A sharp, bright half-domain crosses a nearly dark background. Exact cell averages track both moving edges through the periodic box.

The experiment

Physical setup

A periodic cube contains a one-dimensional square wave along x. Initially, the half with −L/2 ≤ x < 0 has energy density Ehi = 1; the other half has Elo = 10−10. The physical flux is (cE, 0, 0). The profile is uniform in y and z, and translates in the positive x direction at speed c.

The bright and dark levels are constants in the profile. Periodicity supplies both a rising and a falling edge. There is no emission, absorption, or flux damping in the transport test.

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. A level has N = INX × 2level cells per side. Each completed run below lists its recorded parameters; template defaults are not substituted for missing metadata.

The comparison

How the reference is computed

The discontinuous wave is an exact nonlinear M1 free-streaming solution. The comparison integrates the translated top-hat over each cell, so a cell crossed by a front receives the appropriate bright fraction instead of a point sample.

a = x − ct − Δx/2,   b = a + Δx
f = [I(b) − I(a)] / Δx
Ē = Elo + (Ehi − Elo) f,   = (cĒ, 0, 0)

The periodic primitive is I(s) = kL/2 + min(r, L/2), where k = floor[(s + L/2)/L] and r = s + L/2 − kL. This handles any number of box crossings. The implementation clamps the computed fraction to [0, 1] to remove roundoff excursions.

What this test measures

The useful diagnostics are front width, overshoot or undershoot, transport speed, and integrated conservation. Discontinuities reduce convergence order, so a second-order guide on a plot is a comparison slope rather than a pass criterion. The transverse fluxes should remain zero. Exactly zero errors have no logarithmic convergence order and are reported with a dash.

Measured results

All resolutions

LevelGridBatch status
232³Ready
364³Waiting
4128³Waiting

Convergence requires at least two completed, comparable resolutions.

Full-volume norms and orders

GridFieldNormErrorOrderError units
32³erL18.321504e-02erg/cm³
32³erL21.450355e-01erg/cm³
32³erLinf4.179089e-01erg/cm³
32³fxL12.494724e+09erg/(cm² s)
32³fxL24.348056e+09erg/(cm² s)
32³fxLinf1.252859e+10erg/(cm² s)
32³fyL10.000000e+00erg/(cm² s)
32³fyL20.000000e+00erg/(cm² s)
32³fyLinf0.000000e+00erg/(cm² s)
32³fzL10.000000e+00erg/(cm² s)
32³fzL20.000000e+00erg/(cm² s)
32³fzLinf0.000000e+00erg/(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; level 2; Δx = 1.875000e+09 cm
Final comparison time4.000000e+00 s
Light speed2.997925e+10 cm/s
Periodic boundarieson
Hydrodynamicsoff
Gravityoff
Implicit radiation sourceoff
Uniform gridon
CFL0.4
Timestep cap0.013333333333333332 s
Output interval0.066666666666666666 s
{
  "background": 1.0,
  "c": 29979245800.0,
  "case": "streaming_front",
  "cells": 32,
  "command": [
    "/home/dmarce1/workspace/octotiger/release/octotiger",
    "--config_file=/home/dmarce1/workspace/octotiger/radiation_results/results/live-20260917-084723-426280/streaming_front/l2/run.ini",
    "--hpx:threads=12"
  ],
  "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",
    "gravity": "off",
    "hard_dt": "0.013333333333333332",
    "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": "on",
    "problem": "RADIATION_STREAMING_FRONT",
    "rad_implicit": "off",
    "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",
    "stop_step": "100000",
    "stop_time": "4",
    "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": "/home/dmarce1/workspace/octotiger/radiation_results/results/live-20260917-084723-426280/streaming_front/l2/",
    "disable_analytic": "off",
    "disable_diagnostics": "on",
    "disable_output": "off",
    "gravity": "off",
    "hard_dt": "0.013333333333333332",
    "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.066666666666666666",
    "omega": "0",
    "periodic": "on",
    "problem": "RADIATION_STREAMING_FRONT",
    "rad_implicit": "off",
    "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",
    "stop_step": "100000",
    "stop_time": "4",
    "unigrid": "on",
    "xscale": "30000000000"
  },
  "conservation": [
    {
      "boundary": 0.0,
      "field": "er",
      "final": 1.0800000001079995e+32,
      "initial": 1.080000000108e+32,
      "integral_units": "erg",
      "max_abs_residual": 5.404319552844595e+16,
      "max_normalized_error": 5.003999585466818e-16,
      "normalization_scale": 1.080000000108e+32,
      "normalized_error": 5.003999585466818e-16,
      "raw_change": -5.404319552844595e+16,
      "residual": -5.404319552844595e+16,
      "source": 0.0
    },
    {
      "boundary": 0.0,
      "field": "fx",
      "final": 3.2377585467237765e+42,
      "initial": 3.237758546723776e+42,
      "integral_units": "erg cm/s",
      "max_abs_residual": 1.2379400392853803e+27,
      "max_normalized_error": 3.8234476765972155e-16,
      "normalization_scale": 3.2377585467237765e+42,
      "normalized_error": 1.9117238382986082e-16,
      "raw_change": 6.189700196426902e+26,
      "residual": 6.189700196426902e+26,
      "source": 0.0
    },
    {
      "boundary": 0.0,
      "field": "fy",
      "final": 0.0,
      "initial": 0.0,
      "integral_units": "erg cm/s",
      "max_abs_residual": 0.0,
      "max_normalized_error": 0.0,
      "normalization_scale": 3.237758546723776e+42,
      "normalized_error": 0.0,
      "raw_change": 0.0,
      "residual": 0.0,
      "source": 0.0
    },
    {
      "boundary": 0.0,
      "field": "fz",
      "final": 0.0,
      "initial": 0.0,
      "integral_units": "erg cm/s",
      "max_abs_residual": 0.0,
      "max_normalized_error": 0.0,
      "normalization_scale": 3.237758546723776e+42,
      "normalized_error": 0.0,
      "raw_change": 0.0,
      "residual": 0.0,
      "source": 0.0
    }
  ],
  "dx": 1875000000.0,
  "executable_sha256": "3b9a570a5bbeebf503ec10ea24db4a3f8116a46d7906760c82be91bb89e10f7a",
  "inx": 8,
  "length": 60000000000.0,
  "level": 2,
  "movie_capture": {
    "hard_dt": 0.013333333333333332,
    "odt": 0.06666666666666667,
    "requested_snapshots": 61,
    "steps_per_output_check": 5
  },
  "norms": {
    "er": {
      "L1": 0.08321504,
      "L2": 0.1450355,
      "Linf": 0.4179089
    },
    "fx": {
      "L1": 2494724000.0,
      "L2": 4348056000.0,
      "Linf": 12528590000.0
    },
    "fy": {
      "L1": 0.0,
      "L2": 0.0,
      "Linf": 0.0
    },
    "fz": {
      "L1": 0.0,
      "L2": 0.0,
      "Linf": 0.0
    }
  },
  "origin": "Octo-TIGER application",
  "status": "complete",
  "time": 4.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

Numerical, reference, and signed-error energy slices at z = Δx/2
Numerical, reference, and signed-error energy slices at z = Δx/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

Movies

er · slice normal to z · 61 recorded snapshots · 2.000000e+01 s playback. MP4 · Movie metadata

Conservation

FieldQ(0)Q(t)Boundary BSource SResidual RFinal |R|/scaleMaximum |R|/scale
er1.080000e+321.080000e+320.000000e+000.000000e+00-5.404320e+165.004000e-165.004000e-16
fx3.237759e+423.237759e+420.000000e+000.000000e+006.189700e+261.911724e-163.823448e-16
fy0.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+00
fz0.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+00
Integrated radiation budgets and their transport/source-corrected residuals
Integrated radiation budgets and their transport/source-corrected residuals · PDF

Data and reproducibility

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:

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

B is outward transport and S is the source change. Energy integrals have units erg in CGS; physical-flux integrals have units erg cm/s. Dividing a flux integral by c² gives radiation momentum. Energy residuals are normalized by max(|E0|, |E|, |BE|, |SE|). A flux component uses the maximum of its corresponding terms and c times that energy scale, so a zero net flux does not cause division by zero. Summaries show the final residual and the largest normalized residual over the saved history.

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

The suite constructs this periodic half-filled square wave directly in streamingFront and frontIntegral in octotiger/test_problems/radiation/profiles.hpp. It is an exact-advection verification problem; the available source does not attribute this particular setup to a published benchmark.

Radiation method context

Skinner & Ostriker (2013), “A Two-moment Radiation Hydrodynamics Module in Athena Using a Time-explicit Godunov Method,” ApJS 206, 21, provides context for the two-moment M1 system and source integration. The suite's fixed-medium damping uses the algebra of their equations (42b)–(43) with θ = 1 and prescribed χ. Their paper neglects scattering; the suite reuses that damping formula for its prescribed scattering medium.

The solver's M1 implementation also cites Hanawa & Audit (2014), “Reformulation of the M1 model of radiative transfer,” JQSRT 145, 9–16. These references describe the numerical/physical framework; the exact test definitions are the source functions identified above.

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.