Model.alternatefejointcreate#

Model.alternatefejointcreate(type, node1, node2, system1, system2)#

Creates an FE joint element for use with the FE solution sequence. The elements can correspond to JOINT, MBPTCV, MBCVCV, MBPTDCV or MBPTDSF cards.

For type 42, system1 and system2 must be specified as None.

For type 43, require system1 to be specified and system2 may be specified as None. And FE joint type 44 requires both system1 and system2 should be specified.

Parameters:
  • type (int) –

    The type of FE joint element. Valid values are:

    42 - Ball. system1 and system2 must be specified as None.

    43 - Revolute. system1 is mandatory, but system2 may be specified as None.

    44 - Universal. system1 and system2 must be specified.

  • node1 (Entity) – The first FE joint node entity.

  • node2 (Entity) – The second FE joint node entity.

  • system1 (Entity) – The first FE joint system entity.

  • system2 (Entity) – The second FE joint system entity.

Example#

Create a ball FE joint connect nodes with IDs 10 and 25#
import hm
import hm.entities as ent

model = hm.Model()

model.alternatefejointcreate(
    type=42,
    node1=ent.Node(model, 10),
    node2=ent.Node(model, 25),
    system1=None,
    system2=None,
)