Introduction
Introduction Statistics Contact Development Disclaimer Help
tenable fluid flow - sphere - GPU-based 3D discrete element method algorithm wi…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 970d040a2ab68317f919a98202a5f5b45e656d3f
parent f35d404148faab71c849a58f546868cb7b540441
Author: Anders Damsgaard <[email protected]>
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(-)
---
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) {
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.