From 4f1b9b0cc8828cb81fb2cfee89b5153cc7ace0ae Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 21 Oct 2017 15:17:01 +0800 Subject: clusters/halo: Add function "speed_sound()" Also add "gamma" the adiabatic index of ideal gas to utils/units.py --- fg21sim/utils/units.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fg21sim/utils/units.py') diff --git a/fg21sim/utils/units.py b/fg21sim/utils/units.py index dfe5013..e7deb17 100644 --- a/fg21sim/utils/units.py +++ b/fg21sim/utils/units.py @@ -100,3 +100,6 @@ class Constants: # Mean molecular weight # Ref.: Ettori et al, 2013, Space Science Review, 177, 119-154, Eq.(6) mu = 0.6 + + # Adiabatic index of ideal monatomic gas + gamma = 5.0/3.0 -- cgit v1.2.2