Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix reference to gravity - sphere - GPU-based 3D discrete element method algor…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit a13e3e5b810c4acdf9d5941a73e587344fc6a0a0
parent 0aca99cb20d1d509490e3c02a50b71aee6742ddf
Author: Anders Damsgaard <[email protected]>
Date: Wed, 12 Nov 2014 11:48:50 +0100
fix reference to gravity
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -3173,7 +3173,7 @@ class sim:
'''
if self.cfd_solver[0] == 1:
self.findPermeabilities()
- self.K = self.k*self.rho_f*g/self.mu
+ self.K = self.k*self.rho_f*numpy.abs(self.g[2])/self.mu
else:
raise Exception('findPermeabilities() only relevant for the '
+ 'Darcy solver (cfd_solver = 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.