3.1.14. mass Command
This command assigns lumped mass values to an existing node. The number of mass values must match the number of degrees of freedom at the node.
- mass $nodeTag $m1 $m2 ...
Argument |
Type |
Description |
|---|---|---|
$nodeTag |
integer |
tag of the node whose mass is being set |
$m1 $m2 … |
list float |
nodal mass values for each DOF (diagonal lumped mass matrix) |
Note
Mass can also be assigned when a node is created using the node Command command with the -mass option.
Example
The following example assigns mass in the x and z directions at node 2 for a 6-DOF model.
Tcl Code
mass 2 2.5 0.0 2.5 0.0 0.0 0.0
Python Code
ops.mass(2, 2.5, 0.0, 2.5, 0.0, 0.0, 0.0)
Code Developed by: fmk