By default, the program calculates the inertia properties of each rigid body. However, you may find it useful to assign a specific center of gravity, mass, initial velocity (in a local or global system of coordinates) and a specific inertia tensor to a rigid body instead of relying on the values calculated from the finite element model during the solution. You can use the command EDIPART to assign any of these characteristics to the rigid body. The command format is
EDIPART,PART,Option,Cvect,TM,IRCS,Ivect,Vvect,CID |
where:
PART is the part ID for which the inertia is
defined; |
Option is the option to be performed (ADD,
DELETE, or LIST); |
Cvect is a vector containing coordinates of the
center of the mass of the part; |
TM is the translational mass; |
IRCS is a flag for the inertia tensor reference
coordinate system; |
Ivect is a vector containing the components of
the inertia tensor; |
Vvect is a vector containing the initial velocity
of the rigid body; |
CID is a local coordinate system ID. |
If you are working in the ANSYS LS-DYNA GUI, you can input all of the above parameters, including the required array parameters, by picking . For batch input, you must dimension (*DIM) and fill the array parameters prior to issuing the EDIPART command. The example input below demonstrates how to define inertia properties for part number 2, which is a rigid body.
! Define parameter input tm = 0.6300E-03 ! Translation mass ircs = 0 ! Coordinate system flag cid = 0 ! Coordinate system ID ! /prep7 ! ! Create a model that includes multiple parts ! with part number 2 being a rigid body . . . edmp,rigid, . . . ! Define rigid body (by MAT number) edpart,create ! Create part list ! !Dimension required arrays *dim,coord2,,3 *dim,velo2,,6 *dim,inert2,,6 ! ! Fill arrays coord2(1) = 0.2450E+01, 0.5000E+00, 0.5000E+00 velo2(1) = 0, 10.0E-7, 0 inert2(1) = 0.3150E-03, 0, 0, 0.2851E-03, 0, 0.2851E-03 ! EDIPART,2,ADD,coord2,tm,ircs,inert2,velo2,cid !