commit 7631c7da68bfda4e8924457ca4d7615cd2fe1862
parent 3d0ba716b503cdc4601ba45c9a48d22afe73d78e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 1 Jul 2019 08:21:10 +0200
Set diurnal example depth to 8 m, add additional memtest
Diffstat:
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -29,6 +29,11 @@ memtest: $(BIN)
valgrind --error-exitcode=1 --leak-check=full $(BIN) -h
valgrind --error-exitcode=1 --leak-check=full $(BIN)
valgrind --error-exitcode=1 --leak-check=full $(BIN) -F
+ valgrind --error-exitcode=1 --leak-check=full $(BIN) -F \
+ --fluid-pressure-top 50e3 \
+ --fluid-pressure-ampl 50e3 \
+ --fluid-pressure-freq $(echo "1/3600" | bc -l) \
+ --time-end 3600
clean:
$(RM) *.txt
diff --git a/examples/1d_fd_simple_shear_fluid.gp b/examples/1d_fd_simple_shear_fluid.gp
@@ -16,7 +16,7 @@ plot filename u 4:1 w l lw 2 lc "blue" t ""
set xlabel "Effective normal stress [Pa]"
set ylabel ""
-set xrange [0:200e3]
+set xrange [0:300e3]
plot filename u 3:1 w l lw 2 lc "black" t ""
# set xlabel "Friction, mu [-]"
diff --git a/examples/Makefile b/examples/Makefile
@@ -11,15 +11,15 @@ plots: 1d_fd_simple_shear.png \
diurnal.mp4: diurnal.output00000.txt.png
ffmpeg -i diurnal.output%05d.txt.png -y diurnal.mp4
-diurnal.output00000.txt.png: 1d_fd_simple_shear_fluid.gp diurnal.output00000.txt
+diurnal.output00000.txt.png: 1d_fd_simple_shear_fluid.gp diurnal.output00000.txt Makefile
/bin/sh -c '\
for f in diurnal.output*.txt; do \
gnuplot -e "filename=\"$$f\"; p_min=\"0\"; p_max=\"100e3\"" $< > $$f.png; \
done'
-diurnal.output00000.txt: $(BIN)
+diurnal.output00000.txt: $(BIN) Makefile
/bin/sh -c '\
- ./$< --resolution 50 --length 4.0 --normal-stress 150e3 \
+ ./$< --resolution 50 --length 8.0 --normal-stress 150e3 \
--fluid --fluid-permeability 2e-17 \
--fluid-pressure-top 50e3 --fluid-pressure-ampl 50e3 \
--fluid-pressure-freq $$( echo "1.0/(3600*24)" | bc -l ) \