Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 318 Bytes
"""
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)
Something went wrong with that request. Please try again.