hansen-zoet-exp

comparison of lab and model results of sediment advection
git clone git://src.adamsgaard.dk/hansen-zoet-exp # fast
git clone https://src.adamsgaard.dk/hansen-zoet-exp.git # slow
Log | Files | Refs | Submodules | LICENSE Back to index

commit 5b62ce8d4bfa316dda5b4ca885f0a690c56bfa60
parent b210220d36c61cfd30d851543cf5c02272c176a1
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 19 Apr 2022 16:04:38 +0200

fix mohr-coulomb plot

Diffstat:
Mfig-effective_stress/Makefile | 4++--
Mfig-effective_stress/fig-mohr_coulomb.gp | 4++--
Mfig-velocity/Makefile | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fig-effective_stress/Makefile b/fig-effective_stress/Makefile @@ -14,7 +14,7 @@ strain_distribution_N50kPa.txt: $(BIN) Makefile -r 1600 \ -s 6.342e-6 \ -o 0.0 \ - -L 0.12 \ + -L 0.11 \ -n $${P}e3 \ -A 0.48 \ -b 0.9377 \ @@ -25,7 +25,7 @@ mohr_coulomb.txt: strain_distribution_N50kPa.txt sh -c '\ rm -f $@; \ for P in 8 22 50; do \ - tail -n 1 strain_distribution_N$${P}kPa.txt | cut -f3- >> $@; \ + tail -n 1 strain_distribution_N$${P}kPa.txt >> $@; \ done' ../$(FIG)-strain_distribution.pdf: fig-strain_distribution.gp strain_distribution_N50kPa.txt diff --git a/fig-effective_stress/fig-mohr_coulomb.gp b/fig-effective_stress/fig-mohr_coulomb.gp @@ -16,8 +16,8 @@ set multiplot layout 2,1 #set xlabel "Effective normal stress, {/Symbol s}_n' [kPa]" set ylabel "Shear stress, {/Symbol t} [kPa]" -plot "mohr_coulomb.txt" u ($1/1e3):($2*$1/1e3) w lp title "" +plot "mohr_coulomb.txt" u ($3/1e3):($3*$5/1e3) w lp title "" set xlabel "Effective normal stress, {/Symbol s}_n' [kPa]" set ylabel "Shear friction, {/Symbol m} [-]" -plot "mohr_coulomb.txt" u ($1/1e3):2 w lp title "" +plot "mohr_coulomb.txt" u ($3/1e3):5 w lp title "" diff --git a/fig-velocity/Makefile b/fig-velocity/Makefile @@ -14,7 +14,7 @@ strain_distribution_vx3.17e-6ms.txt: $(BIN) Makefile -r 1600 \ -s $$vx \ -o 0.0 \ - -L 0.12 \ + -L 0.11 \ -n 22e3 \ -A 0.48 \ -b 0.9377 \