FormingWorlds / PROTEUS

Coupled atmosphere-interior framework to simulate the temporal evolution of rocky planets.
https://proteus-code.readthedocs.io
Apache License 2.0
11 stars 1 forks source link

Offline chemistry, minor additions, and bug fixes #47

Closed nichollsh closed 1 year ago

nichollsh commented 1 year ago

Summary

This branch contains quite a few changes from the master branch, but I have confirmed that it runs PROTEUS fine. The main purpose of this branch was to include a method for running chemistry 'offline' from the main PROTEUS simulations; the script tools/RunOfflineChemistry.py takes the output from a PROTEUS run and provides it to VULCAN. This allows us to investigate the response of the upper atmosphere.

Major features

Minor features

Fixes

nichollsh commented 1 year ago

Note that the code experiences some numerical issues with thick atmospheres when the instellation is updated. The solution to this is to set F_atm_bc=1 and implement an atmosphere model which solves for global radiative equilibrium. I did not include radiative time-stepping in this pull request because my toy model is not appropriate for the master branch.

timlichtenberg commented 1 year ago

@nichollsh I am going to merge the pull request, great work again! Please double check that gravity is correctly read in/calculated, it is deleted from init_coupler.cfg. See my inline comment.