Skip to main content

Zalmoxis (Planetary interior structure model)

Project description

License Docs codecov Unit Tests Integration Tests

Zalmoxis

Interior structure solver for rocky planets and sub-Neptunes.

Zalmoxis computes self-consistent radial profiles of density, pressure, temperature, gravity, and phase state for differentiated planets from 0.1 to 50 Earth masses. Given a total mass, layer composition, and temperature mode, it iteratively solves the coupled hydrostatic equilibrium equations to determine the planet's radius and internal structure.

Features

  • Multiple EOS families: PALEOS unified tables (iron, MgSiO3, H2O), Chabrier H2 for sub-Neptune interiors, Wolf & Bower 2018, Seager 2007, and analytic polytropes
  • Multi-material mixing: volume-additive harmonic mean with per-component phase-aware suppression
  • H2 miscibility: binodal suppression models for H2-silicate and H2-H2O phase boundaries
  • Temperature modes: adiabatic (self-consistent), isothermal, linear, or prescribed profiles
  • Parameter grids: sweep any combination of input parameters via TOML grid files

Quick start

# Install
git clone https://github.com/FormingWorlds/Zalmoxis.git
cd Zalmoxis
pip install -e .

# Download EOS data
bash tools/setup/get_zalmoxis.sh

# Run default config (1 Earth-mass, PALEOS iron + MgSiO3)
python -m zalmoxis -c input/default.toml

See the installation guide and usage guide for details.

Documentation

Full documentation: proteus-framework.org/Zalmoxis

Part of PROTEUS

Zalmoxis is the interior structure module of the PROTEUS framework for coupled atmosphere-interior evolution of rocky planets and sub-Neptunes.

Contributing

Contributions are welcome. Please read the Code of Conduct and contributing guidelines before opening a pull request. If you encounter issues, please open an issue.

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fwl_zalmoxis-26.7.13.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fwl_zalmoxis-26.7.13-py3-none-any.whl (182.7 kB view details)

Uploaded Python 3

File details

Details for the file fwl_zalmoxis-26.7.13.tar.gz.

File metadata

  • Download URL: fwl_zalmoxis-26.7.13.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fwl_zalmoxis-26.7.13.tar.gz
Algorithm Hash digest
SHA256 4c6b82ace1b1d543bb1969dae2f26e8826c8d6a94d9d7b6b01e9da2a0619b0aa
MD5 4df2c69c03ae956e124fd231ec43c4c1
BLAKE2b-256 2617e8742c551d6df4ec771517f1cc3996e513df8e19280a74c4ec714863c8b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fwl_zalmoxis-26.7.13.tar.gz:

Publisher: publish.yml on FormingWorlds/Zalmoxis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fwl_zalmoxis-26.7.13-py3-none-any.whl.

File metadata

  • Download URL: fwl_zalmoxis-26.7.13-py3-none-any.whl
  • Upload date:
  • Size: 182.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fwl_zalmoxis-26.7.13-py3-none-any.whl
Algorithm Hash digest
SHA256 4cf58a223b264511a54faadd98ff7a0e6995d900469c3a688cb5e46d0c1abe37
MD5 76d726bd725aa2cfa6430f9b6d0ab338
BLAKE2b-256 bf047ae8e3f37ebf9870ee1851809023ffbc9caa80eabb9301b6c9b2fa4d73fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for fwl_zalmoxis-26.7.13-py3-none-any.whl:

Publisher: publish.yml on FormingWorlds/Zalmoxis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page