GravityLoad

class compas_fea.structure.GravityLoad(name, elements, g=- 9.81, x=0.0, y=0.0, z=1.0)[source]

Bases: compas_fea.structure.load.Load

Gravity load [units:N/m3] applied to element(s).

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

  • elements (str, list) – Element set or element keys the load is applied to.

  • g (float) – Value of gravitational acceleration.

  • x (float) – Factor to apply to x direction.

  • y (float) – Factor to apply to y direction.

  • z (float) – Factor to apply to z direction.