Model.rbe3#
- Model.rbe3(collection, independent_dofs, independent_weights, dependent_node, dof, weight)#
Creates an RBE3 element.
- Parameters:
collection (Collection) – The collection containing the independent nodes.
independent_dofs (hwIntList) – The list of the integers containing the degrees of freedom for which each respective independent node of the element is active (any of the digits 1-6).
independent_weights (hwDoubleList) – The list of the doubles containing the weight for each respective independent node.
dependent_node (Entity) – The dependent node of the element. If set to
None, the dependent node will be auto-created at the centroid of the independent nodes.dof (hwBoolList) – The list of Boolean values representing the degrees of freedom for which the dependent node of the element is active.
weight (double) – The weight assigned to the dependent node.
Example#
Create an RBE3 element with dependent node ID 100 and independent nodes ID 101 , 102 , and 103 with all of the nodes have all six degrees of freedom and a weight of 1.23#import hm import hm.entities as ent model = hm.Model() # Creating collection containing node with ID 101, 102, 103 input_collection = hm.Collection(model, ent.Node, [101, 102, 103]) model.rbe3( collection=input_collection, independent_dofs=[123456, 123456, 123456], independent_weights=[1.23, 1.23, 1.23], dependent_node=ent.Node(model,100), dof=[True,True,True,True,True,True], weight=1.23 )