tdo not write vtk files and cleanup file IO aftwards - sphere - GPU-based 3D di… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit c63b6f2f405aa4905abcd8016a0db33c3da602e2 | |
parent 987aaa57483056729f7c2a2b170c2aea56b629fa | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 5 Nov 2014 15:29:03 +0100 | |
do not write vtk files and cleanup file IO aftwards | |
Diffstat: | |
M tests/cfd_tests_darcy_particles.py | 5 ++--- | |
1 file changed, 2 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/tests/cfd_tests_darcy_particles.py b/tests/cfd_tests_darcy_particl… | |
t@@ -145,7 +145,7 @@ for i in numpy.arange(fluid_pressure_gradient.size): | |
orig.p_f[:,:,-1] = base_p # low pressure at top | |
orig.run(verbose=False) | |
- orig.writeVTKall() | |
+ #orig.writeVTKall() | |
py = sphere.sim(sid = orig.sid, fluid = True) | |
py.readlast(verbose=False) | |
t@@ -161,5 +161,4 @@ for i in numpy.arange(fluid_pressure_gradient.size): | |
elif fluid_pressure_gradient[i] > 1.0: | |
test(numpy.mean(py.vel[:,2]) > z_vel_threshold, | |
'Fluidization (' + str(fluid_pressure_gradient[i]) + '):\t') | |
- | |
- | |
+ orig.cleanup() |