Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.318 kb
Find lines of constant cooling time
import numpy
from heatcool import heat, cool
boltzman = 1.3806503e-16
year = 3.15576e7
gamma = 5./3.
def cooling_time_years(density, temperature):
P / (g -1) L
return boltzman*temperature/((gamma-1.0)*density*cool(density, temperature, True)*year)
Jump to Line
Something went wrong with that request. Please try again.