Model.realizeentity_memberpanels#

Model.realizeentity_memberpanels(memberpanel, elemtype, elemsize, reference_collection=Collection(), connectpanel=False, k1=0.0, k2=0.0, k3=0.0, k4=0.0, k5=0.0, k6=0.0, reusemeshcontrols=False)#

Realizes a member panel into solver data.

Parameters:
  • memberpanel (Entity) – The object describing the member panel entity.

  • elemtype (int) –

    The type of 2D elements to be created. Valid values are:

    0 - Trias elements

    1 - Quads elements

    2 - Mixed elements

    3 - R-Trias elements

    4 - Quads only

  • elemsize (double) – The size of the 1D elements to be created.

  • reference_collection (Collection) – The collection containing the realized entities defining the boundaries to create the panel. Valid entities are elements and components.

  • connectpanel (bool) – The flag to know if realized panel should be connected to members and memberjoints legs using CBUSH elements.

  • k1 (double) – Nominal stiffness value in direction 1 for CBUSH.

  • k2 (double) – Nominal stiffness value in direction 2 for CBUSH.

  • k3 (double) – Nominal stiffness value in direction 3 for CBUSH.

  • k4 (double) – Nominal stiffness value in direction 4 for CBUSH.

  • k5 (double) – Nominal stiffness value in direction 5 for CBUSH.

  • k6 (double) – Nominal stiffness value in direction 6 for CBUSH.

  • reusemeshcontrols (bool) – The flag to know if the mesh controls of the existing panel should be reused or if provided element type and element size should be used instead. Valid values are True and False. If set to True, the meshing inputs will be fetched from existing mesh control stored within the solver representation that is assigned to the memberpanel.

Example#

Realize a member panel from members components#
import hm
import hm.entities as ent

model = hm.Model()

model.realizeentity_memberpanels(
    memberpanel=ent.Memberpanel(model, 1),
    reference_collection=hm.Collection(model, ent.Component, [2, 3, 4, 5]),
    connectpanel=False,
    elemtype=2,
    elemsize=40.0,
)