Model.linearsolidsbynodelist#

Model.linearsolidsbynodelist(collection1, collection2, align1, align2, align3, align4, align5, align6, nodelist)#

Creates solid elements between two groups of plane elements, with the layers identified by nodes in a node list.

Parameters:
  • collection1 (Collection) – The collection containing the element entities of the first group of plate elements.

  • collection2 (Collection) – The collection containing the element entities of the second group of plate elements.

  • align1 (Entity) – The node entity to be used as an alignment node for the first group of elements.

  • align2 (Entity) – The node second to be used as an alignment node for the first group of elements.

  • align3 (Entity) – The node entity to be used as an alignment node for the first group of elements.

  • align4 (Entity) – The node entity to be used as an alignment node for the second group of elements.

  • align5 (Entity) – The node entity to be used as an alignment node for the second group of elements.

  • align6 (Entity) – The node entity to be used as an alignment node for the second group of elements.

  • nodelist (EntityList) – The list with the node entities to be used to specify the locations of the layers.

Example#

Create 8 layers of solids between plate elements with IDs 10 , 11 , 12 , 13 and 20 , 21 , 22 , 23 use , as alignment nodes , nodes with IDs 5 and 13 , and as layer - specify nodes with IDs 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13#
import hm
import hm.entities as ent

model = hm.Model()

model.linearsolidsbynodelist(
    collection1=hm.Collection(model, ent.Element, [10, 11, 12, 13]),
    collection2=hm.Collection(model, ent.Element, [20, 21, 22, 23]),
    align1=ent.Node(model, 5),
    align2=None,
    align3=None,
    align4=ent.Node(model, 13),
    align5=None,
    align6=None,
    nodelist=[
            ent.Node(model, 5),
            ent.Node(model, 6),
            ent.Node(model, 7),
            ent.Node(model, 8),
            ent.Node(model, 9),
            ent.Node(model, 10),
            ent.Node(model, 11),
            ent.Node(model, 12),
            ent.Node(model, 13),
    ],
)

Note

The nodelist nodes should begin with one belonging to an element on the collection1 and end with a corresponding one belonging to an element on the collection2