Introduction
Introduction Statistics Contact Development Disclaimer Help
tupdate pressure conservation test to new default pressure value - sphere - GPU…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 95eff1a099ad467a29b3c002e1db13a7a353d9fc
parent ae09532648edbaf00f952637a9af6acd7727bfd9
Author: Anders Damsgaard <[email protected]>
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(-)
---
diff --git a/tests/cfd_tests_neumann-c_v=0.1.py b/tests/cfd_tests_neumann-c_v=0…
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
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.