diff --git a/examples/StellarEvolution/README b/examples/StellarEvolution/README new file mode 100644 index 0000000000000000000000000000000000000000..44a4836e523d4037e5f942e01e444599fa009c1a --- /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 2c6fe144d4e8ccdee8aa2e3fb11c16384f7e3745..dd9a2542ffa4e17b7e7c19e8e4d6aea359cac77e 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