commit a057cc5e34b28dab0ff5476f05a1613e37828bf0
parent f7f2c499c745401d7c209406a8f035c8451e5c7e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 16 Apr 2020 17:42:59 +0200
Set default file interval to same as end time
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/1d_fd_simple_shear.1 b/1d_fd_simple_shear.1
@@ -95,7 +95,7 @@ Only relevant with fluid dynamics enabled
Show usage information.
.It Fl I Ar file-interval
Simulation time interval between writing output to disk [s] (default
-0.1).
+1.0).
.It Fl i Ar fluid-viscosity
Fluid dynamic viscosity [Pa*s] (1.787e-3).
Only relevant with fluid dynamics enabled
diff --git a/simulation.c b/simulation.c
@@ -89,7 +89,7 @@ init_sim(struct simulation *sim)
sim->t = 0.0;
sim->dt = 2.0;
sim->t_end = 1.0;
- sim->file_dt = 0.1;
+ sim->file_dt = 1.0;
sim->n_file = 0;
/* fluid settings */