*modelMOI()

Computes the inertia tensor for the global model and store the results into a table.

Syntax

*modelMOI (table)

Type

HyperMesh Template Command

Description

Computes the inertia tensor for the global model and store the results into a table. This is valid only for LS-DYNA.

The different values are stored in this order in the table:
  • totalIXX
  • totalIYY
  • totalIZZ
  • totalIXY
  • totalIXZ
  • totalIYZ

This command must be called in the *before() section.

Inputs

table
A value between 1 and 20 indicating which of the 20 possible tables should be manipulated.

Example

To calculate the MOI values and store them in table 11:

*components("", "")
*before()
*tablenreset(11)
*modelMOI(11)
*format()
...
*after()
*string("Moment of Inertia for Model (Using Center of Gravity As Center):")
*end()
*string("                                                               --                                      --")
*end()
*string("                                                              |  ")
*fieldright(real, [@nlookup(11,1)], 12)
*string(" ")
*fieldright(real, [@nlookup(11,4)], 12)
*string(" ")
*fieldright(real, [@nlookup(11,5)], 12)
*string("  |")
*end()
*string("                                                              |  ")
*fieldright(real, [@nlookup(11,4)], 12)
*string(" ")
*fieldright(real, [@nlookup(11,2)], 12)
*string(" ")
*fieldright(real, [@nlookup(11,6)], 12)
*string("  |")
*end()
*string("                                                              |  ")
*fieldright(real, [@nlookup(11,5)], 12)
*string(" ")
*fieldright(real, [@nlookup(11,6)], 12)
*string(" ")
*fieldright(real, [@nlookup(11,3)], 12)
*string("  |")
*end()
*string("                                                               --                                      --")
*end()

Version History

14.0.110