You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains scripts and resources to download, install, and use **Perple_X** to generate and read a low-resolution thermodynamic table for an iron-olivine system. It can be used as a template to
4
+
create and read your own tables.
5
+
6
+
## Contents
7
+
8
+
-**download_and_install_perplex.sh**
9
+
A shell script to automatically download and install Perple_X in the local directory.
10
+
11
+
-**create_lo_res_table.py**
12
+
A Python script to generate a low-resolution thermodynamic table using Perple_X. This script calls Perple_X programs and configures the run for a simplified system.
13
+
14
+
-**read_lo_res_table.py**
15
+
A Python script to read and parse the generated low-resolution table (e.g., from `table.txt`) for further analysis or plotting.
16
+
17
+
-**perplex_utils.py**
18
+
A python file containing useful Perple_X-related functions.
19
+
20
+
## Getting Started
21
+
22
+
1.**Install Perple_X:**
23
+
24
+
```bash
25
+
./download_and_install_perplex.sh
26
+
```
27
+
28
+
This will download the latest Perple_X release and compile it locally.
29
+
30
+
2.**Create the Thermodynamic Table:**
31
+
32
+
```bash
33
+
python create_lo_res_table.py
34
+
```
35
+
36
+
This will use Perple_X to generate the low-resolution table in a newly created project directory.
37
+
38
+
3.**Read and Analyze the Table:**
39
+
40
+
```bash
41
+
python read_lo_res_table.py
42
+
```
43
+
44
+
This script parses the output table for further use (e.g., plotting or machine learning workflows).
45
+
46
+
## Notes
47
+
48
+
- The resolution and thermodynamic scope in this example are intentionally simplified.
49
+
- Make sure to review Perple_X license and citation guidelines when using in published work.
0 commit comments