TRANSMISSION // 2611.39206v1

JAFF aims to make astrochemical simulations easier to share

Source published

A December 2026 preprint presents JAFF, a framework for translating astrochemical networks into code and coupling chemistry with radiation in selected simulations.

AI-generated conceptual illustration for JAFF aims to make astrochemical simulations easier to share
AI-generated conceptual illustration; not documentary evidence.

Astrophysical simulations may need to follow chemistry as gas and radiation evolve. But reaction networks come in different formats, making them difficult to transfer between computer codes. JAFF is a framework designed to read those networks, generate code and support simulations that evolve chemistry alongside radiation.

Why build a bridge between chemistry codes?

Gas clouds, star-forming regions and planet-forming disks contain molecules whose formation and destruction shape what astronomers observe. In many such environments, chemistry is not in equilibrium. Simulations may therefore need to track changing chemical abundances alongside the motion and energy of gas—and sometimes radiation moving through it.

A chemical reaction network is a set of tracked chemical species and the reactions linking them, with rates describing how quickly reactions occur. Different simulation programs may represent these networks in different formats. Re-implementing the same chemistry for each code can be slow and error-prone, the authors say. Radiation-driven chemistry adds another challenge: researchers increasingly seek to evolve chemistry together with radiation transfer rather than rely only on shielding approximations.

The December 2026 preprint introduces JAFF, short for “Just Another Fancy Format,” to help with both tasks. The framework reads and analyzes reaction networks, checks their contents and generates code for larger simulations. It also supports photochemistry coupled to radiation transfer. JAFF can use shielding functions too; its self-consistent radiation treatment does not mean every approximation disappears.

From network files to simulation code

JAFF uses a Python-based, plugin-oriented system to read several existing network formats, including KROME, KIDA, PRIZMO, UDFA and UCLCHEM. It converts reactions into a shared symbolic representation. This supports network statistics, comparisons and visualization, as well as checks such as identifying reactions that fail to conserve mass or electric charge.

From that representation, JAFF can generate expressions in seven programming languages: C, C++, Fortran, Python, Julia, Rust and R. It supplies complete templates and solver support for some languages, plus predefined templates for selected simulation software. Other codebases can be supported through templates, but still require integration work.

For photochemistry, JAFF can calculate reaction rates using energy-dependent cross-sections and represent radiation in user-defined energy bands. It can generate equations for radiation as well as chemical abundances, with options for dust interactions and shielding. In practical terms, this lets a simulation track how radiation interacts with gas and dust, and how the radiation field affects chemical reactions.

There are important modeling choices. Radiation is grouped into energy bands, and band-averaged cross-sections may represent the underlying spectrum poorly when a reaction has a complex, resonant cross-section—unless the bands are fine enough to resolve that structure. Results can depend on how users choose the bands. The framework also does not automatically supply every term describing how absorbed photon energy is deposited as heat or re-emitted; users can provide functions for these processes.

What the tests show—and what they do not

The authors tested selected toy networks and a more complex interstellar chemistry network. In toy tests with analytical solutions, generated implementations in several codebases closely followed the expected behavior. In separate fixed-radiation tests using the GOW17 network, implementations in several codebases agreed with its reference results within the integrator tolerances. These are tests of particular networks and setups, not broad validation across all languages or supported codes.

The live-photochemistry comparison had a narrower scope: it used the GOW17 network in Quokka for a one-dimensional photodissociation-region model, with one-, two- and four-band radiation treatments. The two- and four-band cases placed the PDR front about a quarter to half a dex from the reference; those two cases differed from each other by about 0.2 dex. The authors point to band resolution and dust cross-sections as relevant. The one-band result was closer to the reference partly because two approximations accidentally offset each other—not because one band is generally more accurate.

A separate test combined photochemistry, radiation transfer and gas motion in Quokka. The three-dimensional turbulent-cloud test used a local shielding prescription and did not include radiative transfer. The authors say that, among the codes in their test suite, only Quokka’s public release included the combination needed for the live-radiation photochemistry test. That statement concerns the tested codes and their public releases, not all simulation software.

The tests demonstrate software capabilities and numerical behavior in selected cases; they do not establish improved astronomical predictions or validate every possible application. UCLCHEM support remains in an alpha phase and does not yet cover some non-standard reaction types. The paper reports that JAFF, its documentation and simulation data are publicly available; this availability is not independently verified here. The manuscript is a December 2026 preprint, and the supplied material does not establish its review or publication status. Its findings should be read as the authors’ reported results, not as evidence of peer-review approval or settled consensus.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.