tfix fluid pressure plotting - sphere - GPU-based 3D discrete element method al… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 654f96ea01e3d23cfde0c2319a1510073efb56d4 | |
parent ee7c56b74923e8cc81b820f7e4d1d81637dacf2a | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 15 Jan 2015 13:47:20 +0100 | |
fix fluid pressure plotting | |
Diffstat: | |
M python/sphere.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -5873,7 +5873,7 @@ class sim: | |
if self.fluid: | |
ax4 = ax3.twinx() | |
- ax4.plot(time, self.phi_bar/1000.0, 'r', label='Porosity') | |
+ ax4.plot(time, self.p_f_bar/1000.0, 'b', label='Pressure') | |
ax4.set_ylabel('Mean fluid pressure ' | |
+ '$\\bar{p_\\text{f}}$ [kPa]') | |