gen_grav_load

opstool.pre.gen_grav_load(exclude_nodes=None, direction='Z', factor=-9.81)

Applying the gravity loads.

Note

The mass values are from nodeMass(nodeTag) command, i.e., ones set in mass() command.

Parameters

exclude_nodes: list, default=None

Excluded node tags, whose masses will not be used to generate gravity loads.

direction: str, default=”Z”

The gravity load direction.

factor: float, default=-9.81

The factor applied to the mass values, it should be the multiplication of gravitational acceleration and directional indicators, e.g., -9.81, where 9.81 is the gravitational acceleration and -1 indicates along the negative Z axis. Of course, it can be multiplied by an additional factor to account for additional constant loads, e.g., 1.05 * (-9.81).

Returns

None