Skip to main content

Photochemical kinetics for exoplanetary atmospheres, a fast and easy-to-use python code.

Project description

VULCAN

Photochemical kinetics for exoplanetary atmospheres, a fast and easy-to-use python code. This distribution of VULCAN contains a number of performance and usability improvements.

License: GPL v3

More information can be found on the documentation pages:

The theory papers of VULCAN can be found here:

Running with realtime plotting

Quick Demo

Let's dive in and see chemical kinetics in action!

First, go to the fastchem_vulcan/ folder to compile FastChem by running

make

After compilation has finished, go back to the main directory of VULCAN and run

python vulcan.py

You should see the default model starts running with real-time plotting. This will take about 10-15 minutes to complete depending on your comuputer.

Now you may want to try a different T-P input, changing the elemental abundances or vertical mixing. All these settings are set in config.py. For example, find and edit

const_Kzz = 1.E7

and

C_H = 6.0618E-4

for a weaker vertical mixing (Kzz) and carbon rich (C/O=1) run. Set use_live_plot = False if you wish to switch off the real-time plotting (why whould you though?). More detailed instruction can be found in the following sections. Have fun!

The object in this config.py file can be edited at runtime and passed around as a variable.

Reading Output Files

Run plot_vulcan.py within plot_py

python plot_vulcan.py [vulcan output] [species] [plot name] [-h (for plotting height)]

will read vulcan output (.vul files) can plot the species profiles. Species should be sepreated by commas without space. Plot is in pressure by diffcult and can be changed to height by adding "-h".

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_vulcan-26.4.22.tar.gz (72.5 kB view details)

Uploaded Source

Built Distribution

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

fwl_vulcan-26.4.22-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

Details for the file fwl_vulcan-26.4.22.tar.gz.

File metadata

  • Download URL: fwl_vulcan-26.4.22.tar.gz
  • Upload date:
  • Size: 72.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fwl_vulcan-26.4.22.tar.gz
Algorithm Hash digest
SHA256 d745b7aaaa2e52be0f450693c6e18832ed42a1a5530c43b2a1595d529707e8cf
MD5 f1c462e48bc6f6244c269603cca06cf6
BLAKE2b-256 de4042e3eb4b80eaee377a449121ce197721ee2cd40c1e56fc6ae4cd2b390cd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for fwl_vulcan-26.4.22.tar.gz:

Publisher: publish.yaml on FormingWorlds/VULCAN

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_vulcan-26.4.22-py3-none-any.whl.

File metadata

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

File hashes

Hashes for fwl_vulcan-26.4.22-py3-none-any.whl
Algorithm Hash digest
SHA256 43f62681c6d6b6ebb323d3de7e0f2d94ac57d659fefdba17bf018f3fcb949957
MD5 dfc1b4ecf505c5787adaa8490ffad99a
BLAKE2b-256 9d926c34d154108ec9630d0b2a785047a735d9430655a5fcd5912a966fcf2398

See more details on using hashes here.

Provenance

The following attestation bundles were made for fwl_vulcan-26.4.22-py3-none-any.whl:

Publisher: publish.yaml on FormingWorlds/VULCAN

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