-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
53 lines (40 loc) · 1.31 KB
/
constants.py
File metadata and controls
53 lines (40 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright (C) 2020-2021 by Andrew Hoffman <hoffmaao@uw.edu>
#
# This file is part of the two-stage glacier model.
#
# the two-stage glacier model is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# The full text of the license can be found in the file LICENSE in the
# icepack source directory or at <http://www.gnu.org/licenses/>.
r"""Physical constants
This module constains physical constants used throughout the library such
as the acceleration due to gravity, the universal gas constant, the density
of ice and water, etc.
"""
#: number of seconds in a year, for unit conversions
year = 365.25 * 24 * 60 * 60
#: exponent in the nonlinear consitutive law for ice
glen_flow_law = 3.0
#: acceleration due to gravity (m / yr^2)
gravity = 9.81
#: density of ice
ice_density = 917.
#: density of seawater
water_density = 1028.
#: density of bedrock
bedrock_density = 3100.
#: density of bedrock
bed_density = 3300.
#: glen flow coefficient
glen_coefficient = 4.22e-25
#: friction coeffient
friction_coefficient = 7.624e6
#: buttressing parameter
theta = 0.7
#: bedrock rigidity
bedrock_rigidity = 1e20
#: response time
response_time = 3000