tenable fluid flow - 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 970d040a2ab68317f919a98202a5f5b45e656d3f
(DIR) parent f35d404148faab71c849a58f546868cb7b540441
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 8 May 2014 11:05:10 +0200
enable fluid flow
Diffstat:
M src/navierstokes.cuh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/navierstokes.cuh b/src/navierstokes.cuh
t@@ -2002,7 +2002,7 @@ __global__ void findPredNSvelocities(
// Save the predicted velocity
__syncthreads();
- v_p = MAKE_FLOAT3(0.0, 0.0, 0.0);
+ //v_p = MAKE_FLOAT3(0.0, 0.0, 0.0);
dev_ns_v_p[cellidx] = v_p;
#ifdef CHECK_NS_FINITE
t@@ -2453,7 +2453,7 @@ __global__ void updateNSvelocityPressure(
// Find new velocity
//Float3 v = v_p - devC_dt/devC_params.rho_f*grad_epsilon;
Float3 v = v_p - ndem*devC_dt/(devC_params.rho_f*phi)*grad_epsilon;
- v = MAKE_FLOAT3(0.0, 0.0, 0.0);
+ //v = MAKE_FLOAT3(0.0, 0.0, 0.0);
// Print values for debugging
/* if (z == 0) {