Skip to content

Commit d25aec3

Browse files
committed
Add test for euler pole for the area features oceanic plate, continental plate and mantle layer.
1 parent b179374 commit d25aec3

File tree

3 files changed

+99
-0
lines changed

3 files changed

+99
-0
lines changed

tests/gwb-grid/euler_poles.grid

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# output variables
2+
grid_type = chunk
3+
dim = 3
4+
compositions = 0
5+
vtu_output_format = ASCII
6+
7+
# domain of the grid
8+
x_max = 50
9+
x_min = -50
10+
y_max = 50
11+
y_min = -50
12+
z_min = 6271000
13+
z_max = 6371000
14+
15+
# grid properties
16+
n_cell_x = 25
17+
n_cell_y = 25
18+
n_cell_z = 1

tests/gwb-grid/euler_poles.vtu

Lines changed: 39 additions & 0 deletions
Large diffs are not rendered by default.

tests/gwb-grid/euler_poles.wb

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// This is a test for the plume feature in spherical geometry.
2+
// It checks if the plume has the right geometry in terms of its temperature
3+
// and composition, which are uniform within the plume, with the composition
4+
// having two layers.
5+
// Specifically, the plume changes the location of its center axis going in a
6+
// clockwise circle a bit more than half way on the way down and it
7+
// increases in radius with depth. Its cross section is slightly elongated in
8+
// the same direction the center axis is curved, but the eccentricity stays
9+
// the same.
10+
{
11+
"version":"1.1",
12+
"coordinate system":{"model":"spherical", "depth method":"starting point"},
13+
"maximum distance between coordinates":0.01,
14+
//"thermal expansion coefficient":0,
15+
"features":
16+
[
17+
{"model":"oceanic plate",
18+
"name":"oceanic plate A", "min depth":-1e3,
19+
"coordinates":[[-1, 51],[51,51],[51,-1],[-1,-1]],
20+
"velocity models":[{"model":"euler pole","euler pole":[25,25],"angular velocity":0.1}],
21+
"composition models":[{"model":"uniform", "compositions":[0], "fractions":[1]}]
22+
},
23+
{"model":"oceanic plate",
24+
"name":"oceanic plate B", "min depth":-1e3,
25+
"coordinates":[[-1, -51],[51,-51],[51,-1],[-1,-1]],
26+
"velocity models":[{"model":"euler pole","euler pole":[25,-25],"angular velocity":-0.05}],
27+
"composition models":[{"model":"uniform", "compositions":[1], "fractions":[1]}]
28+
},
29+
{"model":"continental plate",
30+
"name":"continental plate A", "min depth":-1e3,
31+
"coordinates":[[-51, 51],[-1,51],[-1,-1],[-51,-1]],
32+
"velocity models":[{"model":"euler pole","euler pole":[-25,25],"angular velocity":0.1}],
33+
"composition models":[{"model":"uniform", "compositions":[2], "fractions":[1]}]
34+
},
35+
{"model":"mantle layer",
36+
"name":"continental plate A", "min depth":-1e3,
37+
"coordinates":[[-51, -51],[-1,-51],[-1,-1],[-51,-1]],
38+
"velocity models":[{"model":"euler pole","euler pole":[-25,-25],"angular velocity":0.1}],
39+
"composition models":[{"model":"uniform", "compositions":[3], "fractions":[1]}]
40+
}
41+
]
42+
}

0 commit comments

Comments
 (0)