3.4. The Definition of Part

A group of elements having a unique combination of MAT, TYPE, and REAL set IDs is designated as a part and is assigned a PART ID. There are a number of ANSYS LS-DYNA commands which refer to the PART ID directly (for example, EDCGEN, EDDC, EDLOAD, EDDAMP, EDCRB, and EDREAD). The PART IDs are automatically created and written to the LS-DYNA input file Jobname.K at the start of the model solution by the ANSYS LS-DYNA program. They can also be created and listed with the EDPART command.

When the program generates PART IDs, the IDs are created from a sequential list of selected elements. If any of the MAT, TYPE, or REAL IDs change in the element list, the next PART ID number will be assigned to that group of elements. For example, if the first ten elements have MAT = 3, TYPE = 1, and REAL = 2 then these ten elements will be assigned part number 1; if the next one hundred elements have MAT = 2, TYPE = 2, and REAL = 1, these elements will be assigned part number 2; and so on.

The part list can be created and listed using the CREATE/UPDATE/ADD/LIST options on the EDPART command. It is also created and remains permanent if the SOLVE command is issued or if the EDWRITE command is used to write the input file, Jobname.k. If the part list already exists, these latter commands will only update the list, not overwrite it. For more information on the EDPART command, refer to the description of this command in the Command Reference.

You can assign a specific PART ID to a group of elements by using the ADD option on EDPART. To do so, you must first select a group of elements which have the same combination of MAT, TYPE, and REAL IDs (ESEL command). You can name those elements as a component, or assign the PART ID to the currently selected set. You can then use the EDPART,ADD option to specify an arbitrary number to be used as the PART ID for those elements. It is important to note that user-specified PART IDs will not be overwritten by subsequent EDPART,CREATE or EDPART,UPDATE commands. However issuing EDPART,ADD with a different PART ID will overwrite existing PART IDs for the specified elements. To delete a user-specified PART ID completely, issue the EDPART,DELE,PARTID command. The deleted PART ID is immediately overwritten by a program-generated PART ID (similar to EDPART,UPDATE).

EDPART,CREATE creates new PART IDs, but does not overwrite any user-specified PART IDs. These PART IDs can be listed using the EDPART,LIST command. The list shows the status of parts at the time of creation or update (EDPART,UPDATE). If the EDPART,CREATE command is issued repeatedly, the part list is overwritten. In order to get the actual part list after modifications or additions to the model, issue the EDPART,UPDATE command. This extends the existing part list without changing its order and allows elements to be added to an existing part that has the same MAT, TYPE, and REAL IDs. Any combination of MAT, TYPE, and REAL which is not referred to by any selected element will render the corresponding part unused. This will be evident from the zero value printed on the fifth (USED) column of the part list. A warning is issued at the SOLVE or EDWRITE command if a previously defined part-related command refers to an unused part.

Any combination of user-specified and automatically generated PART IDs can be used within a model. For example, you may choose to input PART IDs (using the ADD option) for one or more groups of elements and then use EDPART,CREATE or EDPART,UPDATE to define PART IDs for the rest of the model.

The following example shows a 14-element model with 2 MATs, 3 TYPEs and 3 REALs. In this model, element 10 originally had MAT = TYPE = REAL = 2, but was deleted after the part list was automatically created by issuing EDPART,CREATE. An ELIST command produces the following element list:

ELEMMATTYPRELESYSECNODES
11110 1 2345678
21110 11 12131415161718
31110 21 22232425262728
41110 31 32333435363738
51110 41 42434445464748
61230 51 52535455565758
71230 61 62636465666768
82230 71 72737475767778
92230 81 82838485868788
112320 101 102103104105106107108
122320 111 112113114115116117118
131320 121 122123124125126127128
141320 131 132133134135136137138
151320 141 142143144145146147148

To define a user-specified PART ID, first select elements 3 and 5 and create an element component E35. EDPART,ADD,10,E35 specifies PART ID 10 for elements 3 and 5. PART ID 10 (for the component E35) will not change if you issue EDPART,CREATE or EDPART,UPDATE after reselecting all of the elements in the model. Consider the definition of a second user-specified PART ID 60 for element 14. Selecting element 14 and issuing EDPART,ADD,60 changes the PART ID for element 14 from 6 to 60. After selecting all of the elements, EDPART,UPDATE shows the following part list.

