From 68d478aa6e50dd85aac2691205720acf5895d19b Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 5 Feb 2023 03:16:36 +0100 Subject: [PATCH] [FEM] [skip ci] Elmer write: some cleanup - fix also a typo --- src/Mod/Fem/femsolver/elmer/writer.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Mod/Fem/femsolver/elmer/writer.py b/src/Mod/Fem/femsolver/elmer/writer.py index 7328c4d1e5..66c68b26a6 100644 --- a/src/Mod/Fem/femsolver/elmer/writer.py +++ b/src/Mod/Fem/femsolver/elmer/writer.py @@ -852,8 +852,6 @@ class Writer(object): if activeIn: self._handleElectrostaticConstants() self._handleElectrostaticBndConditions() - # self._handleElectrostaticInitial(activeIn) - # self._handleElectrostaticBodyForces(activeIn) self._handleElectrostaticMaterial(activeIn) def _getElectrostaticSolver(self, equation): @@ -1040,8 +1038,6 @@ class Writer(object): self._handleFlowBndConditions() self._handleFlowInitialPressure(activeIn) self._handleFlowInitialVelocity(activeIn) - # self._handleFlowInitial(activeIn) - # self._handleFlowBodyForces(activeIn) self._handleFlowMaterial(activeIn) def _getFlowSolver(self, equation): @@ -1188,7 +1184,7 @@ class Writer(object): self._outputInitialPressure(obj, name) self._handled(obj) else: - # if there is only one initial velocity without a reference + # if there is only one initial pressure without a reference # add it to all fluid bodies if len(initialPressures) == 1: for name in bodies: