GeneralDisplacement

class compas_fea.structure.GeneralDisplacement(name, nodes, x=None, y=None, z=None, xx=None, yy=None, zz=None, axes='global')[source]

Bases: object

Initialises the base GeneralDisplacement object.

Parameters
  • name (str) – Name of the Displacement object.

  • nodes (str, list) – Node set string or nodes list the displacement is applied to.

  • x (float) – Value of x translation.

  • y (float) – Value of y translation.

  • z (float) – Value of z translation.

  • xx (float) – Value of xx rotation.

  • yy (float) – Value of yy rotation.

  • zz (float) – Value of zz rotation.

  • axes (str) – ‘local’ or ‘global’ co-ordinate axes.

Attributes
  • name (str) – Name of the Displacement object.

  • nodes (str) – Node set string or nodes list the displacement is applied to.

  • components (dict) – Values of x, y, z, xx, yy, zz degrees-of-freedom.

  • axes (str) – ‘local’ or ‘global’ coordinate axes.