tFix stress iteration bug during long fluid runs, bump version to 0.4.1 - cngf-… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d2352ce3b61f0effffb1ffff16888e00b66cb013 | |
parent 5e6b491c007eaf73cc937101f242f9c19227c277 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 19 Aug 2019 18:38:31 +0200 | |
Fix stress iteration bug during long fluid runs, bump version to 0.4.1 | |
Diffstat: | |
M examples/1d_fd_simple_shear.png | 0 | |
M examples/1d_fd_simple_shear_rheolo… | 0 | |
M examples/1d_fd_simple_shear_rheolo… | 0 | |
M main.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_s… | |
Binary files differ. | |
diff --git a/examples/1d_fd_simple_shear_rheology_kamb.png b/examples/1d_fd_sim… | |
Binary files differ. | |
diff --git a/main.c b/main.c | |
t@@ -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" | |
t@@ -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)) |