tdo not plot by default - sphere - GPU-based 3D discrete element method algorit… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 97049dd1af030156aa81ba11d0c5f712cbe45347 | |
parent 5ec063d8ea7b6993541638317b29de63e0d83aed | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 12 Mar 2015 21:55:33 +0100 | |
do not plot by default | |
Diffstat: | |
M python/halfshear-darcy-combined.py | 3 ++- | |
M python/sphere.py | 2 +- | |
2 files changed, 3 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/python/halfshear-darcy-combined.py b/python/halfshear-darcy-combin… | |
t@@ -23,7 +23,8 @@ legend_alpha=0.5 | |
linewidth=0.5 | |
rasterized=True # rasterize colored areas (pcolormesh and colorbar) | |
-izfactor = 4 # factor for vertical discretization in xvel/poros | |
+#izfactor = 4 # factor for vertical discretization in xvel | |
+izfactor = 1 # factor for vertical discretization in poros | |
t_DEM_to_t_real = 5.787e-5 | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -5615,7 +5615,7 @@ class sim: | |
plt.clf() | |
plt.close(fig) | |
- def setTopWallNormalStressModulation(self, A, f, plot=True): | |
+ def setTopWallNormalStressModulation(self, A, f, plot=False): | |
''' | |
Set the parameters for the sine wave modulating the normal stress | |
at the top wall. Note that a cos-wave is obtained with phi=pi/2. |