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

Propagate varied gravity to AEOLUS #24

Closed timlichtenberg closed 1 year ago

timlichtenberg commented 1 year ago

Currently gravity acceleration is not propagated to SOCRATES as input parameter; needs adaption of AEOLUS and testing.

nichollsh commented 1 year ago

According to Nathan Mayne, the regular version of SOCRATES does not have a nice way to handle this - in the UM adaption of SOCRATES they've changed how planetary parameters are passed around. We'd need to implement surface gravity as an input parameter ourselves. I'm checking with some other people to see if they've tried this before.

The alternative is to simply change the the value of grav_acc in the code and recompile SOCRATES every time. This isn't ideal but it is something to consider if other options are unfeasible.

nichollsh commented 1 year ago

According to James Manners, an upcoming update to SOCRATES will allow planetary parameters to be passed in via a namelist file. This change will be merged into the main branch of SOCRATES "fairly soon".

It's addressed in this ticket which is the same one which will simplify the spectral file tools. This change also relates to this issue in the AEOLUS repository.

There's an example namelist file for Mars here.

timlichtenberg commented 1 year ago

Ok, seems like recompiling the code will be way to go for the time being. Is the recently updated SOCRATES version then truly the best bet?