1d_fd_simple_shear

continuum model for granular flows with pore-pressure dynamics
git clone git://src.adamsgaard.dk/1d_fd_simple_shear
Log | Files | Refs | README | LICENSE Back to index

commit 5285ce751ed21099b871ba7fe65359dfc920e18c
parent 9c4d6a1eb6a3d2ea7f4e406001b57c141ee0a792
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 16 Apr 2020 15:57:14 +0200

Add test and test results for shear_flux(1)

Diffstat:
Mtest/Makefile | 18+++++++++++++++++-
Atest/shear_flux_dry.std | 1+
Atest/shear_flux_wet.std | 1+
3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/test/Makefile b/test/Makefile @@ -1,5 +1,6 @@ BIN = ../1d_fd_simple_shear BIN2 = ../max_depth_simple_shear +BIN3 = ../shear_flux TESTS = simple_shear_dry \ simple_shear_dry_norm \ @@ -8,7 +9,9 @@ TESTS = simple_shear_dry \ simple_shear_wet_norm \ simple_shear_wet_vari \ simple_shear_wet_vari_pulse \ - max_depth_misc + max_depth_misc\ + shear_flux_dry \ + shear_flux_wet STANDARDS := $(TESTS:=.std) @@ -60,6 +63,13 @@ simple_shear_wet_vari_pulse: $(BIN) max_depth_misc: $(BIN2) $(MAX_DEPTH_MISC) | diff $@.std - +shear_flux_dry: $(BIN) $(BIN3) + ./$(BIN) $(SIMPLE_SHEAR_DRY_OPTS) | ./$(BIN3) | diff $@.std - + +shear_flux_wet: $(BIN) + ./$(BIN) $(SIMPLE_SHEAR_WET_OPTS) | ./$(BIN3) | diff $@.std - + + simple_shear_dry.std: $(BIN) ./$(BIN) $(SIMPLE_SHEAR_DRY_OPTS) > $@ @@ -84,6 +94,12 @@ simple_shear_wet_vari_pulse.std: $(BIN) max_depth_misc.std: $(BIN2) $(MAX_DEPTH_MISC) > $@ +shear_flux_dry.std: $(BIN) $(BIN3) + ./$(BIN) $(SIMPLE_SHEAR_DRY_OPTS) | ./$(BIN3) > $@ + +shear_flux_wet.std: $(BIN) $(BIN3) + ./$(BIN) $(SIMPLE_SHEAR_WET_OPTS) | ./$(BIN3) > $@ + $(BIN): make -C .. diff --git a/test/shear_flux_dry.std b/test/shear_flux_dry.std @@ -0,0 +1 @@ +0.00018442803707178861 diff --git a/test/shear_flux_wet.std b/test/shear_flux_wet.std @@ -0,0 +1 @@ +0.00022851766213508187