Introduction
Introduction Statistics Contact Development Disclaimer Help
treturn as scalar - sphere - GPU-based 3D discrete element method algorithm wit…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit fb19e2f8cd6c9b146d4a04d34d756b985028ae1a
parent 34ab7bd1bad4128a30abe9fb1df555cab482dc8a
Author: Anders Damsgaard <[email protected]>
Date: Mon, 2 Feb 2015 15:02:40 +0100
return as scalar
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -2886,7 +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
+ return self.K_c[0]
else:
raise Exception('This function only works for the Darcy solver')
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.