From 589a0b920fdbdab460c5401d03d37bd0ed24ee40 Mon Sep 17 00:00:00 2001 From: Gabriel Wolf Date: Fri, 14 Sep 2018 18:02:38 +0100 Subject: [PATCH] Add python module for physical constants --- myconstants.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 myconstants.py diff --git a/myconstants.py b/myconstants.py new file mode 100644 index 0000000..1d24a24 --- /dev/null +++ b/myconstants.py @@ -0,0 +1,5 @@ +rho0 = 1027.0 # reference density [kg m**-3] +grav = 9.81 # gravity [m s**-2] +r_earth = 6.4e06 # earth radis [m] +gbuo = -grav/rho0 # +