Skip to content

Commit f14ee55

Browse files
committed
first readme done
1 parent 11893f7 commit f14ee55

17 files changed

+86
-36
lines changed

.DS_Store

0 Bytes
Binary file not shown.
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# trappist1
2+
Code and plots from Becker et al. 2019 (in prep)

AssortedData/.DS_Store

0 Bytes
Binary file not shown.
1 Byte
Binary file not shown.

MakeFigures.ipynb

+21-21
Large diffs are not rendered by default.

PaperFigures/ecc_vplanet.pdf

-12.4 KB
Binary file not shown.

PaperFigures/lcdata_bestfit_mag.pdf

-2 Bytes
Binary file not shown.
10 Bytes
Binary file not shown.
-64.1 KB
Binary file not shown.

PaperFigures/star_test.pdf

-18.6 KB
Binary file not shown.

PaperFigures/trappist-ecc.png

-78.1 KB
Binary file not shown.
-95.6 KB
Binary file not shown.

README.md

+42-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,42 @@
1-
# trappist1
2-
Code and plots from Becker et al. 2019 (in prep)
1+
Atmospheric Escape with an Evolving XUV Luminosity in the TRAPPIST-1 Planetary System
2+
============
3+
4+
Overview
5+
--------
6+
7+
We use `vplanet <https://github.com/VirtualPlanetaryLaboratory/vplanet>`_. to model water photolysis and hydrogen escape for the TRAPPIST-1 planetary system, matching the current-day XUV luminosity output from the code to our measured values from Becker et al. 2020. The result is a measure of the ocean content on each planet overtime.
8+
9+
10+
=================== ============
11+
**Date** 5/4/20
12+
**Author** Juliette Becker
13+
**Modules** AtmEsc, EqTide, STELLAR
14+
**Approx. runtime** 20-30 seconds
15+
**Source code** `vplanet <https://github.com/VirtualPlanetaryLaboratory/vplanet>`_,
16+
`vplot <https://github.com/VirtualPlanetaryLaboratory/vplot>`_
17+
=================== ============
18+
19+
Details on this analysis
20+
-------------------
21+
22+
To run the code in this directory, make sure VPlanet is installed on your machine and run:
23+
.. code-block:: bash
24+
25+
vplanet vpl.in
26+
27+
Which creates the output files (trappist1.b.forward, etc) needed in the MakeFigures.ipynb script. There are several other folders in this repository (run01, run02, run03) which contain runs of this system with different planet parameters.
28+
29+
Some of the things we modeled (and the flags you need to use in the relevant files to include them) are as follows:
30+
- We include the best-fit XUV decay model from [Fleming et al. 2020](https://iopscience.iop.org/article/10.3847/1538-4357/ab77ad/meta) by fixing parameters `dSatXUVFrac`, `dXUVBeta`, `dSatXUVTime`, and `sMagBrakingModel`, which are all set in the `star.in` file. These parameters allow you to change the amount of time that the star remains saturated in the XUV, and also change the slope of the decay once it leaves the saturated phase.
31+
- By default, VPlanet ends water photolysis and mass loss once the planet reaches the habitable zone. To turn this off (and allow the mass loss to continue), use flag `bStopWaterLossInHZ 0` in the planet parameter files (b.in, c.in, etc). A flag of 1 (the default) means that you turn off mass loss, and a flag of 0 means that you allow it to continue.
32+
33+
34+
35+
Output
36+
---------------
37+
38+
.. figure:: trappist_water_midQ_trueLXUV.pdf
39+
:width: 700px
40+
:align: center
41+
42+
Water mass loss over time of planets in the TRAPPIST-1 system. See `MakeFigures.ipynb <https://github.com/jxcbecker/trappist1/blob/master/MakeFigures.ipynb>`_ for the code to make this figure (and others).

VPlanetRuns/.DS_Store

0 Bytes
Binary file not shown.

VPlanetRuns/AtmEsc+EqTide/README.rst

+21-13
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,42 @@
1-
Atmospheric Escape in the TRAPPIST-1 Planetary System
1+
Atmospheric Escape with an Evolving XUV Luminosity in the TRAPPIST-1 Planetary System
22
============
33

44
Overview
55
--------
66

7-
Water photolysis, hydrogen escape, and oxygen buildup on the TRAPPIST-1 planets
8-
as predicted by `vplanet <https://github.com/VirtualPlanetaryLaboratory/vplanet>`_.
7+
We use `vplanet <https://github.com/VirtualPlanetaryLaboratory/vplanet>`_. to model water photolysis and hydrogen escape for the TRAPPIST-1 planetary system, matching the current-day XUV luminosity output from the code to our measured values from Becker et al. 2020. The result is a measure of the ocean content on each planet overtime.
8+
99

1010
=================== ============
11-
**Date** 12/27/18
12-
**Author** Rory Barnes
13-
**Modules** AtmEsc, STELLAR
14-
**Approx. runtime** 20 seconds
11+
**Date** 5/4/20
12+
**Author** Juliette Becker
13+
**Modules** AtmEsc, EqTide, STELLAR
14+
**Approx. runtime** 20-30 seconds
1515
**Source code** `vplanet <https://github.com/VirtualPlanetaryLaboratory/vplanet>`_,
1616
`vplot <https://github.com/VirtualPlanetaryLaboratory/vplot>`_
1717
=================== ============
1818

19-
To run this example
19+
Details on this analysis
2020
-------------------
2121

22+
To run the code in this directory, make sure VPlanet is installed on your machine and run:
2223
.. code-block:: bash
2324
2425
vplanet vpl.in
25-
python makeplot.py <pdf | png>
2626
27-
Expected output
27+
Which creates the output files (trappist1.b.forward, etc) needed in the MakeFigures.ipynb script. There are several other folders in this repository (run01, run02, run03) which contain runs of this system with different planet parameters.
28+
29+
Some of the things we modeled (and the flags you need to use in the relevant files to include them) are as follows:
30+
- We include the best-fit XUV decay model from [Fleming et al. 2020](https://iopscience.iop.org/article/10.3847/1538-4357/ab77ad/meta) by fixing parameters `dSatXUVFrac`, `dXUVBeta`, `dSatXUVTime`, and `sMagBrakingModel`, which are all set in the `star.in` file. These parameters allow you to change the amount of time that the star remains saturated in the XUV, and also change the slope of the decay once it leaves the saturated phase.
31+
- By default, VPlanet ends water photolysis and mass loss once the planet reaches the habitable zone. To turn this off (and allow the mass loss to continue), use flag `bStopWaterLossInHZ 0` in the planet parameter files (b.in, c.in, etc). A flag of 1 (the default) means that you turn off mass loss, and a flag of 0 means that you allow it to continue.
32+
33+
34+
35+
Output
2836
---------------
2937

30-
.. figure:: Trappist1.atmesc.png
31-
:width: 600px
38+
.. figure:: trappist_water_midQ_trueLXUV.pdf
39+
:width: 700px
3240
:align: center
3341

34-
Atmospheric evolution of the TRAPPIST-1 planets as modified by the evolving host star. Planetary parameters are from `Grimm et al. (2018) <https://ui.adsabs.harvard.edu//#abs/2018A&A...613A..68G/>`_. *Top Left:* Bolometric stellar luminosity. *Top Right:* Stellar XUV luminosity. *Middle Left:* Stellar effective temperature. *Middle Right:* Habitable zone evolution. Dashed lines are the empirical limits and solid are the conservative limits (`Kopparapu et al. 2013 <https://ui.adsabs.harvard.edu//#abs/2013ApJ...765..131K/abstract>`_). *Bottom Left:* Surface/atmospheric water content in units of terrestrial oceans. *Bottom Right:* Oxygen buildup, assuming no sinks.
42+
Water mass loss over time of planets in the TRAPPIST-1 system. See `MakeFigures.ipynb <https://github.com/jxcbecker/trappist1/blob/master/MakeFigures.ipynb>`_ for the code to make this figure (and others).
1.63 KB
Binary file not shown.

0 commit comments

Comments
 (0)