Skip to content

Commit

Permalink
FEM: Fix problem with using old displacement value after recalculation
Browse files Browse the repository at this point in the history
Reported-by: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
  • Loading branch information
PrzemoF authored and yorikvanhavre committed Jun 9, 2015
1 parent beedcc0 commit 157399e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mod/Fem/ccxFrdReader.py
Expand Up @@ -35,7 +35,6 @@


displacement = []
mstress = []


# read a calculix result file and extract the nodes, displacement vectores and stress values.
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 157399e

Please sign in to comment.