Gear/PyCool/scriptsdfd738c8ff58master
scripts
Readme
- cooling with metals (../src/cooling.c) (pNbody default)
cooling function
./pycool_cooling_with_metals_plot_cooling_vs_Temperature ./pycool_cooling_with_metals_plot_cooling_vs_Temperature --Z 0
./pycool_cooling_with_metals_plot_cooling_vs_TemperatureDensity
cooling time
./pycool_cooling_with_metals_plot_CoolingTime_vs_Temperature ./pycool_cooling_with_metals_plot_CoolingTime_vs_Temperature --Z 0 --Density 1e-3
./pycool_cooling_with_metals_plot_CoolingTime_vs_TemperatureDensity ./pycool_cooling_with_metals_plot_CoolingTime_vs_TemperatureDensity --Z 0
additional informations
tables are tabulated as a function of Z and Temperature in cooling_function_with_metals Metals = mass fraction of metals Metal = opt.Z/ZHSolar * FeHSolar from PyCool import cooling cooling.cooling_function_with_metals(T,Metal) cooling.Energy_from_Entropy(entropy,density,1) ??? cooling.Entropy_from_Energy(energy,density,1) ??? cooling.lambda_fct(density,entropy,metal) ??? !!! need a function to compute the cooling time in C !!!
---> the folowing needs to be updated (see in oldscripts)
- this is not updated
- gear/misc/UV-despraz/gear-Jeremie/gear/dSph-1324-8new3/src)
check init
./pycool_init_cooling_from_hdf5
get lamda
./pycool_get_cooling_from_hdf5
plot lambda
./pycool_plot_cooling_from_hdf5 # Lambda, as a fct of temperature
./pycool_plot_cooling_from_hdf5_bis # Lambda, as a fct of redshift
- cooling Wiersma (../src/cooling_wiersma.c) (optimisation of cooling_from_hdf5)
./pycool_cooling_wiersma_plot_cooling_vs_Temperature ./pycool_cooling_wiersma_plot_CoolingTime_vs_Temperature
./pycool_cooling_wiersma_plot_cooling_vs_Redshift (not updated)
2d map
./pycool_cooling_wiersma_plot_cooling_vs_TemperatureDensity --Redshift 10.0
2d map : cooling time
./pycool_cooling_wiersma_plot_CoolingTime_vs_TemperatureDensity --Redshift 0
- cooling grackle : see PyGrackle