PARTMATTYPREALUSED
101112 - user defined
11113
21232
32232
42220
52322
61322
601321 - user defined

In the above list, elements 1,2 and 4 have MAT = TYPE = REAL = 1 and form PART 1. Elements 3 and 5 also have MAT = TYPE = REAL = 1 but have the user-specified PART ID 10. Element 14 with MAT = 1, TYPE = 3 and REAL = 2 has the user-specified PART ID 60. The PART IDs for the rest of elements were generated by the ANSYS LS-DYNA program. Element 10 had MAT = TYPE = REAL = 2, but was deleted after the part list was created initially. Therefore, USED for PART ID 4 is zero. The USED field in the part list indicates the number of elements having the PART ID. USED is calculated from all currently selected elements. If the element selection changes, USED will change. To get the correct number of USED, select the correct number of elements and issue EDPART,UPDATE.


Note:  For this example, issuing EDPART,UPDATE will not change the PART IDs in the part list. However, issuing EDPART,CREATE will create a new part list. PART 5 will become the new PART 4 and PART 6 will become the new PART 5. The user-specified PART IDs 10 and 60 will not change. Because the automatically generated PART IDs can change as a result of EDPART,CREATE, this can invalidate previously defined part-based loading, contact specifications, etc.


The following procedure is recommended:

  1. Build the model as usual until you have to specify a PART ID number on a part-related command.

  2. Create the part list (EDPART,CREATE) or specify PART IDs for some groups of elements (EDPART,ADD); then list the parts (EDPART,LIST).

  3. Use the appropriate PART ID number(s) from the list for the command(s).

  4. Continue modeling.

  5. Update the part list (EDPART,UPDATE) if the elements or their attributes have changed, which includes the addition of new elements.

  6. List the updated PART ID numbers and make use of them on further part-related command(s).

Issuing ELIST with the part listing key on (PTKEY = 1) will show the PART ID for each elements as follows.

ELEMPARTMATTYPRELESYSECNODES
111110 1 2345678
211110 11 12131415161718
3101110 21 22232425262728
411110 31 32333435363738
5101110 41 42434445464748
621230 51 52535455565758
721230 61 62636465666768
832230 71 72737475767778
932230 81 82838485868788
1152320 101 102103104105106107108
1252320 111 112113114115116117118
1361320 121 122123124125126127128
14601320 131 132133134135136137138
1561320 141 142143144145146147148

In addition to listing PART IDs in the element list, PART IDs can also be plotted with the EPLOT command by turning on the part display key (/PNUM,PART,1). Element selection using the ESEL command can also be performed based on PART IDs. These two capabilities replace the obsolete PARTSEL command.

The CDWRITE command writes the part information to the Jobname.CDB file. This information can then be automatically read into ANSYS with the CDREAD command. However, if more than one Jobname.CDB file is read, the part list from the last Jobname.CDB file overwrites the existing part list, if any. In general, you must issue the EDPART,CREATE command to recreate the part list of the total model. This will affect all part-related commands contained in the Jobname.CDB file. Therefore, you can join models, but not part-related inputs, which must be modified using the newly-created PART ID numbers.

In limited cases, an update of the part list (EDPART,UPDATE) is possible. This requires that no used combination of MAT/TYPE/REAL appears more than once in the list. However, partial changes to the part-related commands may be necessary.

3.4.1. Part Assemblies

Part assemblies, which are created using the EDASMP command, are entities that are made up of several different parts. Part assemblies can be used as input on several ANSYS LS-DYNA commands. They can be particularly useful when defining contact between two entities consisting of several parts (see Contact Surfaces in the ANSYS LS-DYNA User's Guide). Using the EDASMP command, you can define as many as 16 parts in a part assembly after you provide an ID number. The part assembly number can be any arbitrary number, but cannot be a currently assigned PART ID number (use EDPART,LIST to determine the currently used numbers). You can also list and delete part assemblies using the EDASMP,LIST and EDASMP,DELE options, respectively. As an example, to specify part assembly ID number 10 consisting of parts 1,2 and 4, the following command would be issued:

EDASMP,ADD,10,1,2,4

Release 18.2 - © ANSYS, Inc. All rights reserved.