tinclude dynamic wall test - 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 800daf5d4a0409bae1d91db072ebca5483051083
(DIR) parent e0f260ff9f6013a354742bb5dc29b2f8ae828d73
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 5 Nov 2014 19:39:56 +0100
include dynamic wall test
Diffstat:
M tests/cfd_tests_darcy_particles.py | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/tests/cfd_tests_darcy_particles.py b/tests/cfd_tests_darcy_particles.py
t@@ -115,6 +115,28 @@ else:
#'''
+print("### Dynamic wall: Transient, gravity, Dirichlet+Neumann BCs")
+#orig = sphere.sim('diffusivity-relax', fluid=False)
+orig = sphere.sim('cube-init', fluid=False)
+orig.readlast(verbose=False)
+orig.num[2] /= 2
+orig.L[2] /= 2.0
+orig.id('darcy_fluidization')
+orig.cleanup()
+orig.initTemporal(total=0.005, file_dt=0.001)
+orig.initFluid(cfd_solver=1)
+orig.setFluidBottomNoFlow()
+orig.g[2] = -10.0
+#orig.k_c[0] = numpy.mean(orig.radius)**2/540.0
+orig.consolidate()
+
+orig.run(verbose=False)
+#orig.writeVTKall()
+py = sphere.sim(sid = orig.sid, fluid = True)
+py.readlast(verbose=False)
+test(orig.w_x[0] > py.w_x[0], 'Wall movement:\t')
+
+
print("### Fluidization test: Transient, gravity, Dirichlet+Dirichlet BCs")
#orig = sphere.sim('diffusivity-relax', fluid=False)
orig = sphere.sim('cube-init', fluid=False)