trefine top fluid gradient bc - 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 694188f73c821ffd3d8d2374f833f864dba3a045
(DIR) parent f741757f812fcc95319986bf551a3c6e41604c6c
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 17 Nov 2014 11:14:48 +0100
refine top fluid gradient bc
Diffstat:
M src/darcy.cuh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/darcy.cuh b/src/darcy.cuh
t@@ -541,7 +541,7 @@ __global__ void findDarcyPressureForce(
Float p_zp = dev_darcy_p[d_idx(i_x,i_y,i_z+1)];
// Add Neumann BC at top wall
- /*if (i_z >= wall0_iz - 1)
+ if (i_z >= wall0_iz - 1)
p_zp = p;
//p_zp = p_zn;*/
t@@ -564,7 +564,7 @@ __global__ void findDarcyPressureForce(
//devC_params.g[2]);
// Add Neumann BC at top wall
- if (i_z >= wall0_iz - 1)
+ if (i_z >= wall0_iz)
f_p.z = 0.0;
/*printf("%d,%d,%d findPF:\n"