tchange pressure force to fit with Navier Stokes implementations - 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 b23d3140ae0d08d7bb643b24fab9c4ac7f63bb86
(DIR) parent f3f948c938ab96276133a7ef985abf23a03e1d0e
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 19 Nov 2014 13:54:54 +0100
change pressure force to fit with Navier Stokes implementations
Diffstat:
M src/darcy.cuh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/darcy.cuh b/src/darcy.cuh
t@@ -558,7 +558,9 @@ __global__ void findDarcyPressureForce(
// find pressure gradient force plus buoyancy force.
// buoyancy force = weight of displaced fluid
// f_b = -rho_f*V*g
- Float3 f_p = -1.0*grad_p*V/(1.0 - phi);
+ // Float3 f_p = -1.0*grad_p*V/(1.0 - phi);
+ // Float3 f_p = -1.0*grad_p*V/(1.0 - phi)
+ Float3 f_p = -1.0*grad_p*V
- rho_f*V*MAKE_FLOAT3(
devC_params.g[0],
devC_params.g[1],