Introduction
Introduction Statistics Contact Development Disclaimer Help
tplot pressure values in kPa - sphere - GPU-based 3D discrete element method al…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit e7a9c34c62d9607bce050b2cc298db02d4dadfca
parent baccdebb417b7ec876b2637f5ef5e1f4fe3e5ad0
Author: Anders Damsgaard <[email protected]>
Date: Tue, 20 Jan 2015 11:44:27 +0100
plot pressure values in kPa
Diffstat:
M python/sphere.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -5231,8 +5231,8 @@ class sim:
self.sigma0_mod_f[0] = f
if plot:
- self.plotSinFunction(self.w_sigma0[0], A, f, phi=0.0,
- xlabel='$t$ [s]', ylabel='$\\sigma_0$ [Pa]')
+ self.plotSinFunction(self.w_sigma0[0], A/1000.0, f, phi=0.0,
+ xlabel='$t$ [s]', ylabel='$\\sigma_0$ [kPa]')
def disableTopWallNormalStressModulation(self):
'''
t@@ -5265,8 +5265,8 @@ class sim:
self.p_mod_phi[0] = phi
if plot:
- self.plotSinFunction(self.p_f[0,0,-1], A, f, phi=0.0,
- xlabel='$t$ [s]', ylabel='$p_f$ [Pa]')
+ self.plotSinFunction(self.p_f[0,0,-1], A/1000.0, f, phi=0.0,
+ xlabel='$t$ [s]', ylabel='$p_f$ [kPa]')
def disableFluidPressureModulation(self):
'''
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.