From 035d0e160d9e1343050d2f04e42e1fa7fa5d6305 Mon Sep 17 00:00:00 2001 From: albert-de-montserrat Date: Wed, 10 Jul 2024 10:29:40 +0200 Subject: [PATCH] update some docs --- docs/src/man/Blankenbach.md | 8 ++++++-- docs/src/man/ShearBands.md | 3 ++- docs/src/man/subduction2D/setup.md | 23 +++++++++-------------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/src/man/Blankenbach.md b/docs/src/man/Blankenbach.md index 10a7f763..ac685201 100644 --- a/docs/src/man/Blankenbach.md +++ b/docs/src/man/Blankenbach.md @@ -392,7 +392,11 @@ fig ### Final model Temperature field -![Temperature](../assets/Blankenbach_Temp.png) + + + And time history of the rms-velocity and Nusselt number -![time series](../assets/Blankenbach_Time_Series_V_Nu.png) + + + diff --git a/docs/src/man/ShearBands.md b/docs/src/man/ShearBands.md index c90591c6..697a0c19 100644 --- a/docs/src/man/ShearBands.md +++ b/docs/src/man/ShearBands.md @@ -231,4 +231,5 @@ fig ### Final model Shear Bands evolution in a 2D visco-elasto-plastic rheology model -![Shearbands](../assets/movies/DP_nx2058_2D.gif) + + diff --git a/docs/src/man/subduction2D/setup.md b/docs/src/man/subduction2D/setup.md index a88feba2..3606ded1 100644 --- a/docs/src/man/subduction2D/setup.md +++ b/docs/src/man/subduction2D/setup.md @@ -38,7 +38,8 @@ add_box!( T = HalfspaceCoolingTemp(Tsurface=20, Tmantle=Tbot, Age=80,Adiabat=0.4) ) ``` -![](../../assets/Subduction2D_setup_4.png) + + Next we add a horizontal 80 km thick oceanic lithosphere. Note that we leave a 100 km buffer zone next to the vertical boundaries of the domain, to facilitate the sliding of the oceanic plates. ```julia @@ -52,7 +53,7 @@ add_box!( T = HalfspaceCoolingTemp(Tsurface=20, Tmantle=Tbot, Age=80, Adiabat=0.4) ) ``` -![](../../assets/Subduction2D_setup_2.png) + As in the original paper, we add a 8km thick crust on top of the subducting oceanic plate. ```julia @@ -68,9 +69,9 @@ add_box!( T = HalfspaceCoolingTemp(Tsurface=20, Tmantle=Tbot, Age=80, Adiabat=0.4) ) ``` -![](../../assets/Subduction2D_setup_3.png) + -And finally we add the subducting slab, with the trench located at 1430km from the right-hand-side boundary. +And we add the subducting slab, with the trench located at 1430km from the right-hand-side boundary. ```julia add_box!( @@ -84,18 +85,12 @@ add_box!( T = HalfspaceCoolingTemp(Tsurface=20, Tmantle=Tbot, Age=80, Adiabat=0.4) ) ``` -![](../../assets/Subduction2D_setup_4.png) + +To finish, we set every cell above the surface to be sticky air, with a temperature of 20°C. ```julia surf = Grid2D.z.val .> 0.0 -@views Temp[surf] .= 20.0 @views Phases[surf] .= 3 +@views Temp[surf] .= 20.0 ``` -![](../../assets/Subduction2D_setup_5.png) - -```julia -li = (abs(last(x)-first(x)), abs(last(z)-first(z))) .* 1e3 # in meters -origin = (x[1], z[1]) .* 1e3 # lower-left corner of the domain -Phases = Phases[:,1,:] .+ 1 # +1 because Julia is 1-indexed -Temp = Temp[:,1,:].+273 # in Kelvin -``` +