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.
More information can be found on the documentation pages:
The theory papers of VULCAN can be found here:
- Tsai et al. 2021 (with photochemistry)
- Tsai et al. 2017 (without photochemistry).
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d745b7aaaa2e52be0f450693c6e18832ed42a1a5530c43b2a1595d529707e8cf
|
|
| MD5 |
f1c462e48bc6f6244c269603cca06cf6
|
|
| BLAKE2b-256 |
de4042e3eb4b80eaee377a449121ce197721ee2cd40c1e56fc6ae4cd2b390cd7
|
Provenance
The following attestation bundles were made for fwl_vulcan-26.4.22.tar.gz:
Publisher:
publish.yaml on FormingWorlds/VULCAN
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fwl_vulcan-26.4.22.tar.gz -
Subject digest:
d745b7aaaa2e52be0f450693c6e18832ed42a1a5530c43b2a1595d529707e8cf - Sigstore transparency entry: 1362565733
- Sigstore integration time:
-
Permalink:
FormingWorlds/VULCAN@ea0a52f01aeba51098e34e35750805a5d43e1bc9 -
Branch / Tag:
refs/tags/26.04.22 - Owner: https://github.com/FormingWorlds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ea0a52f01aeba51098e34e35750805a5d43e1bc9 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43f62681c6d6b6ebb323d3de7e0f2d94ac57d659fefdba17bf018f3fcb949957
|
|
| MD5 |
dfc1b4ecf505c5787adaa8490ffad99a
|
|
| BLAKE2b-256 |
9d926c34d154108ec9630d0b2a785047a735d9430655a5fcd5912a966fcf2398
|
Provenance
The following attestation bundles were made for fwl_vulcan-26.4.22-py3-none-any.whl:
Publisher:
publish.yaml on FormingWorlds/VULCAN
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fwl_vulcan-26.4.22-py3-none-any.whl -
Subject digest:
43f62681c6d6b6ebb323d3de7e0f2d94ac57d659fefdba17bf018f3fcb949957 - Sigstore transparency entry: 1362565797
- Sigstore integration time:
-
Permalink:
FormingWorlds/VULCAN@ea0a52f01aeba51098e34e35750805a5d43e1bc9 -
Branch / Tag:
refs/tags/26.04.22 - Owner: https://github.com/FormingWorlds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ea0a52f01aeba51098e34e35750805a5d43e1bc9 -
Trigger Event:
release
-
Statement type: