tupdate pressure conservation test to new default pressure value - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 95eff1a099ad467a29b3c002e1db13a7a353d9fc
DIR parent ae09532648edbaf00f952637a9af6acd7727bfd9
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 10 Nov 2014 12:56:49 +0100
update pressure conservation test to new default pressure value
Diffstat:
M tests/cfd_tests_neumann-c_v=0.1.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/tests/cfd_tests_neumann-c_v=0.1.py b/tests/cfd_tests_neumann-c_v=0.1.py
t@@ -26,9 +26,9 @@ orig.run(verbose=False)
#orig.run(device=2)
#orig.writeVTKall()
py.readlast(verbose = False)
-ones = numpy.ones((orig.num))
+zeros = numpy.zeros((orig.num))
py.readlast(verbose = False)
-compareNumpyArraysClose(ones, py.p_f, "Conservation of pressure:",
+compareNumpyArraysClose(zeros, py.p_f, "Conservation of pressure:",
tolerance = 1.0e-5)
# Fluid flow along z should be very small