From ebd960957f3aca5b37690a580337a8dc394dc9fb Mon Sep 17 00:00:00 2001 From: Alexei Borissov <dc-bori1@cosma-a.pri.cosma7.alces.network> Date: Sun, 7 Apr 2019 18:58:42 +0100 Subject: [PATCH] add readme to stellar evolution example --- examples/StellarEvolution/README | 7 +++++++ examples/StellarEvolution/stellar_evolution.yml | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 examples/StellarEvolution/README diff --git a/examples/StellarEvolution/README b/examples/StellarEvolution/README new file mode 100644 index 0000000000..44a4836e52 --- /dev/null +++ b/examples/StellarEvolution/README @@ -0,0 +1,7 @@ +Example for testing EAGLE stellar feedback. This consists of a uniform box of gas with a star in the center. The amount of feedback can then be checked by summing over the gas particles in the whole box and comparing to the expected amount of feedback from a single star over a given time period. + +If only mass enrichment is of interest, the box can be run with ICs generated from a smaller glass (eg glassCube_32.hdf5). In this case, however it is necessary to turn off energy feedback (eg. by setting the return value of compute_SNe in src/stars/EAGLE/stars.h to zero) or using a larger glass (glassCube_64.hdf5). + +Use the python script, plot_box_evolution.py to compare total mass evolution of gas particles in the whole box with what is expected based on EAGLE standalone feedback test. + +Use plot_paricle_evolution.py to plot the evolution of particles starting in the viscinity of the star at the beginning of the simulation. diff --git a/examples/StellarEvolution/stellar_evolution.yml b/examples/StellarEvolution/stellar_evolution.yml index 2c6fe144d4..dd9a2542ff 100644 --- a/examples/StellarEvolution/stellar_evolution.yml +++ b/examples/StellarEvolution/stellar_evolution.yml @@ -93,3 +93,6 @@ EAGLEChemistry: # Solar abundances EagleStellarEvolution: filename: /cosma5/data/Eagle/BG_Tables/YieldTables/ imf_model: Chabrier + +EAGLEFeedback: + continuous_heating_switch: 0 -- GitLab