[FEM] Elmer: scale EigenMode results

- for an not yet known reason the result from Elmer are only for eigen analyses a factor 1000 (we send the mesh scaled to Elmer and it seems the eigen solver does not notice this)
Therefore scale these results
This commit is contained in:
Uwe
2022-08-08 12:33:57 +02:00
parent 7a0971a396
commit 6f589f04b4

View File

@@ -256,6 +256,10 @@ class Results(run.Results):
# this might be changed in future, therefore leave this
# self.solver.ElmerResult.scale(1000)
# for eigen analyses the resulting values are by a factor 1000 to high
# therefore scale all *EigenMode results
self.solver.ElmerResult.ViewObject.transformField("displacement EigenMode1", 0.001)
self.solver.ElmerResult.recomputeChildren()
self.solver.Document.recompute()
# recompute() updated the result mesh data