treturn result - 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 34ab7bd1bad4128a30abe9fb1df555cab482dc8a
(DIR) parent 2f4bac35a58c5e192e3aafb331545f19badbb523
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 2 Feb 2015 15:02:23 +0100
return result
Diffstat:
M python/sphere.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -2886,6 +2886,7 @@ class sim:
if self.cfd_solver[0] == 1:
k = self.k_c * phi**3/(1.0 - phi**2)
self.K_c = k*self.rho_f*numpy.abs(self.g[2])/self.mu
+ return self.K_c
else:
raise Exception('This function only works for the Darcy solver')