tUpdated shear stress output to text file - 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 72b4bef96258d2eb7b79c02988aa05089dc1baad
(DIR) parent f735d49d278c46b9178083db114283499c178170
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Wed, 26 Sep 2012 11:10:07 +0200
Updated shear stress output to text file
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@@ -1064,6 +1064,7 @@ def visualize(project, method = 'energy', savefig = False, outformat = 'png'):
# Write values to textfile
else:
filename = "shear-stresses-{0}.txt".format(project)
+ #print("Writing stress data to " + filename)
fh = None
try:
fh = open(filename, "w")