FEM: constraint body heat source, use for proxy type the same name sheme like other constraints
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user