| tupdate to default pressure value - sphere - GPU-based 3D discrete element meth… | |
| git clone git://src.adamsgaard.dk/sphere | |
| Log | |
| Files | |
| Refs | |
| LICENSE | |
| --- | |
| commit 6170fde01dfdd1e6f81d660373cb38844a5a3157 | |
| parent 95eff1a099ad467a29b3c002e1db13a7a353d9fc | |
| Author: Anders Damsgaard <[email protected]> | |
| 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(-) | |
| --- | |
| 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 |