Skip to content
Snippets Groups Projects
Commit 75c0c9a8 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Add grackle to the SmallCosmoVolume_cooling example

parent 1ecfa47f
No related branches found
No related tags found
1 merge request!740Grackle cosmo
...@@ -7,6 +7,11 @@ then ...@@ -7,6 +7,11 @@ then
./getIC.sh ./getIC.sh
fi fi
if [ ! -e CloudyData_UVB=HM2012.h5 ]
then
../../Cooling/getCoolingTable.sh
fi
if [ ! -e coolingtables ] if [ ! -e coolingtables ]
then then
echo "Fetching cooling tables for the small cosmological volume example..." echo "Fetching cooling tables for the small cosmological volume example..."
......
...@@ -16,7 +16,7 @@ Cosmology: # WMAP9 cosmology ...@@ -16,7 +16,7 @@ Cosmology: # WMAP9 cosmology
# Parameters governing the time integration # Parameters governing the time integration
TimeIntegration: TimeIntegration:
dt_min: 1e-6 dt_min: 1e-8
dt_max: 1e-2 dt_max: 1e-2
# Parameters for the self-gravity scheme # Parameters for the self-gravity scheme
...@@ -83,3 +83,18 @@ EAGLEChemistry: ...@@ -83,3 +83,18 @@ EAGLEChemistry:
init_abundance_Magnesium: 0.0 init_abundance_Magnesium: 0.0
init_abundance_Silicon: 0.0 init_abundance_Silicon: 0.0
init_abundance_Iron: 0.0 init_abundance_Iron: 0.0
# Cooling with Grackle 3.0
GrackleCooling:
CloudyTable: CloudyData_UVB=HM2012.h5 # Name of the Cloudy Table (available on the grackle bitbucket repository)
WithUVbackground: 1 # Enable or not the UV background
Redshift: 0 # Redshift to use (-1 means time based redshift)
WithMetalCooling: 1 # Enable or not the metal cooling
ProvideVolumetricHeatingRates: 0 # (optional) User provide volumetric heating rates
ProvideSpecificHeatingRates: 0 # (optional) User provide specific heating rates
SelfShieldingMethod: 0 # (optional) Grackle (<= 3) or Gear self shielding method
MaxSteps: 10000 # (optional) Max number of step when computing the initial composition
ConvergenceLimit: 1e-2 # (optional) Convergence threshold (relative) for initial composition
GearChemistry:
InitialMetallicity: 0.01295
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment