tfix fluid pressure plotting - 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 654f96ea01e3d23cfde0c2319a1510073efb56d4
(DIR) parent ee7c56b74923e8cc81b820f7e4d1d81637dacf2a
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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]')