textend neumann bc condition in pressure force - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 62db27fa140c1c6318255997a5d8cde1cda89f92
DIR parent 9f6c95e307ad4582ccf84cbc97d196afa55b63c3
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 13 Nov 2014 12:44:58 +0100
extend neumann bc condition in pressure force
Diffstat:
M src/darcy.cuh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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)
+ if (i_z >= wall0_iz - 1)
p_zp = p;
//p_zp = p_zn;