FEM: constraint body heat source, use for proxy type the same name sheme like other constraints

This commit is contained in:
Bernd Hahnebach
2018-01-09 07:30:02 +01:00
parent c34bbb007a
commit 0f4b4c9634
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ from . import FemConstraint
class Proxy(FemConstraint.Proxy):
Type = "Fem::FemConstraintBodyHeatSource"
Type = "Fem::ConstraintBodyHeatSource"
def __init__(self, obj):
super(Proxy, self).__init__(obj)

View File

@@ -262,7 +262,7 @@ class Writer(object):
self._handled(obj)
def _handleHeatBodyForces(self, bodies):
obj = self._getSingleMember("Fem::FemConstraintBodyHeatSource")
obj = self._getSingleMember("Fem::ConstraintBodyHeatSource")
if obj is not None:
for name in bodies:
heatSource = getFromUi(obj.HeatFlux, "W/kg", "L^2*T^-3")