Skip to content

Commit f37c7fc

Browse files
authored
Merge pull request #6159 from gassmoeller/update_spiegelman_newton_benchmark
Update spiegelman newton benchmark
2 parents b592db7 + 0357203 commit f37c7fc

File tree

24 files changed

+525
-644
lines changed

24 files changed

+525
-644
lines changed
Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
# Newton Solver Benchmark Set - Spiegelman et at. (2016)
22

33
The files in [this directory](https://github.com/geodynamics/aspect/tree/main/benchmarks/newton_solver_benchmark_set/spiegelman_et_al_2016)
4-
can be used to recreate the Spiegelman et al. (2016) flow figures from
5-
{cite:t}`fraters:etal:2019`. Adjust both the `metabash.sh` and `bash.sh` files to
6-
reflect the parameter search you are interested in and run the metabash script.
7-
If you have run exactly the same runs as shown in the paper, you can use the
8-
`cp_P-minLT-res-it-vel_BV.sh` script to recreate the figures in that paper.
9-
This script requires that the drucker prager compositions plugin is installed.
10-
It should be possible to replicate the same behavior with the visco plastic
11-
plugin.
4+
can be used to recreate the figures from
5+
{cite:t}`fraters:etal:2019` reproducing the {cite:t}`spiegelman:etal:2016` benchmark.
6+
`input.prm` is the setup of one of the benchmark
7+
models and `run.sh` will execute a series of model runs. Before you can execute
8+
the benchmark you will have to compile the plugin `drucker_prager_compositions.cc` in
9+
the same directory, the process of compiling plugins is described in [](sec:benchmark-run).
10+
After you have executed `run.sh`, you can use the gnuplot plotting script
11+
`plot.gnuplot` to recreate Fig. 4 of {cite:t}`fraters:etal:2019`.
12+
13+
```{figure-md} fig:benchmark-newton-spiegelman-2016
14+
<img src="doc/figure_4.png" />
15+
16+
Convergence history of several models of the Spiegelman et al. benchmark: a reproduction of three of the nine pressure dependent Drucker–Prager cases with a resolution of 64 × 16 cells. Top: results for computations where linear systems are solved with a maximum relative tolerance of 0.9. Bottom: The same models solved with a tolerance of $10^{-8}$. The initial Picard iteration is always solved to a linear tolerance of $10^{-14}$. Left to right: different prescribed velocities of u0 = 2.5, 5, and 12.5 cm\yr, and different background reference viscosities of respectively $\eta_{ref}$ = $10^{23}$, $10^{24}$ and $10^{25}$ Pa s. Horizontal axis: number of the non-linear (outer) iteration; and vertical axis: non-linear residual. "DC Picard" refers to a defect correction Picard iteration, see the paper describing this solver.
17+
```
18+
19+
The nonlinear convergence behavior of ASPECT's different nonlinear solvers is shown in {numref}`fig:benchmark-newton-spiegelman-2016`.

benchmarks/newton_solver_benchmark_set/spiegelman_et_al_2016/auto_logs/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

benchmarks/newton_solver_benchmark_set/spiegelman_et_al_2016/bash.sh

Lines changed: 0 additions & 162 deletions
This file was deleted.

benchmarks/newton_solver_benchmark_set/spiegelman_et_al_2016/bash_autos/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)