FEM: mechanical result object, add float lists for all stress and strain components
This commit is contained in:
committed by
Yorik van Havre
parent
1f1f9b70a4
commit
1bf147886c
@@ -62,6 +62,18 @@ class _FemResultMechanical():
|
||||
obj.addProperty("App::PropertyFloatList", "NetworkPressure", "NodeData", "List of network pressure values", True)
|
||||
obj.addProperty("App::PropertyFloatList", "UserDefined", "NodeData", "User Defined Results", True)
|
||||
obj.addProperty("App::PropertyFloatList", "Temperature", "NodeData", "Temperature field", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStressXX", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStressYY", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStressZZ", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStressXY", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStressXZ", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStressYZ", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStrainXX", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStrainYY", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStrainZZ", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStrainXY", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStrainXZ", "NodeData", "", True)
|
||||
obj.addProperty("App::PropertyFloatList", "NodeStrainYZ", "NodeData", "", True)
|
||||
|
||||
# initialize the Stats with the appropriate count of items (see fill_femresult_stats in femresult/resulttools.py)
|
||||
zero_list = 39 * [0]
|
||||
|
||||
Reference in New Issue
Block a user