.. _`chap:radtransport`: Radiation Transport =================== The ``radiation_transport`` package solves the time-dependent equation of photon radiative transfer with a discrete-ordinates (:math:`S_N`) method. It transports the specific intensity along a fixed set of angular directions, couples the radiation field to the material internal energy through absorption and emission, and supports grey or multigroup frequency resolution. Two solver variants are provided: an *explicit* sub-cycled integrator and an *implicit* Jacobi iteration. Opacities are supplied per material (Chapter :ref:`chap:materials`). Governing Equations ------------------- Radiative Transfer Equation ~~~~~~~~~~~~~~~~~~~~~~~~~~~ The time evolution of the frequency-dependent specific intensity :math:`I_\nu` is governed by the transport equation .. math:: \frac{\partial I_\nu}{\partial t} + c\,\vec{n}\!\cdot\!\nabla I_\nu = c\left(j_\nu - \alpha_\nu I_\nu\right), where :math:`c` is the speed of light, :math:`\vec{n}` is a unit vector defining the photon propagation direction, and :math:`j_\nu` and :math:`\alpha_\nu` are the frequency-dependent emissivity and absorptivity, respectively. Multigroup Formulation ~~~~~~~~~~~~~~~~~~~~~~ In the multigroup formalism the frequency domain is divided into :math:`N_\nu` bins by endpoints :math:`\nu_0,\nu_1,\dots,\nu_{N_\nu}`, with :math:`\nu_0 = 0` and :math:`\nu_{N_\nu}=\infty` covering all of frequency space. Integrating the transport equation over group :math:`f`, with frequency bounds :math:`[\nu_{f-1},\nu_f)`, gives .. math:: \frac{\partial I_f}{\partial t} + c\,\vec{n}\!\cdot\!\nabla I_f = c\left(j_f - \alpha_f I_f\right), where the subscript :math:`f` denotes a quantity integrated over the group (e.g. :math:`I_f = \int_{\nu_{f-1}}^{\nu_f} I_\nu\,\mathrm{d}\nu` is the frequency-integrated specific intensity), and the group absorptivity :math:`\alpha_f` is a group-mean average. Assuming a static background medium (material mass density :math:`\rho`, temperature :math:`T`), local thermodynamic equilibrium (LTE), and isotropic elastic scattering, the group transport equation expands to .. math:: \frac{\partial I_f}{\partial t} + c\,\vec{n}\!\cdot\!\nabla I_f = c\left[\sigma_{s,f}\left(J_f - I_f\right) + \sigma_{a,f}\left(\varepsilon_f - I_f\right)\right], where :math:`\sigma_{a,f}` and :math:`\sigma_{s,f}` are the group-mean absorption and scattering coefficients of the cell. In a multi-material cell these are aggregated from the per-material opacities as given in Section :ref:`sec:rad-opacity`; for a single material :math:`m` they reduce to :math:`\sigma_{a,f}=\rho_m\kappa_{a,f,m}` and :math:`\sigma_{s,f}=\rho_m\kappa_{s,f,m}` in terms of the specific opacities :math:`\kappa_{a,f,m}`, :math:`\kappa_{s,f,m}`. The group mean intensity over solid angle :math:`\Omega` is .. math:: J_f = \frac{1}{4\pi}\int I_f\,\mathrm{d}\Omega , and is related to the group radiation energy density by :math:`E_f = \tfrac{4\pi}{c} J_f = \tfrac{1}{c}\int I_f\,\mathrm{d}\Omega`. The emission coefficient :math:`\varepsilon_f` is proportional to the integral of the Planck function :math:`B(\nu,T)` over the group band, .. math:: \varepsilon_f &= \frac{c}{4\pi}\int_{\nu_{f-1}}^{\nu_f} B(\nu,T)\,\mathrm{d}\nu, \qquad\text{where}\\ B(\nu,T) &= \frac{8\pi h\nu^3}{c^3}\, \frac{1}{\exp\!\left(h\nu/[kT]\right) - 1}. For a single group with :math:`[\nu_0,\nu_{N_\nu}) \to [0,\infty)` (i.e. “grey”), :math:`\varepsilon_f` reduces to :math:`\varepsilon_{\text{grey}} = c\,a\,T^4/[4\pi]`, where :math:`a` is the radiation constant. The band integrals are evaluated in closed form using polylogarithms. The frequency group structure (:math:`N_\nu` and the group boundaries in Hz) is *not* an input of the radiation package: it is owned by the materials package and resolved from the ```` block, the opacity tables, or a grey default, exactly as described in Section :ref:`sec:mat-group-structure`. The radiation package reads the resolved structure from the materials package at initialization, so the transport and the opacities always share one group grid. Stored Intensity and Energy Density ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For efficiency the transported field ``ccrad::intensity`` stores a scaled intensity that absorbs a factor of :math:`4\pi/c` relative to :math:`I_f`, so that the group radiation energy density is recovered directly as a weighted sum over the discrete directions, .. math:: E_f = \sum_{a} w_a\,I_{f,a}, where :math:`I_{f,a}` is the stored intensity in direction :math:`a` and the angular quadrature weights :math:`w_a` are normalized to :math:`\sum_a w_a = 1`. Both solvers discretize the streaming term with the same *source flux*. The intensity carried across a face is the blend :math:`b\,I_{\text{up}} + (1-b)\,\bar{S}_f`, where :math:`I_{\text{up}}` is the upwind intensity and :math:`\bar{S}_f` is the mean of the source functions .. math:: S_f = \frac{\sigma_{a,f}\,\varepsilon_f + \sigma_{s,f}\,J_f}{\sigma_{a,f} + \sigma_{s,f}}, \qquad J_f = \sum_a w_a\,I_{f,a}, of the two cells sharing the face. The weight :math:`b = 2|n|/(2|n| + \tau)` depends only on the face-normal direction component :math:`n` and on the face optical depth :math:`\tau = \Delta x\,\min(\sigma_{t,L}, \sigma_{t,R})`, with :math:`\sigma_t = \sigma_a + \sigma_s`. Optically thin faces (and every face when ``coupling`` is off) are thus pure upwind, while at large :math:`\tau` the face intensity approaches the local source function, as required in the diffusion limit; there is no tunable parameter. The source function is stored in ``ccrad::source``. The Jacobi solver iterates it along with the intensity, and the explicit solver evaluates it at the start of each step and again after the source update of each stage. In reduced-dimension curvilinear geometries (1D spherical, 2D cylindrical) an additional angular-flux divergence term (``ccrad::divfa``) accounts for the rotation of :math:`\vec{n}` along curved streaming paths. Its edge intensities use the same blend, with the upwind weights taken along the latitude–longitude chains. The term is compiled in only for those coordinate systems. Angular Discretization ~~~~~~~~~~~~~~~~~~~~~~ The unit sphere of directions is discretized into :math:`N_{\text{ang}}` ordinates, each carrying a solid-angle weight. Two quadratures are available, both refined by a single level :math:`n_{\text{level}}` (``nlevel``): a nearly uniform *geodesic* grid built by subdividing an icosahedron, with :math:`N_{\text{ang}} = 10\,n_{\text{level}}^2 + 2`, and a *latitude–longitude* product grid with :math:`n_\theta = 2\,n_{\text{level}}` polar and :math:`n_\phi = 4\,n_{\text{level}}` azimuthal bins (:math:`N_{\text{ang}} = 8\,n_{\text{level}}^2`). In curvilinear geometries, where latitude–longitude is the default, symmetry reduces the azimuthal grid: 2D cylindrical spans only :math:`\phi\in[0,\pi)` with :math:`n_\phi = 2\,n_{\text{level}}` (:math:`N_{\text{ang}} = 4\,n_{\text{level}}^2`), and 1D spherical uses :math:`n_\phi = 1` (:math:`N_{\text{ang}} = 2\,n_{\text{level}}`). The geodesic grid may be rotated to avoid alignment with the spatial mesh. .. _`sec:rad-opacity`: Multi-Material Opacities ~~~~~~~~~~~~~~~~~~~~~~~~ For :math:`q\in\{a,s\}`, the Amagat closure evaluates each material's specific opacity at its material density and volume-averages the resulting coefficients, .. math:: \sigma^{\mathrm{A}}_{q,f} = \sum_m f_m\rho_m\,\kappa_{q,f,m}(\rho_m,T). The homogeneous closure instead evaluates each material's specific opacity at its partial density :math:`f_m\rho_m`, .. math:: \sigma^{\mathrm{H}}_{q,f} = \sum_m f_m\rho_m\,\kappa_{q,f,m}(f_m\rho_m,T). RIOT blends these closures with :math:`\chi=\texttt{mix_frac}`, .. math:: \sigma_{q,f} = (1-\chi)\sigma^{\mathrm{A}}_{q,f} + \chi\sigma^{\mathrm{H}}_{q,f}. The PTE-consistent Amagat closure (:math:`\chi=0`) is the default; :math:`\chi=1` selects the homogeneous closure. Matter–Radiation Coupling ~~~~~~~~~~~~~~~~~~~~~~~~~ When coupling is enabled (``coupling``), energy exchanged with the radiation field is removed from (or added to) the material internal energy, conserving total energy, .. math:: \frac{\partial E_{\text{mat}}}{\partial t} = -\,\frac{\partial E_{\text{rad}}}{\partial t}, \qquad E_{\text{rad}} = \sum_f E_f . The exchange is treated implicitly: an advanced material temperature :math:`T^{n+1}` is found by a non-linear root solve (relative temperature tolerance ``troot_tol``, iteration cap ``troot_max_iter``) balancing the emission, absorption, and the change in material energy over the step. This keeps the strong emission/absorption coupling stable at large optical depth. The feedback onto the fluid energy can be suppressed independently with ``affect_fluid`` (e.g. to advance the radiation field against a fixed matter state), and the advanced-temperature solve itself can be bypassed with ``fixed_temp_rhs``. Solvers ------- Two integrators advance the transport equation. Radiation transport is enabled by setting ``radiation_transport`` ``= true`` in the ```` block (Section :ref:`sec:physics-block`); the solver is then chosen in the ```` block by ``do_explicit`` and ``do_jacobi``. Both default to ``false``, and RIOT requires that *exactly one* be enabled — it is an error to set both or neither. .. container:: :name: tab:rad-solvers .. table:: Radiation transport solvers. +-------------+------------------------------------------------------------------------------------------------------+ | **Solver** | **Description** | +=============+======================================================================================================+ | do_explicit | Sub-cycled explicit integrator (Runge–Kutta); the time step is set by the light-crossing time. | +-------------+------------------------------------------------------------------------------------------------------+ | do_jacobi | Iterative implicit (Jacobi) solver; robust at large optical depth, iterated to a residual threshold. | +-------------+------------------------------------------------------------------------------------------------------+ Input Parameters ---------------- Radiation transport requires hydrodynamics and is incompatible with the ionization package, with sparse physics (Chapter :ref:`chap:sparse-physics`), and with the P1 radiation diffusion package (Chapter :ref:`chap:raddiffusion`), which provides an alternative radiation model — at most one of the two may be enabled. Because ``sparse_physics`` defaults to ``true``, a radiation run must set it ``false`` explicitly in the ```` block. Parameters are organized into a shared ```` block and several nested blocks. The shared block holds everything common to both solvers (CFL, coupling, angular grid, unit overrides); the chosen solver’s algorithm-specific parameters live in ```` or ````; the radiation initial state is set in ````; the per-face boundary conditions are selected in ````; and the drive boundary condition is configured in ````. .. list-table:: Solver selection and shared parameters in the ```` block. :class: wraptable :header-rows: 1 :widths: 25 12 18 45 * - Parameter - Type - Default - Description * - do_explicit - bool - ``false`` - Use the explicit sub-cycled integrator. * - do_jacobi - bool - ``false`` - Use the implicit Jacobi solver. Exactly one of these two must be ``true``. * - cfl - Real - ``0.8`` - CFL number for the transport update. * - coupling - bool - ``true`` - Enable the emission/absorption/scattering source. * - affect_fluid - bool - *=coupling* - Feed the radiation source back onto the fluid energy (requires ``coupling``). * - fixed_temp_rhs - bool - ``false`` - Skip the advanced-temperature solve in the source term. * - troot_tol - Real - ``1e-8`` - Relative temperature tolerance for the non-linear temperature root find. * - troot_max_iter - int - ``25`` - Maximum iterations for the temperature root find. * - fixed_pgen_opac - bool - ``false`` - Fix opacities to the values set in the problem generator. * - mix_frac - Real - ``0.0`` - Mixture interpolation from the PTE-consistent Amagat closure (0) to the homogeneous closure (1). * - opac_rho_min - Real - ``0.0`` - Density floor for opacity evaluations. * - opac_temp_min - Real - ``0.0`` - Temperature floor for opacity evaluations. * - units_override - bool - ``false`` - Use a custom (non-CGS) unit system for testing. * - c, arad, kb, h - Real - ``1.0`` - Speed of light, radiation, Boltzmann, and Planck constants (only when ``units_override``). The ``troot_tol`` and ``troot_max_iter`` parameters are read only when ``coupling`` is ``true``. .. list-table:: Angular-grid parameters (in the ```` block). :class: wraptable :header-rows: 1 :widths: 25 12 18 45 * - Parameter - Type - Default - Description * - angular_mesh - string - *geom.* - Angular quadrature: ``geodesic`` (Cartesian default) or ``latlon`` (curvilinear default). * - nlevel - int - ``1`` - Angular refinement level for either quadrature (see Angular Discretization). * - fv_fix - bool - ``true`` - Use solid-angle-averaged (finite-volume) direction cosines. * - rotate_geo - int - ``1`` - Geodesic rotation: 0 none, 1 automatic, 2 user angles. * - zpole, ppole - Real - *NaN* - Manual geodesic rotation angles (used when ``rotate_geo`` ``= 2``). The explicit solver adds sub-cycling controls: .. list-table:: Parameters in the ```` block. :class: wraptable :header-rows: 1 :widths: 25 12 18 45 * - Parameter - Type - Default - Description * - integrator - string - ``rk1`` - Time integrator for sub-cycling; only ``rk1`` is permitted. * - dt_ratio_hyperbolic - Real - ``-1.0`` - Limit the global step to ``cfl``\ :math:`\times`\ this\ :math:`\times\min(\Delta x)/c`; :math:`-1` lets radiation sub-cycle without limiting the global step. * - verbose - int - ``0`` - Diagnostic verbosity (0–3; 3 adds root-find failures). The Jacobi solver adds iteration and timestep controls: .. list-table:: Parameters in the ```` block. :class: wraptable :header-rows: 1 :widths: 25 12 18 45 * - Parameter - Type - Default - Description * - niter_limit - int - ``1000`` - Maximum Jacobi iterations per step. * - niter_min - int - ``0`` - Minimum iterations per step before the solve may exit on convergence. * - err_thr_global - Real - ``1e-8`` - Threshold on the global relative residual; also floors the target of ``err_step_global``. * - err_thr_group - Real - *off* - Additionally require each group's relative residual to meet this threshold. * - err_step_global - Real - ``0.5`` - If positive, additionally require the estimated remaining error :math:`\rho/(1-\rho)` :math:`\times` residual, with :math:`\rho` the contraction rate of the residuals, to fall below this fraction of the relative intensity change over the step. * - err_step_group - Real - ``0`` - Per-group counterpart of ``err_step_global``, from each group's own contraction rate and step change; requires ``err_thr_group``, which floors its target. * - per_group_residual_floor - Real - ``1e-3`` - Floor on a group's residual denominator, as a fraction of the all-group total. * - split_g1 - bool - ``true`` - Split the Jacobi coefficient into positive/negative parts for robustness. * - dt_ratio_hyperbolic - Real - ``1e4`` - Limit the global step to a multiple of the hyperbolic step; :math:`-1` disables this controller. * - verbose - int - ``0`` - Diagnostic verbosity (0–3; higher levels report per-iteration residuals, subcycling, and root-find failures). .. _`sec:rad-jacobi-subcycle`: Convergence Subcycling ~~~~~~~~~~~~~~~~~~~~~~ The Jacobi solver performs a single *global* implicit solve over the whole mesh each step, with the opacities lagged from the start of the step. This is a demanding nonlinear problem, and RIOT provides an escape hatch for the rare case in which an individual solve truly goes off the rails — its residual growing or stalling rather than settling. When a solve is judged to be diverging, it is discarded and the operator-split step is retried from the pristine start-of-step state with the timestep divided by ``reduce_factor``, repeating (reducing further as needed) until each subinterval completes and the full step is covered. It is a robustness backstop rather than part of the normal solve, and it is off by default. Subcycling is distinct from the ordinary iteration count. Reaching ``niter_limit`` is *not* divergence: a solve that iterates smoothly and is simply cut off at the iteration cap is accepted and committed as usual. A solve is flagged as diverging only when its residual becomes non-finite, when the stall detector is enabled and the solve fails to improve on its best residual so far for ``ndiverge_limit`` consecutive iterations, or when the rise detector is enabled and the residual climbs more than a fraction ``diverge_rise_frac`` above its best so far. The rise detector catches a solve that is growing away from its best residual long before the stall detector would. Both detectors flag divergence only while a residual is above its threshold, so a solve held open by ``niter_min`` or by its error estimate is never discarded. A solve whose residuals meet their thresholds but which stalls before its error estimate is met has reached the floor the iteration can resolve, and the stall detector accepts it as converged instead. If subcycling is disabled (``nreduce_limit`` ``= 0``) or the reduction budget is exhausted, a genuinely diverging solve aborts the run. .. list-table:: Convergence-subcycling parameters (in the ```` block). :class: wraptable :header-rows: 1 :widths: 25 12 18 45 * - Parameter - Type - Default - Description * - nreduce_limit - int - ``0`` - Maximum number of timestep reductions permitted on divergence; :math:`0` disables subcycling (a diverging solve aborts). * - reduce_factor - int - ``2`` - Integer factor by which the subcycle timestep is divided at each reduction (:math:`>1`). * - ndiverge_limit - int - ``-1`` - Consecutive non-improving iterations that count as divergence and trigger a reduction; :math:`-1` disables the stall detector. * - diverge_rise_frac - Real - ``-1`` - Fractional rise of the residual above its best so far that counts as divergence and triggers a reduction (e.g. ``0.1`` flags a residual 10% above its best); :math:`-1` disables the rise detector. * - nrelax_steps - int - ``0`` - If :math:`>0`, each step starts with the subcycle count the previous step finished with, and that count is divided by ``reduce_factor`` after ``nrelax_steps`` consecutive steps without divergence (the carried count is capped at ``reduce_factor``:math:`^{\,\mathrm{nreduce\_limit}}`); :math:`0` starts every step at the full timestep. Initialization ~~~~~~~~~~~~~~ The radiation field’s initial state is chosen in the ```` block. .. list-table:: Parameters in the ```` block. :class: wraptable :header-rows: 1 :widths: 25 12 18 45 * - Parameter - Type - Default - Description * - initialization - string - ``thermal`` - Initial radiation field: ``thermal`` (in equilibrium with the matter, :math:`E=aT^4`), ``zero`` (empty), or ``none`` (leave the problem-generator-set intensity untouched). .. _`sec:rad-drive-bc`: Boundary Conditions ~~~~~~~~~~~~~~~~~~~ By default the radiation intensity inherits the same face boundary conditions as the rest of the mesh (``ix1_bc`` …, Chapter :ref:`chap:parthenon`). Any face may instead be given a *drive* condition — a prescribed incoming radiation field, either a uniform temperature or a tabulated series of prescribed group radiation energy densities — or a *reflecting* condition by naming it in the ```` block. .. list-table:: Parameters in the ```` block. :class: wraptable :header-rows: 1 :widths: 25 12 18 45 * - Parameter - Type - Default - Description * - ix1_bc …ox3_bc - string - ``default`` - Per-face selector: ``default`` (inherit the mesh BC; on a ``reflecting`` mesh face this is the radiation reflecting condition below), ``drive`` (impose the drive condition configured in ````), or ``reflecting`` (specular mirror). A ``reflecting`` face fills each ghost cell from its mirror-image interior cell, remapping the intensities through a reflection map of the angular grid for the direction component normal to the face (the same spatial-to-angle component mapping as the angular fluxes: :math:`R \to n_x` and :math:`Z \to n_z` in 2D RZ, :math:`r \to n_z` in 1D spherical). The map preserves isotropic fields and gives zero net radiation flux through the mirror for any interior field. On grids that are symmetric under the mirror (lat-lon, for every spatial face) it is the exact one-to-one angle reflection; on the geodesic grid it is a conservative first-order remap onto the few cells that each mirrored cell overlaps. A ``reflecting`` mesh face (``parthenon/mesh``) is reflecting for the radiation as well unless it is set to ``drive``; ``reflecting`` on any other mesh face is an error. .. list-table:: Parameters in the ```` block. :class: wraptable :header-rows: 1 :widths: 25 12 18 45 * - Parameter - Type - Default - Description * - drive_source - string - ``constant`` - Drive source: ``constant`` (uniform ``trad_bc``) or ``table`` (time series from ``drive_filename``). * - trad_bc - Real - ``0.0`` - Uniform radiation temperature (K) injected by driven faces (``constant`` mode). * - drive_filename - string - — - ASCII table for ``table`` mode: column 0 is time (s), columns 1…ngroups are group energy densities :math:`E_g` (erg/cm\ :sup:`3`). * - force_upwind_flux_bc - bool - ``true`` - Zero the boundary opacity to force a purely upwind flux at a driven face; if ``false``, copy the interior opacity. Opacities are a *material* property, not a radiation input: absorption and scattering models are selected per material in each material’s opacity block (``opac_a``, ``opac_s``), and the frequency group structure on which the transport runs is likewise owned by the materials package. Both are documented in the materials chapter — the opacity models in Section :ref:`sec:mat-opacity` and the group structure in Section :ref:`sec:mat-group-structure`. Registered Fields ----------------- The package registers the radiation fields in the table below under the ``ccrad::`` prefix. The stored intensity is the transported field, carrying one component per (group, angle) pair; recall it absorbs the :math:`4\pi/c` factor so that :math:`E_f = \sum_a w_a I_{f,a}`. The remaining fields are derived opacities, moments, and per-solver scratch. Every field also carries the OperatorSplit flag and a per-solver user flag; the set differs between the two solvers, as noted below. .. list-table:: Principal fields registered by the radiation package. :class: wraptable :header-rows: 1 :widths: 30 14 16 40 :name: tab:rad-fields * - Field - Symbol - Components - Metadata / description * - ccrad::intensity - :math:`I_{f,a}` - :math:`N_\nu N_{\text{ang}}` - Cell, Independent, FillGhost, Intensive, Conserved, OperatorSplit; stored intensity per group and angle (:math:`4\pi/c`-scaled). The explicit solver adds WithFluxes; the Jacobi solver registers linear prolongation/restriction ops instead. * - ccrad::aa - :math:`\sigma_{a,f}` - :math:`N_\nu` - Cell, Derived, OneCopy, FillGhost, OperatorSplit; cell absorption coefficient. * - ccrad::ss - :math:`\sigma_{s,f}` - :math:`N_\nu` - Cell, Derived, OneCopy, FillGhost, OperatorSplit; cell scattering coefficient. * - ccrad::moments - :math:`E_f` - :math:`N_\nu` - Cell, Derived, OneCopy, OperatorSplit; group radiation energy density and moments. * - ccrad::source - :math:`S_f` - :math:`N_\nu` - Source function of the face flux. Jacobi: Cell, Independent, FillGhost, Intensive, iterated with the intensity. Explicit: Cell, Derived, OneCopy, FillGhost, set each step and each stage. * - ccrad::s1, s2, s3 - — - :math:`N_\nu` - Cell, Derived, OneCopy, OperatorSplit; auxiliary moment/source scratch (both solvers). * - ccrad::divfa - — - :math:`N_\nu N_{\text{ang}}` - Cell, Derived, OneCopy, OperatorSplit; angular-flux divergence. Explicit solver only, and only in curvilinear geometries. * - ccrad::temperature - :math:`T^{n+1}` - 1 - Cell, Derived, OneCopy, OperatorSplit; advanced temperature (Jacobi solver only). Example ------- A grey, geodesic-grid transport run using the implicit Jacobi solver, coupled to a fixed (non-advecting) fluid, with a power-law absorption opacity on material ``0`` — the structure of a Marshak-wave problem: .. code:: python riot.input("physics", hydro=True, radiation_transport=True, fixed_fluid=True, sparse_physics=False) riot.input("material0", label="mat0", eos_type="IdealGas", Gamma=1.5, Cv=8.61733e10, opac_a="powerlaw", # absorption opacity model kappa0_a=1.56272e22, # coefficient kappa_Tpower_a=-3.0) # Kramers-like temperature power riot.input("radiation_transport", do_jacobi=True, # select the implicit solver nlevel=1, # geodesic grid: 12 angles coupling=True, affect_fluid=True) # let radiation heat the matter riot.input("radiation_transport/jacobi", err_thr_global=1.0e-4, niter_limit=200, dt_ratio_hyperbolic=5.0e4) # A hot radiating wall driving the inner-x1 face: riot.input("radiation_transport/bc", ix1_bc="drive") riot.input("radiation_transport/drive", trad_bc=1.0) riot.input("radiation_transport/init", initialization="zero")