FEM: frd reader, typo
This commit is contained in:
parent
ba38e06bd2
commit
b5bfc01a3f
|
@ -266,7 +266,7 @@ def readResult(frd_input):
|
||||||
mode_disp[elem] = FreeCAD.Vector(mode_disp_x, mode_disp_y, mode_disp_z)
|
mode_disp[elem] = FreeCAD.Vector(mode_disp_x, mode_disp_y, mode_disp_z)
|
||||||
if line[5:11] == "STRESS":
|
if line[5:11] == "STRESS":
|
||||||
mode_stress_found = True
|
mode_stress_found = True
|
||||||
# we found a displacement line in the frd file
|
# we found a stress line in the frd file
|
||||||
if mode_stress_found and (line[1:3] == "-1"):
|
if mode_stress_found and (line[1:3] == "-1"):
|
||||||
elem = int(line[4:13])
|
elem = int(line[4:13])
|
||||||
stress_1 = float(line[13:25])
|
stress_1 = float(line[13:25])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user