Skip to content
Snippets Groups Projects
Commit ebd96095 authored by Alexei Borissov's avatar Alexei Borissov
Browse files

add readme to stellar evolution example

parent 6954a1e7
No related branches found
No related tags found
2 merge requests!787Eagle stellar evolution matthieu,!781Eagle stellar evolution
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.
...@@ -93,3 +93,6 @@ EAGLEChemistry: # Solar abundances ...@@ -93,3 +93,6 @@ EAGLEChemistry: # Solar abundances
EagleStellarEvolution: EagleStellarEvolution:
filename: /cosma5/data/Eagle/BG_Tables/YieldTables/ filename: /cosma5/data/Eagle/BG_Tables/YieldTables/
imf_model: Chabrier imf_model: Chabrier
EAGLEFeedback:
continuous_heating_switch: 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment