FEM: elmer writer, fix density for self weight on edges

This commit is contained in:
Bernd Hahnebach
2017-12-01 19:44:00 +01:00
committed by wmayer
parent 8a1bf4bcbc
commit c03c7e770a

View File

@@ -434,6 +434,7 @@ class Writer(object):
densityQuantity = Units.Quantity(m["Density"])
dimension = "M/L^3"
if name.startswith("Edge"):
density = None # not tested, but it seams needed because denisty does not exist (IMHO, bernd)
density.Unit = Units.Unit(-2, 1)
dimension = "M/L^2"
density = convert(densityQuantity, dimension)