Introduction
Introduction Statistics Contact Development Disclaimer Help
tchange pressure force to fit with Navier Stokes implementations - sphere - GPU…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit b23d3140ae0d08d7bb643b24fab9c4ac7f63bb86
parent f3f948c938ab96276133a7ef985abf23a03e1d0e
Author: Anders Damsgaard <[email protected]>
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(-)
---
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],
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.