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

commit d2352ce3b61f0effffb1ffff16888e00b66cb013
parent 5e6b491c007eaf73cc937101f242f9c19227c277
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 19 Aug 2019 18:38:31 +0200

Fix stress iteration bug during long fluid runs, bump version to 0.4.1

Diffstat:
Mexamples/1d_fd_simple_shear.png | 0
Mexamples/1d_fd_simple_shear_rheology.png | 0
Mexamples/1d_fd_simple_shear_rheology_kamb.png | 0
Mmain.c | 4++--
4 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/1d_fd_simple_shear.png b/examples/1d_fd_simple_shear.png Binary files differ. diff --git a/examples/1d_fd_simple_shear_rheology.png b/examples/1d_fd_simple_shear_rheology.png Binary files differ. diff --git a/examples/1d_fd_simple_shear_rheology_kamb.png b/examples/1d_fd_simple_shear_rheology_kamb.png Binary files differ. diff --git a/main.c b/main.c @@ -7,7 +7,7 @@ #include "simulation.h" #include "fluid.h" -#define VERSION "0.4.0" +#define VERSION "0.4.1" #define PROGNAME "1d_fd_simple_shear" #include "parameter_defaults.h" @@ -291,9 +291,9 @@ main(int argc, char* argv[]) filetimeclock = 0.0; iter = 0; - stressiter = 0; while (sim.t <= sim.t_end) { + stressiter = 0; do { if (sim.fluid) { if (darcy_solver_1d(&sim, 10000, 1e-5))