Skip to content

Colibre cooling

Sylvia Ploeckinger requested to merge EAGLE/swift-colibre:colibre_cooling into master

Contains the COLIBRE cooling routines, two test cases to test it within SWIFT and one standalone program to read and interpolate the tables.

Example 1: examples/Cooling/CoolingRatesCOLIBRE

  • produces an ascii file with temperature (column 1) and net cooling rate (column 2) for a given abundance ratio, density, and redshift
  • based on: examples/Cooling/CoolingRates

Example 2: examples/IsolatedGalaxy/IsolatedGalaxy_COLIBRE

  • runs an isolated galaxy with COLIBRE cooling
  • plotSolution.py plots (among other things) the phase-space (rho-T) diagram together with the thermal equilibrium curve for the closest redshift and metallicity bin
  • based on: examples/IsolatedGalaxy/IsolatedGalaxy_starformation

Standalone program: src/cooling/COLIBRE/standalone

  • reads the tables
  • writes a cooling function for parameter specified in cooling_function.c
  • similar to Example 1 but completely independent of SWIFT
  • might not be necessary to keep it in the code, but for now it's useful for comparisons / testing

Branch status:

  • clang formatted; but with version 7 instead of 5 (this is what was installed)
  • some tests from 'make check' failed, but none of them are obviously cooling related: *) test27cells.sh *) test27cellsPerturbed.sh *) testPeriodicBCPerturbed.sh *) testFormat.sh (no clang installed on cosma7) *) test27cellsStars.sh *) test27cellsStarsPerturbed.sh

Merge request reports