Skip to main content

The PLANetary Impact Toolkit provides tools for accessing, manipulating, and analysing smoothed particle hydrodynamcis (SPH) impact simulation data, and creating planets for SPH impact simulations.

Project description

planit

Tests

The Planetary Impact Toolkit provides tools for accessing, manipulating, and analysing smoothed particle hydrodynamcis (SPH) impact simulation data, and creating planets for SPH impact simulations.

Philip J. Carter (p.carter@bristol.ac.uk)
Sarah T. Stewart (sstewa56@asu.edu)

Overview

planit currently supports the SPH codes Gadget2-planetary and SWIFT.

makeplanet provides functions for generating adiabatic 1D planet structures and converting these into (unequilibrated) SPH planets.
snaptools provides the Snapshot class for holding input and output files, calculating remnant masses, and vapor fractions.
impacttools provides the Impact class for loading and plotting snapshots produced by an impact simulation.
eos provides classes and functions for accessing and using equations of state.
utils provides additional utility functions for analysis.

Installation

Equations of State (EoS)

planit currently includes the following EoS:

They can be accessed using the names given above (as well as some variations) or using the corresponding SWIFT/WoMa ID number.
User supplied tables in standard SESAME format can also be used.

[!NOTE] ANEOSPyrolite has been assigned the SWIFT/WoMa ID 403 in planit but does not currently have an assigned ID in SWIFT. Using a modified version of SWIFT or using the user supplied EoS functionality will be required.

Planet generation

planit.makeplanet differs from other planet creation code in that produces planets with isentropic layers, integrates outwards from the centre of the planet, and ensures the requested mass and component mass fractions are matched (within tolerance). The default behaviour prevents the unphyiscal scenario of a core cooler than the mantle at the core-mantle boundary.

[!NOTE] makeplanet currently only supports 2-layer planets

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

planit-0.8.2.tar.gz (83.2 kB view details)

Uploaded Source

Built Distribution

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

planit-0.8.2-py3-none-any.whl (93.1 kB view details)

Uploaded Python 3

File details

Details for the file planit-0.8.2.tar.gz.

File metadata

  • Download URL: planit-0.8.2.tar.gz
  • Upload date:
  • Size: 83.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.10

File hashes

Hashes for planit-0.8.2.tar.gz
Algorithm Hash digest
SHA256 42edbd2859959ba6a2f16da5d325aae09d380eeb66a967cea3bbcc6f2d6bde89
MD5 edf1e64762a7b6c19a14100d9660b21a
BLAKE2b-256 544540569157d8389397a89004500dd069bc488044f09f5691b4b971dc1e603c

See more details on using hashes here.

File details

Details for the file planit-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: planit-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 93.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.10

File hashes

Hashes for planit-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8dddac51e061fdc0779b1771cbca6a55f4224765adbd6beb38e9f7bd0f899c1f
MD5 2d17493b87c9143ede0927dca7731a2a
BLAKE2b-256 ccf35010187c685a225d1dd03f90b360ade4a9aca1de0357b0522c944d079c51

See more details on using hashes here.

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