Model.freebodysectiondisplacementtable#

Model.freebodysectiondisplacementtable(freebodysection_ids, subcase_ids, freenode, displacement=0, resolvein_sys=0, resultID=Entity(), rotation=0, tolerance=0.0001, userSysID=Entity())#

Creates an FBD displacement summary table. This queries the GPF, Applied, SPC and MPC data from the result entity on a freebodysection.

Parameters:
  • freebodysection_ids (EntityList) – A list containing the freebodysection entity objects.

  • subcase_ids (hwTripleIList) – The subcase details supplied as an array. Values are specified as <resultfile_id>_<subcase_id>_<step_id>, with each list separated by a comma.

  • freenode (int) – Currently must be set to 2. This is a mandatory argument.

  • displacement (unsigned int) –

    0 - Applied forces are not participating in the FBD calculation (default)

    1 - Applied forces are participating in the FBD calculation

  • resolvein_sys (unsigned int) –

    1 - Resolve in global system

    2 - Resolve in user system

    3 - Free body section system

  • resultID (Entity) – The object describing the result entity.

  • rotation (unsigned int) –

    0 - SPC forces are not participating in the FBD calculation (default)

    1 - SPC forces are participating in the FBD calculation

  • tolerance (double) – The tolerance to limit the values. (Default is 0.00001)

  • userSysID (Entity) – The object describing the system entity when resolvein_sys=2.

Example#

Create an FBD summary table#
import hm
import hm.entities as ent

model = hm.Model()

model.freebodysectiondisplacementtable(
      freebodysection_ids=[ent.Freebodysection(model, f) for f in range(1,4)],
      subcase_ids=[2_1_0, 2_2_0],
      freenode=2,
      displacement=1,
      resolvein_sys=1,
      resultID=ent.Result(model, 1),
      rotation=1,
      tolerance=0.0001,
      userSysID=ent.System(model, 1)
)