-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply spline to the mass conserving temperature
- Loading branch information
Showing
8 changed files
with
13,640 additions
and
5,906 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 2 profiles across a slab, one at 500 km depth | ||
# and one at 200 km depth | ||
# Now define parameters: | ||
# dim = 2 | ||
# compositions = 0 | ||
# x z d T | ||
8000e3 0 500e3 | ||
8050e3 0 500e3 | ||
8100e3 0 500e3 | ||
8150e3 0 500e3 | ||
8200e3 0 500e3 | ||
8300e3 0 500e3 | ||
7800e3 0 200e3 | ||
7850e3 0 200e3 | ||
7900e3 0 200e3 | ||
7950e3 0 200e3 | ||
8000e3 0 200e3 | ||
8200e3 0 200e3 |
164 changes: 164 additions & 0 deletions
164
tests/gwb-dat/mass_conserving_slab_temperature_spline.wb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
{ | ||
"version":"0.6", | ||
"coordinate system":{"model":"cartesian"}, | ||
"gravity model":{"model":"uniform", "magnitude":10}, | ||
"cross section":[[0,0],[10000e3,0]],"surface temperature":273, "force surface temperature":true, | ||
"potential mantle temperature":1673, "thermal expansion coefficient":3.1e-5, | ||
"specific heat":1000, "thermal diffusivity":1.0e-6, | ||
"features": | ||
[ | ||
{ | ||
"model": "oceanic plate", | ||
"name": "sp plate", | ||
"max depth": 150000.0, | ||
"min depth": -100000.0, | ||
"coordinates": [ | ||
[ | ||
0.0, | ||
-1000.0 | ||
], | ||
[ | ||
0.0, | ||
1000.0 | ||
], | ||
[ | ||
7500000.0, | ||
1000.0 | ||
], | ||
[ | ||
7500000.0, | ||
-1000.0 | ||
] | ||
], | ||
"temperature models": [ | ||
{ | ||
"model": "plate model", | ||
"min depth": -10000.0, | ||
"max depth": 150000.0, | ||
"spreading velocity": 0.05, | ||
"ridge coordinates": [ | ||
[ | ||
[ | ||
0, | ||
-1000.0 | ||
], | ||
[ | ||
0, | ||
1000.0 | ||
] | ||
] | ||
] | ||
} | ||
], | ||
"composition models": [ | ||
{ | ||
"model": "uniform", | ||
"min depth": -10000.0, | ||
"max depth": 7500.0, | ||
"compositions": [ | ||
0 | ||
] | ||
}, | ||
{ | ||
"model": "uniform", | ||
"min depth": 7500.0, | ||
"max depth": 35200.0, | ||
"compositions": [ | ||
1 | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"model": "subducting plate", | ||
"name": "initial slab", | ||
"coordinates": [ | ||
[ | ||
7500000.0, | ||
-1000.0 | ||
], | ||
[ | ||
7500000.0, | ||
1000.0 | ||
] | ||
], | ||
"dip point": [ | ||
40000000.0, | ||
0.0 | ||
], | ||
"segments": [ | ||
{ | ||
"length": 1000000.0, | ||
"thickness": [ | ||
300000.0 | ||
], | ||
"top truncation": [ | ||
-100000.0 | ||
], | ||
"angle": [ | ||
0, | ||
80 | ||
], | ||
"composition models": [ | ||
{ | ||
"model": "uniform", | ||
"compositions": [ | ||
0 | ||
], | ||
"max distance slab top": 7500.0 | ||
}, | ||
{ | ||
"model": "uniform", | ||
"compositions": [ | ||
1 | ||
], | ||
"min distance slab top": 7500.0, | ||
"max distance slab top": 35200.0 | ||
} | ||
] | ||
}, | ||
{ | ||
"length": 300000.0, | ||
"thickness": [ | ||
300000.0 | ||
], | ||
"top truncation": [ | ||
-100000.0 | ||
], | ||
"angle": [ | ||
80, | ||
80 | ||
] | ||
} | ||
], | ||
"temperature models": [ | ||
{ | ||
"model": "mass conserving", | ||
"density": 3300, | ||
"thermal conductivity": 3.3, | ||
"adiabatic heating": true, | ||
"plate velocity": 0.05, | ||
"ridge coordinates": [ | ||
[ | ||
[ | ||
0, | ||
-1000.0 | ||
], | ||
[ | ||
0, | ||
1000.0 | ||
] | ||
] | ||
], | ||
"coupling depth": 50000.0, | ||
"taper distance": 100000.0, | ||
"min distance slab top": -100000.0, | ||
"max distance slab top": 150000.0, | ||
"reference model name": "plate model", | ||
"apply spline": true, | ||
"number of points in spline": 5 | ||
} | ||
] | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
tests/gwb-dat/mass_conserving_slab_temperature_spline/screen-output.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# x z d T tag | ||
8000e3 0 500e3 1953.49 1 | ||
8050e3 0 500e3 1652.36 1 | ||
8100e3 0 500e3 1342.93 1 | ||
8150e3 0 500e3 983.156 1 | ||
8200e3 0 500e3 1486.98 1 | ||
8300e3 0 500e3 1953.49 -1 | ||
7800e3 0 200e3 1483.09 1 | ||
7850e3 0 200e3 1272.26 1 | ||
7900e3 0 200e3 1017.16 1 | ||
7950e3 0 200e3 684.892 1 | ||
8000e3 0 200e3 1385.27 1 | ||
8200e3 0 200e3 1780.01 -1 |