tcalculate shear flux in stress experiment - hansen-zoet-exp - comparison of lab and model results of sediment advection
git clone git://src.adamsgaard.dk/hansen-zoet-exp
Log
Files
Refs
Submodules
LICENSE
---
commit 536cfd192928594caed1ad60aa730144ff605a45
parent 0905c8fcf51e962d4dcac3e911d7b708fd690510
Author: Anders Damsgaard 
Date:   Tue, 19 Apr 2022 17:10:21 +0200

calculate shear flux in stress experiment

Diffstat:
  M fig-effective_stress/Makefile       |       7 +++++++

1 file changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/fig-effective_stress/Makefile b/fig-effective_stress/Makefile
t@@ -25,6 +25,13 @@ mohr_coulomb.txt: strain_distribution_N50kPa.txt
                 tail -n 1 strain_distribution_N$${P}kPa.txt >> $@; \
         done'
 
+sediment_flux.txt: strain_distribution_N50kPa.txt
+        sh -c '\
+        rm -f $@; \
+        for P in 8 22 50; do \
+                (printf "%ge3\t" $$P; shear_flux < strain_distribution_N$${P}kPa.txt) >> $@; \
+        done'
+
 ../$(FIG)-strain_distribution.pdf: fig-strain_distribution.gp strain_distribution_N50kPa.txt
         gnuplot fig-strain_distribution.gp > $@