FEM: Fix problem with using old displacement value after recalculation

Reported-by: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
Przemo Firszt 2015-06-04 10:49:53 +01:00 committed by Yorik van Havre
parent beedcc06fe
commit 157399e395

View File

@ -35,7 +35,6 @@ if open.__module__ == '__builtin__':
displacement = []
mstress = []
# read a calculix result file and extract the nodes, displacement vectores and stress values.
@ -122,6 +121,9 @@ def readResult(frd_input):
def importFrd(filename, Analysis=None):
mstress = []
global displacement
displacement = []
m = readResult(filename)
MeshObject = None
if(len(m) > 0):