trefine test - sphere - GPU-based 3D discrete element method algorithm with opt… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 8170eb9480b254ce94b2d0d2fefa461f386cf335 | |
parent dbd9e94926db5f0835a2aa67cb1b91a2b6200cd2 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 20 Mar 2015 11:32:48 +0100 | |
refine test | |
Diffstat: | |
M tests/fluid_particle_interaction_d… | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/tests/fluid_particle_interaction_darcy.py b/tests/fluid_particle_i… | |
t@@ -35,6 +35,8 @@ sim.cleanup() | |
# The particle should be sucked towards the low pressure | |
print('# Test 2: Test pressure gradient force from buoyancy') | |
+sim = sphere.sim('fluid_particle_interaction', fluid=True) | |
+sim.defineWorldBoundaries([1.0, 1.0, 1.0], dx = 0.1) | |
sim.initFluid(cfd_solver = 1) | |
sim.p_f[:,:,-1] = 0.0 | |
sim.addParticle([0.5, 0.5, 0.5], 0.01) |