tPut Mohr-Coulomb analysis into separate figure, still needs tweaks - cngf-pf-exp1 - experiments for first paper with continuum granular model
 (HTM) git clone git://src.adamsgaard.dk/manus_continuum_granular1_exp
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1786c984cde1baa831b14aa781c59aa681d5dbf2
 (DIR) parent d3c58ac566fb197debb9ce36024fee87634d4135
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Mon, 18 Nov 2019 11:15:21 +0100
       
       Put Mohr-Coulomb analysis into separate figure, still needs tweaks
       
       Diffstat:
         A fig-mohr_coulomb/Makefile           |      60 +++++++++++++++++++++++++++++++
         A fig-mohr_coulomb/ceasar.dat         |       2 ++
         A fig-mohr_coulomb/cowden.dat         |       2 ++
         A fig-mohr_coulomb/des_moines_lobe.d… |       2 ++
         A fig-mohr_coulomb/fig.gp             |      31 +++++++++++++++++++++++++++++++
         A fig-mohr_coulomb/lower_cromer.dat   |       2 ++
         A fig-mohr_coulomb/mc_ceasar.dat      |       2 ++
         A fig-mohr_coulomb/mc_des_moines_lob… |       2 ++
         A fig-mohr_coulomb/mc_storglaciaren.… |       2 ++
         A fig-mohr_coulomb/mc_two_rivers.dat  |       2 ++
         A fig-mohr_coulomb/mc_wis.dat         |       2 ++
         A fig-mohr_coulomb/storglaciaren.dat  |       2 ++
         A fig-mohr_coulomb/two_rivers.dat     |       2 ++
         A fig-mohr_coulomb/wis.dat            |       2 ++
       
       14 files changed, 115 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/fig-mohr_coulomb/Makefile b/fig-mohr_coulomb/Makefile
       t@@ -0,0 +1,60 @@
       +BIN = ../1d_fd_simple_shear/1d_fd_simple_shear
       +FIG != basename $(PWD)
       +N_SEQ != seq 1 20 220
       +
       +default: ../$(FIG).pdf
       +
       +# mimic Iverson 2010 fig 2b
       +# Ceasar till (Rathbun et al., 2008)
       +mc_ceasar.txt: $(BIN) Makefile
       +        rm -f $@
       +        for N in $(N_SEQ); do \
       +                printf "$$N\t" >> $@; \
       +                ./$(BIN) -m 0.5634 -f 0.5634 -C 29.6e3 -P $$N -L 1.0 mc | \
       +                tail -n 1 | cut -f4 >> $@; \
       +        done
       +
       +# Storglaciaren till (Iverson et al., 1998)
       +mc_storglaciaren.txt: $(BIN) Makefile
       +        rm -f $@
       +        for N in $(N_SEQ); do \
       +                printf "$$N\t" >> $@; \
       +                ./$(BIN) -m 0.494 -f 0.494 -C 5.0e3 -P $$N -L 1.0 mc | \
       +                tail -n 1 | cut -f4 >> $@; \
       +        done
       +
       +# Two Rivers till (Iversonet al., 1998)
       +mc_two_rivers.txt: $(BIN) Makefile
       +        rm -f $@
       +        for N in $(N_SEQ); do \
       +                printf "$$N\t" >> $@; \
       +                ./$(BIN) -m 0.321 -f 0.321 -C 14e3 -P $$N -L 1.0 mc | \
       +                tail -n 1 | cut -f4 >> $@; \
       +        done
       +
       +# Des Moines Lobe till (Iverson et al., 2010)
       +mc_des_moines_lobe.txt: $(BIN) Makefile
       +        rm -f $@
       +        for N in $(N_SEQ); do \
       +                printf "$$N\t" >> $@; \
       +                ./$(BIN) -m 0.327 -f 0.327 -C 4.23e3 -P $$N -L 1.0 mc | \
       +                tail -n 1 | cut -f4 >> $@; \
       +        done
       +
       +# WIS till (Tulaczyk et al., 2001)
       +mc_wis.txt: $(BIN) Makefile
       +        rm -f $@
       +        for N in $(N_SEQ); do \
       +                printf "$$N\t" >> $@; \
       +                ./$(BIN) -m 0.443 -f 0.443 -C 3.0e3 -P $$N -L 1.0 mc | \
       +                tail -n 1 | cut -f4 >> $@; \
       +        done
       +
       +../$(FIG).pdf: fig.gp mc_ceasar.txt mc_storglaciaren.txt mc_two_rivers.txt mc_des_moines_lobe.txt mc_wis.txt *.dat
       +        gnuplot fig.gp > $@
       +
       +clean:
       +        rm -f *.txt
       +        rm -f ../$(FIG).pdf
       +
       +.PHONY: default clean
 (DIR) diff --git a/fig-mohr_coulomb/ceasar.dat b/fig-mohr_coulomb/ceasar.dat
       t@@ -0,0 +1,2 @@
       +3.0e3        0.54
       +9.0e5        0.58
 (DIR) diff --git a/fig-mohr_coulomb/cowden.dat b/fig-mohr_coulomb/cowden.dat
       t@@ -0,0 +1,2 @@
       +3.2e3        0.52
       +5.0e5        0.52
 (DIR) diff --git a/fig-mohr_coulomb/des_moines_lobe.dat b/fig-mohr_coulomb/des_moines_lobe.dat
       t@@ -0,0 +1,2 @@
       +9.0e2        0.505
       +4.0e4        0.45
 (DIR) diff --git a/fig-mohr_coulomb/fig.gp b/fig-mohr_coulomb/fig.gp
       t@@ -0,0 +1,31 @@
       +#!/usr/bin/env gnuplot
       +
       +reset
       +
       +## resemble Iverson 2010 fig2a
       +
       +set terminal pdfcairo size 7.5 cm, 7.5 cm
       +#set terminal pdfcairo size 15 cm, 10 cm enhanced
       +
       +unset xrange
       +unset yrange
       +unset logscale x
       +set xtics 50
       +set ytics 20
       +set ylabel "Shear stress {/Symbol t} [kPa]"
       +set xlabel "Effective normal stress {/Symbol s}_n' [kPa]"
       +set xrange [0:200]
       +set yrange [0:120]
       +
       +set key top left reverse Left font ",8" samplen 2.0
       +
       +plot "mc_ceasar.dat"          w l lt 3 lw 2 t "Ceasar till (Rathbun et al., 2008)", \
       +        "mc_ceasar.txt"          u ($1):($2*$1 - 6.5) w l lt 3 lw 2 t "Simulated Ceasar till", \
       +        "mc_storglaciaren.dat"   w l lt 4 lw 2 t "Storglaciaren till (Iverson et al., 1998)", \
       +        "mc_storglaciaren.txt"   u ($1):($2*$1 + 5) w l lt 4 lw 2 t "Simulated Storglaciaren till", \
       +        "mc_two_rivers.dat"      w l lt 5 lw 2 t "Two Rivers till (Iverson et al., 1998)", \
       +        "mc_two_rivers.txt"      u ($1):($2*$1 + 14) w l lt 5 lw 2 t "Simulated Two Rivers till", \
       +        "mc_des_moines_lobe.dat" w l lt 6 lw 2 t "Des Moines Lobe till (Iverson, 2010)", \
       +        "mc_des_moines_lobe.txt" u ($1):($2*$1 + 4.23) w l lt 6 lw 2 t "Simulated Des Moines Lobe till", \
       +        "mc_wis.dat"             w l lt 7 lw 2 t "WIS till (Tulaczyk et al., 2001)", \
       +        "mc_wis.txt"             u ($1):($2*$1 + 3) w l lt 7 lw 2 t "Simulated WIS till"
 (DIR) diff --git a/fig-mohr_coulomb/lower_cromer.dat b/fig-mohr_coulomb/lower_cromer.dat
       t@@ -0,0 +1,2 @@
       +5.0e1        0.60
       +7.0e4        0.56
 (DIR) diff --git a/fig-mohr_coulomb/mc_ceasar.dat b/fig-mohr_coulomb/mc_ceasar.dat
       t@@ -0,0 +1,2 @@
       +48        19
       +200        100
 (DIR) diff --git a/fig-mohr_coulomb/mc_des_moines_lobe.dat b/fig-mohr_coulomb/mc_des_moines_lobe.dat
       t@@ -0,0 +1,2 @@
       +10        7.5
       +140 50
 (DIR) diff --git a/fig-mohr_coulomb/mc_storglaciaren.dat b/fig-mohr_coulomb/mc_storglaciaren.dat
       t@@ -0,0 +1,2 @@
       +20        17
       +135        75
 (DIR) diff --git a/fig-mohr_coulomb/mc_two_rivers.dat b/fig-mohr_coulomb/mc_two_rivers.dat
       t@@ -0,0 +1,2 @@
       +30        24
       +140        60
 (DIR) diff --git a/fig-mohr_coulomb/mc_wis.dat b/fig-mohr_coulomb/mc_wis.dat
       t@@ -0,0 +1,2 @@
       +25        13
       +200        90
 (DIR) diff --git a/fig-mohr_coulomb/storglaciaren.dat b/fig-mohr_coulomb/storglaciaren.dat
       t@@ -0,0 +1,2 @@
       +5.3e2        0.57
       +2.3e4        0.52
 (DIR) diff --git a/fig-mohr_coulomb/two_rivers.dat b/fig-mohr_coulomb/two_rivers.dat
       t@@ -0,0 +1,2 @@
       +1.8e3        0.475
       +8.0e4        0.44
 (DIR) diff --git a/fig-mohr_coulomb/wis.dat b/fig-mohr_coulomb/wis.dat
       t@@ -0,0 +1,2 @@
       +1.0e1        0.504
       +1.0e5        0.495