ChangeLumpedMass¶
Lumped Mass to be modified
The arguments are parsed as items of the list in the settings for
variable_index
andfile_list
. For those variables marked wherechange_variables = 'lumped_mass'
.The file should contain a time varying series with the following 10 columns:
Lumped mass
Lumped mass position in the material frame
B
(3 columns forxb
,yb
andzb
)Lumped mass inertia in the material frame
B
(6 columns forixx
,iyy
,izz
,ixy
,ixz
andiyz
.
Not all 10 columns are necessary in the input file, missing columns are ignored and left unchanged. There should be one row per time step. If there are not enough entries for the number of time steps in the simulation, the changed variable value remains unchanged after all rows have been processed.
- Parameters
var_index (int) – Index of lumped mass. NOT the lumped mass node.
file (str) – Path to file containing time history of the lumped mass.
Sets
self.target_value
by reading from the file.If the input does not have as many columns as needed (10), these get padded with the original value such that they are not changed at runtime.