*adjustmass

Adjust mass for a selection of components for LS-DYNA.

Syntax

*adjustmass entity_type mark_id target_mass target_cogx target_cogy target_cogz

Type

HyperMesh Tcl Modify

Description

Adjust mass for a selection of components for LS-DYNA.

Inputs

entity_type
Must be set to comps.
target_mass
The target mass.
target_cogx
The target COG x location.
target_cogy
The target COG y location.
target_cogz
The target COG z location.

Examples

To adjust mass for component 100 to 200 with COG at (1000,1000,1000):

*createmark comps 1 200
*adjustmass comps 1 200 1000 1000 1000

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2019