FormingWorlds / PROTEUS

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

Support for JANUS, logging, GridProteus, and stability improvements #78

Closed nichollsh closed 3 months ago

nichollsh commented 3 months ago

Summary

DummyAtmosphere

While debugging some convergence issues - which were ultimately fixed by the new time-stepping scheme and the increased interior mesh resolution - I developed a new module for the atmosphere. It is called DummyAtmosphere, and can be found inside utils/. This takes the place of JANUS/AGNI by providing values for the upward/downward radiative fluxes parameterised by a value gamma. This value is a measure for the radiating temperature of the atmosphere just above the surface, relative to the surface temperature itself. We can therefore represent an optically thick and luminous atmosphere with gamma=1, or an entirely transparent atmosphere with gamma=0. This is not very physical, but it is still useful.

GridPROTEUS

It's now possible to set the number of desired processes in the GridPROTEUS script. The script will then only dispatch this many runs at a given time, with the remainder waiting in a queue. This is probably redundant thanks to other tools like PySlurm, but it works better than the previous implementation. I've tested this on a grid of 700 points.