[FEM] Elmer: revert wrong change from #8336

- I mixed the normal stress solver with the elastic stress solver. For the normal stress solver plane stress is possible in all coordinate systems
This commit is contained in:
Uwe
2023-02-03 18:38:14 +01:00
parent 28c8addf5a
commit 1a51e03b2f

View File

@@ -417,9 +417,7 @@ class Writer(object):
for body in activeIn:
if not self._isBodyMaterialFluid(body):
self._addSolver(body, solverSection)
# "Plane Stress" is only possible for 2D
if self.solver.CoordinateSystem == "Cartesian 2D":
self._handleElasticityEquation(activeIn, equation)
self._handleElasticityEquation(activeIn, equation)
if activeIn:
self._handleElasticityConstants()
self._handleElasticityBndConditions()