Skip to content

Commit

Permalink
WIP: finished text and code up to BST 10, figuers still missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
MFraters committed May 15, 2023
1 parent 3ee67ed commit 47e6ea7
Show file tree
Hide file tree
Showing 31 changed files with 211 additions and 125 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ compositions = 3
vtu_output_format = ASCII

# domain of the grid
x_min = 0e3
x_min = -1000e3
x_max = 2000e3
y_min = 0e3
y_max = 1000e3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"coordinate system":{"model":"cartesian"},
"features":
[
{
"model":"mantle layer", "name":"upper mantle", "max depth":660e3,
"coordinates":[[0,0],[0,1000e3],[2000e3,1000e3],[2000e3,0]],
"composition models":[{"model":"uniform", "compositions":[4]}]
},
{
"model":"oceanic plate", "name":"Overriding Plate", "max depth":100e3,
"coordinates":[[0,0],[0,1000e3],[1500e3,1000e3],[1600e3,350e3],[1500e3,0]],
Expand All @@ -16,9 +11,21 @@
{"model":"half space model", "max depth":100e3, "spreading velocity":0.04,
"ridge coordinates":[[[400e3,-1],[-100e3,2000e3]]]}
],
"composition models":[{"model":"uniform", "compositions":[0], "max depth":50e3}]
},
{
"model":"continental plate", "name":"Passive margin", "max depth":[[200e3]],
"coordinates":[[-1000e3,0],[-1000e3,1000e3],[0,1000e3],[0,0]],
"temperature models":
[
{"model":"linear", "max depth":[[150e3],[200e3,[[-500e3,0],[-500e3,1000e3]]]]}
],
"composition models":
[
{"model":"uniform", "compositions":[0], "max depth":50e3}
{"model":"uniform", "compositions":[3],
"max depth":[[150e3],[200e3,[[-500e3,0],[-500e3,1000e3]]]]},
{"model":"uniform", "compositions":[1],
"min depth":[[150e3],[200e3,[[-500e3,0],[-500e3,1000e3]]]]}
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ compositions = 3
vtu_output_format = ASCII

# domain of the grid
x_min = 0e3
x_min = -1000e3
x_max = 2000e3
y_min = 0e3
y_max = 1000e3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[
{
"model":"mantle layer", "name":"upper mantle", "max depth":660e3,
"coordinates":[[0,0],[0,1000e3],[2000e3,1000e3],[2000e3,0]],
"coordinates":[[-1000e3,0],[-1000e3,1000e3],[3000e3,1000e3],[3000e3,0]],
"composition models":[{"model":"uniform", "compositions":[4]}]
},
{
Expand All @@ -16,9 +16,21 @@
{"model":"half space model", "max depth":100e3, "spreading velocity":0.04,
"ridge coordinates":[[[400e3,-1],[-100e3,2000e3]]]}
],
"composition models":[{"model":"uniform", "compositions":[0], "max depth":50e3}]
},
{
"model":"continental plate", "name":"Passive margin", "max depth":[[200e3]],
"coordinates":[[-1000e3,0],[-1000e3,1000e3],[0,1000e3],[0,0]],
"temperature models":
[
{"model":"linear", "max depth":[[150e3],[200e3,[[-500e3,0],[-500e3,1000e3]]]]}
],
"composition models":
[
{"model":"uniform", "compositions":[0], "max depth":50e3}
{"model":"uniform", "compositions":[3],
"max depth":[[150e3],[200e3,[[-500e3,0],[-500e3,1000e3]]]]},
{"model":"uniform", "compositions":[1],
"min depth":[[150e3],[200e3,[[-500e3,0],[-500e3,1000e3]]]]}
]
},
{
Expand Down
39 changes: 39 additions & 0 deletions doc/sphinx/_static/gwb_input_files/BST_12_sections.wb_bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"version":"0.5",
"coordinate system":{"model":"cartesian"},
"cross section":[[0,200e3],[100e3,200e3]],
"features":
[
{"model":"mantle layer", "name":"upper mantle", "min depth":100e3, "max depth":660e3,
"coordinates":[[0,0],[0,1000e3],[2000e3,1000e3],[2000e3,0]],
"composition models":[{"model":"uniform", "compositions":[4]}]},

{"model":"oceanic plate", "name":"Overriding plate", "max depth":100e3,
"coordinates":[[0,0],[0,1000e3],[1500e3,1000e3],[1600e3,350e3],[1500e3,0]],
"temperature models":[{"model":"plate model", "max depth":100e3, "spreading velocity":0.01,
"ridge coordinates":[[[400e3,-1],[-100e3,2000e3]]]}],
"composition models":[{"model":"uniform", "compositions":[0], "max depth":100e3}]},

{"model":"oceanic plate", "name":"Atlantic Plate", "max depth":100e3,
"coordinates":[[2000e3,0],[2000e3,1000e3],[1500e3,1000e3],[1600e3,350e3],[1500e3,0]],
"temperature models":[{"model":"linear", "max depth":100e3}],
"composition models":[{"model":"uniform", "compositions":[3], "max depth":50e3},
{"model":"uniform", "compositions":[1], "min depth":50e3}]},

{"model":"subducting plate", "name":"Slab",
"coordinates":[[1500e3,1000e3],[1600e3,350e3],[1500e3,0]],
"dip point":[0,0],
"segments":[{"length":300e3, "thickness":[100e3], "angle":[0,60],
"composition models":[{"model":"uniform", "compositions":[3], "max distance slab top":50e3},
{"model":"uniform", "compositions":[2], "min distance slab top":50e3}]},
{"length":500e3, "thickness":[100e3], "angle":[60,20]}],
"sections":[
{"coordinate":0,
"segments":[{"length":300e3, "thickness":[100e3], "angle":[0,60]},
{"length":400e3, "thickness":[100e3,50e3], "angle":[60]}],
"composition models":[{"model":"uniform", "compositions":[1]}]}
],
"temperature models":[{"model":"plate model", "density":3300, "plate velocity":0.02 }],
"composition models":[{"model":"uniform", "compositions":[2], "max distance slab top":100e3}]}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ GWB input files are plain-text files, which generally have the extension `.wb`.



```{literalinclude} ../../_static/gwb_input_files/BST_1_minimal_box.wb
```{literalinclude} ../../_static/gwb_input_files/BST_02_minimal_box.wb
:language: json
:lineno-start: 1
```

::::{grid} 2
:::{grid-item-card} Download BST_1_minimal_box.wb
:link: ../../_static/gwb_input_files/BST_1_minimal_box.wb
:link: ../../_static/gwb_input_files/BST_02_minimal_box.wb
:::
:::{grid-item-card} Download BST_1_minimal_box.grid
:link: ../../_static/gwb_input_files/BST_1_minimal_box.grid
:link: ../../_static/gwb_input_files/BST_02_minimal_box.grid
:::
::::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ lineno-start: 1
This should be a good default spherical coordiante system. For more information on how to derive this from the paramter listing and what the options are, please expand and read the dropbox above.
In the following sections we will continue using the Cartesian coordinate system. We will also show this in {ref}`part:user_manual:chap:concepts:sec:16_spherical_models`, where we show how easy it is to switch between cartesian an spherical coordiante systems in our finished subdction example.
In the following sections we will continue using the Cartesian coordinate system. We will also show this in {ref}`part:user_manual:chap:concepts:sec:17_spherical_models`, where we show how easy it is to switch between cartesian an spherical coordiante systems in our finished subdction example.
````
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ There are some other options, which we will cover later. The file below shows th
:::::{tab-item} Important lines
:sync: Partial

```{literalinclude} ../../_static/gwb_input_files/BST_2_overriding_plate.wb
```{literalinclude} ../../_static/gwb_input_files/BST_04_overriding_plate.wb
:language: json
:lineno-start: 4
:lines: 4-12
```
::::{grid} 2
:::{grid-item-card} Download BST_2_overriding_plate.wb
:link: ../../_static/gwb_input_files/BST_2_overriding_plate.wb
:::{grid-item-card} Download BST_04_overriding_plate.wb
:link: ../../_static/gwb_input_files/BST_04_overriding_plate.wb
:::
:::{grid-item-card} Download BST_2_overriding_plate.grid
:link: ../../_static/gwb_input_files/BST_2_overriding_plate.grid
:::{grid-item-card} Download BST_04_overriding_plate.grid
:link: ../../_static/gwb_input_files/BST_04_overriding_plate.grid
:::
::::
:::::
Expand All @@ -39,17 +39,17 @@ There are some other options, which we will cover later. The file below shows th
:sync: Full


```{literalinclude} ../../_static/gwb_input_files/BST_2_overriding_plate.wb
```{literalinclude} ../../_static/gwb_input_files/BST_04_overriding_plate.wb
:language: json
:lineno-start: 1
```

::::{grid} 2
:::{grid-item-card} Download BST_2_overriding_plate.wb
:link: ../../_static/gwb_input_files/BST_2_overriding_plate.wb
:::{grid-item-card} Download BST_04_overriding_plate.wb
:link: ../../_static/gwb_input_files/BST_04_overriding_plate.wb
:::
:::{grid-item-card} Download BST_2_overriding_plate.grid
:link: ../../_static/gwb_input_files/BST_2_overriding_plate.grid
:::{grid-item-card} Download BST_04_overriding_plate.grid
:link: ../../_static/gwb_input_files/BST_04_overriding_plate.grid
:::
::::
:::::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ If we would have set the max depth of the composition to be larger than the feat
:::::{tab-item} Important lines
:sync: Partial

```{literalinclude} ../../_static/gwb_input_files/BST_3_limit_depth.wb
```{literalinclude} ../../_static/gwb_input_files/BST_05_limit_depth.wb
:language: json
:lineno-start: 5
:lines: 5-15
:emphasize-lines: 3,8
```
::::{grid} 2
:::{grid-item-card} Download BST_3_limit_depth.wb
:link: ../../_static/gwb_input_files/BST_3_limit_depth.wb
:::{grid-item-card} Download BST_05_limit_depth.wb
:link: ../../_static/gwb_input_files/BST_05_limit_depth.wb
:::
:::{grid-item-card} Download BST_3_limit_depth.grid
:link: ../../_static/gwb_input_files/BST_3_limit_depth.grid
:::{grid-item-card} Download BST_05_limit_depth.grid
:link: ../../_static/gwb_input_files/BST_05_limit_depth.grid
:::
::::
:::::
Expand All @@ -34,18 +34,18 @@ If we would have set the max depth of the composition to be larger than the feat
:sync: Full


```{literalinclude} ../../_static/gwb_input_files/BST_3_limit_depth.wb
```{literalinclude} ../../_static/gwb_input_files/BST_05_limit_depth.wb
:language: json
:lineno-start: 1
:emphasize-lines: 7,12
```

::::{grid} 2
:::{grid-item-card} Download BST_3_limit_depth.wb
:link: ../../_static/gwb_input_files/BST_3_limit_depth.wb
:::{grid-item-card} Download BST_05_limit_depth.wb
:link: ../../_static/gwb_input_files/BST_05_limit_depth.wb
:::
:::{grid-item-card} Download BST_3_limit_depth.grid
:link: ../../_static/gwb_input_files/BST_3_limit_depth.grid
:::{grid-item-card} Download BST_05_limit_depth.grid
:link: ../../_static/gwb_input_files/BST_05_limit_depth.grid
:::
::::
:::::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ If you are familair with the half space cooling model, you would also think some
:::::{tab-item} Important lines
:sync: Partial

```{literalinclude} ../../_static/gwb_input_files/BST_4_oceanic_plate_temperature.wb
```{literalinclude} ../../_static/gwb_input_files/BST_06_oceanic_plate_temperature.wb
:language: json
:lineno-start: 6
:lines: 6-14
:emphasize-lines: 6,7
```
::::{grid} 2
:::{grid-item-card} Download BST_4_oceanic_plate_temperature.wb
:link: ../../_static/gwb_input_files/BST_4_oceanic_plate_temperature.wb
:::{grid-item-card} Download BST_06_oceanic_plate_temperature.wb
:link: ../../_static/gwb_input_files/BST_06_oceanic_plate_temperature.wb
:::
:::{grid-item-card} Download BST_4_oceanic_plate_temperature.grid
:link: ../../_static/gwb_input_files/BST_4_oceanic_plate_temperature.grid
:::{grid-item-card} Download BST_06_oceanic_plate_temperature.grid
:link: ../../_static/gwb_input_files/BST_06_oceanic_plate_temperature.grid
:::
::::
:::::
Expand All @@ -36,18 +36,18 @@ If you are familair with the half space cooling model, you would also think some
:sync: Full


```{literalinclude} ../../_static/gwb_input_files/BST_4_oceanic_plate_temperature.wb
```{literalinclude} ../../_static/gwb_input_files/BST_06_oceanic_plate_temperature.wb
:language: json
:lineno-start: 1
:emphasize-lines: 11,12
```

::::{grid} 2
:::{grid-item-card} Download BST_4_oceanic_plate_temperature.wb
:link: ../../_static/gwb_input_files/BST_4_oceanic_plate_temperature.wb
:::{grid-item-card} Download BST_06_oceanic_plate_temperature.wb
:link: ../../_static/gwb_input_files/BST_06_oceanic_plate_temperature.wb
:::
:::{grid-item-card} Download BST_4_oceanic_plate_temperature.grid
:link: ../../_static/gwb_input_files/BST_4_oceanic_plate_temperature.grid
:::{grid-item-card} Download BST_06_oceanic_plate_temperature.grid
:link: ../../_static/gwb_input_files/BST_06_oceanic_plate_temperature.grid
:::
::::
:::::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ For the composition, we are going to do something a bit more special. A commen t
:::::{tab-item} Important lines
:sync: Partial

```{literalinclude} ../../_static/gwb_input_files/BST_5_subducting_plate_oceanic_part.wb
```{literalinclude} ../../_static/gwb_input_files/BST_07_subducting_plate_oceanic_part.wb
:language: json
:lineno-start: 18
:lines: 18-25
:emphasize-lines: 5,6,7
```
::::{grid} 2
:::{grid-item-card} Download BST_5_subducting_plate_oceanic_part.wb
:link: ../../_static/gwb_input_files/BST_5_subducting_plate_oceanic_part.wb
:::{grid-item-card} Download BST_07_subducting_plate_oceanic_part.wb
:link: ../../_static/gwb_input_files/BST_07_subducting_plate_oceanic_part.wb
:::
:::{grid-item-card} Download BST_5_subducting_plate_oceanic_part.grid
:link: ../../_static/gwb_input_files/BST_5_subducting_plate_oceanic_part.grid
:::{grid-item-card} Download BST_07_subducting_plate_oceanic_part.grid
:link: ../../_static/gwb_input_files/BST_07_subducting_plate_oceanic_part.grid
:::
::::
:::::
Expand All @@ -31,18 +31,18 @@ For the composition, we are going to do something a bit more special. A commen t
:sync: Full


```{literalinclude} ../../_static/gwb_input_files/BST_5_subducting_plate_oceanic_part.wb
```{literalinclude} ../../_static/gwb_input_files/BST_07_subducting_plate_oceanic_part.wb
:language: json
:lineno-start: 1
:emphasize-lines: 22,23,24
```

::::{grid} 2
:::{grid-item-card} Download BST_5_subducting_plate_oceanic_part.wb
:link: ../../_static/gwb_input_files/BST_5_subducting_plate_oceanic_part.wb
:::{grid-item-card} Download BST_07_subducting_plate_oceanic_part.wb
:link: ../../_static/gwb_input_files/BST_07_subducting_plate_oceanic_part.wb
:::
:::{grid-item-card} Download BST_5_subducting_plate_oceanic_part.grid
:link: ../../_static/gwb_input_files/BST_5_subducting_plate_oceanic_part.grid
:::{grid-item-card} Download BST_07_subducting_plate_oceanic_part.grid
:link: ../../_static/gwb_input_files/BST_07_subducting_plate_oceanic_part.grid
:::
::::
:::::
Expand Down
Loading

0 comments on commit 47e6ea7

Please sign in to comment.