tshow pressure in Pascal - sphere - GPU-based 3D discrete element method algori… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 6f4771026b45855d06954c589b1b3db7f01c6922 | |
parent 9762c0643928b170c341418176a43ebee2ccd9bc | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 21 Jan 2015 12:40:27 +0100 | |
show pressure in Pascal | |
Diffstat: | |
M python/sphere.py | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -5237,8 +5237,8 @@ class sim: | |
self.w_sigma0_f[0] = f | |
if plot: | |
- self.plotSinFunction(self.w_sigma0[0], A/1000.0, f, phi=0.0, | |
- xlabel='$t$ [s]', ylabel='$\\sigma_0$ [kPa]') | |
+ self.plotSinFunction(self.w_sigma0[0], A, f, phi=0.0, | |
+ xlabel='$t$ [s]', ylabel='$\\sigma_0$ [Pa]') | |
def disableTopWallNormalStressModulation(self): | |
''' | |
t@@ -5271,8 +5271,8 @@ class sim: | |
self.p_mod_phi[0] = phi | |
if plot: | |
- self.plotSinFunction(self.p_f[0,0,-1], A/1000.0, f, phi=0.0, | |
- xlabel='$t$ [s]', ylabel='$p_f$ [kPa]') | |
+ self.plotSinFunction(self.p_f[0,0,-1], A, f, phi=0.0, | |
+ xlabel='$t$ [s]', ylabel='$p_f$ [Pa]') | |
def disableFluidPressureModulation(self): | |
''' |