tdecreased convergence log interval, tests pass - sphere - GPU-based 3D discret… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 506ccdfb87b676b212cc94b1cba4954aa76a6d73 | |
parent 9fa34395118eb44b59dd12214e4ddb5ae4935a14 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 23 May 2014 13:46:30 +0200 | |
decreased convergence log interval, tests pass | |
Diffstat: | |
M src/debug.h | 4 ++-- | |
M tests/cfd_tests.py | 4 ++-- | |
2 files changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/src/debug.h b/src/debug.h | |
t@@ -30,8 +30,8 @@ const int write_res_log = 0; | |
const int write_conv_log = 1; | |
// The interval between iteration number reporting in 'output/<sid>-conv.log' | |
-const int conv_log_interval = 10; | |
-//const int conv_log_interval = 1; | |
+//const int conv_log_interval = 10; | |
+const int conv_log_interval = 4; | |
// Enable drag force and particle fluid coupling | |
#define CFD_DEM_COUPLING | |
diff --git a/tests/cfd_tests.py b/tests/cfd_tests.py | |
t@@ -22,8 +22,8 @@ orig.initTemporal(total = 0.2, file_dt = 0.01) | |
orig.time_file_dt = orig.time_dt*0.99 | |
orig.time_total = orig.time_dt*10 | |
#orig.run(dry=True) | |
-#orig.run(verbose=False) | |
-orig.run(verbose=True) | |
+orig.run(verbose=False) | |
+#orig.run(verbose=True) | |
py = sphere.sim(sid = orig.sid, fluid = True) | |
ones = numpy.ones((orig.num)) |