Skip to content

nichollsh/AGNI

Repository files navigation

An open-source model for extreme atmospheres on rocky exoplanets

Overview

AGNI's primary purpose is to simulate the atmospheric temperature-, height-, and compositional-structures of atmospheres overlying magma oceans. It does this while ensuring that radiative-convective equilibrium is maintained throughout the atmosphere. SOCRATES is used to perform correlated-k radiative transfer including: shortwave irradiation from the star, surface emission, line absorption, Rayleigh scattering, parameterised clouds, and collisional absorption. Mixing length theory is used to parametrise convection. AGNI also supports real gas equations of state, self-gravitation, and various spectral surface compositions. Accounting for these energy transport processes permits an energy-conserving calculation of atmospheric structure, obtained using numerical optimisation, which also yields realistic cooling rates for young rocky planets with magma oceans.

Consult the AGNI documentation for information about the model.

Contact: see information on my website homepage.

Installation and usage

See the Getting Started page in the documentation for information on installing and using the model.

Citation

If you use AGNI, please cite the following papers:

Example

Below is an animated example of AGNI solving for a temperature-pressure profile, starting from an isothermal state.

demo.mp4

Repository structure

  • agni.jl - The main AGNI executable
  • LICENSE.txt - License for use and re-use
  • deps/ - Package build scripts
  • docs/ - Documentation source files
  • misc/ - Miscellaneous files
  • out/ - Model output files
  • res/ - Resources (configs, thermodynamic data, etc.)
  • src/ - Source code
  • test/ - Tests for the code
  • tutorials/ - Notebooks and tutorials

This software is available under GPLv3. Copyright (C) 2025 Harrison Nicholls.