tupdate to default pressure value - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 6170fde01dfdd1e6f81d660373cb38844a5a3157
(DIR) parent 95eff1a099ad467a29b3c002e1db13a7a353d9fc
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 10 Nov 2014 13:25:30 +0100
update to default pressure value
Diffstat:
M tests/cfd_tests_neumann_darcy.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/tests/cfd_tests_neumann_darcy.py b/tests/cfd_tests_neumann_darcy.py
t@@ -23,9 +23,9 @@ orig.bc_bot[0] = 1 # No-flow BC at bottom (Neumann)
orig.run(verbose=False)
#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