geodynamics / Rayleigh

Rayleigh: Pseudo-spectral MHD
GNU General Public License v3.0
59 stars 49 forks source link

Newtonian Cooling #542

Closed feathern closed 2 weeks ago

feathern commented 1 month ago

This draft PR adds the option to use Newtonian cooling in a Rayleigh simulation. Instructions for using this mode provided in the 'under development' section of the documentation that has also been modifed as part of this pull request. See the 'details' of the documentation test to view the new documentation. For the moment, when Newtonian Cooling is active, a message of the following form is printed just before the first time step, and after the acknowledgement message:

"Remember to cite Rayleigh in your publications: Check the ACKNOWLEDGE file for more information.

//////////////////////////////////////

Newtonian cooling is active. Type = 1 Timestep has changed from 0.00000E+00 to 1.00000E-04. "

feathern commented 2 weeks ago

Thanks for the approval. Looks like there were a couple of minor merge conflicts. I'll let the tests run before merging.