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:
parent
beedcc06fe
commit
157399e395
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user