Limit temperature with depth#
As you may have noticed, the temperature and compositional field 0 in the model both extend to the bottom of the model. However, our model is 500km deep and the oceanic lithosphere should only extend to 100km while the “crustal composition” should only extend to 50km in depth. Luckily, this is easily solved. We start by setting a global maximum depth of 100km for the whole feature by adding "max depth":100e3
to the end of line 7. We can also set maximums for individual objects so let’s limit the uniform composition by adding "max depth":50e3
to line 12. Please note that units are in meters.
Note
If the max depth
of the composition is larger than the feature max depth
, the composition will be be cut off as it is limited by the feature max depth
.
5 [
6 {
7 "model":"oceanic plate", "name":"Overriding Plate", "max depth":100e3,
8 "coordinates":[[0,0],[0,1000e3],[1500e3,1000e3],[1600e3,350e3],[1500e3,0]],
9 "temperature models":[{"model":"uniform", "temperature":293}],
10 "composition models":
11 [
12 {"model":"uniform", "compositions":[0], "max depth":50e3}
13 ]
14 }
15 ]
1{
2 "version": "1.0",
3 "coordinate system":{"model":"cartesian"},
4 "features":
5 [
6 {
7 "model":"oceanic plate", "name":"Overriding Plate", "max depth":100e3,
8 "coordinates":[[0,0],[0,1000e3],[1500e3,1000e3],[1600e3,350e3],[1500e3,0]],
9 "temperature models":[{"model":"uniform", "temperature":293}],
10 "composition models":
11 [
12 {"model":"uniform", "compositions":[0], "max depth":50e3}
13 ]
14 }
15 ]
16}