From a55b0c54c678aec8f01d986a1e0e1225060467db Mon Sep 17 00:00:00 2001 From: Haiming Zhang Date: Sat, 25 Apr 2015 16:22:32 +0000 Subject: [PATCH] change the unit of stress --- processing/misc/yieldSurface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/processing/misc/yieldSurface.py b/processing/misc/yieldSurface.py index 6702af3d9..a5a7e9609 100755 --- a/processing/misc/yieldSurface.py +++ b/processing/misc/yieldSurface.py @@ -1374,7 +1374,8 @@ for i in xrange(numParas): if options.vegter is True: options.dimension = 2 -unitGPa = 10.e5 +if options.criterion == 'hill1948': stressUnit = 1.0e9 +else : stressUnit = 1.0e6 N_simulations=0 s=threading.Semaphore(1) myLoad = Loadcase(options.load[0],options.load[1],options.load[2],