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
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:
- ANEOS Forsterite (Stewart et al., 2019):
ANEOSForsterite - ANEOS Iron (Stewart, 2020):
ANEOSIron - ANEOS Fe85Si15 (Stewart, 2020):
ANEOSFeSiAlloy - ANEOS Pyrolite (Stewart et al., 2022):
ANEOSPyrolite - 5-phase Water (Senft & Stewart, 2008):
5PhaseWater - HM80 Hydrogen-Helium (Hubbard & MacFarlane, 1980; Lock & Stewart, 2024):
HM80HHe
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]
ANEOSPyrolitehas 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]
makeplanetcurrently only supports 2-layer planets
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42edbd2859959ba6a2f16da5d325aae09d380eeb66a967cea3bbcc6f2d6bde89
|
|
| MD5 |
edf1e64762a7b6c19a14100d9660b21a
|
|
| BLAKE2b-256 |
544540569157d8389397a89004500dd069bc488044f09f5691b4b971dc1e603c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dddac51e061fdc0779b1771cbca6a55f4224765adbd6beb38e9f7bd0f899c1f
|
|
| MD5 |
2d17493b87c9143ede0927dca7731a2a
|
|
| BLAKE2b-256 |
ccf35010187c685a225d1dd03f90b360ade4a9aca1de0357b0522c944d079c51
|