Introduction
Introduction Statistics Contact Development Disclaimer Help
tnarrow porosity limits - sphere - GPU-based 3D discrete element method algorit…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 6613f7d7b2f2e3a9e149fadc5296e484f617496a
parent 0e565d2bceb4d9fb71259476096a0e3d5bf893fd
Author: Anders Damsgaard <[email protected]>
Date: Tue, 24 Mar 2015 10:23:53 +0100
narrow porosity limits
Diffstat:
M src/darcy.cuh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/darcy.cuh b/src/darcy.cuh
t@@ -520,8 +520,10 @@ __global__ void findDarcyPorositiesLinear(
// Make sure that the porosity is in the interval [0.0;1.0]
//phi = fmin(0.9, fmax(0.1, void_volume/(dx*dy*dz)));
- phi = fmin(1.0, fmax(0.01, 1.0 - solid_volume/(dx*dy*dz)));
- Float phi_new = fmin(1.0, fmax(0.01,
+ //phi = fmin(1.0, fmax(0.01, 1.0 - solid_volume/(dx*dy*dz)));
+ phi = fmin(0.9, fmax(0.1, 1.0 - solid_volume/(dx*dy*dz)));
+ //Float phi_new = fmin(1.0, fmax(0.01,
+ Float phi_new = fmin(0.9, fmax(0.1,
1.0 - solid_volume_new/(dx*dy*dz)));
Float dphi;
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.