Generate a gravity load pattern from the mass of the current domain#
- opstool.preprocessing.gen_grav_load(ts_tag, pattern_tag, exclude_nodes=None, direction='Z', factor=-9.81)[source]#
Applying the gravity loads.
Notes#
The mass values are from
nodeMass(nodeTag)
command, i.e., ones set inmass()
command.Parameters#
- ts_tag: int
The timeSeries tag you must assign.
- pattern_tag: int
The pattern tag you must assign.
- 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