The Format of the ASCII Groups File (.asc File)
The format of the ASCII groups file (.asc file)
A file contains one or more *GROUP definitions, formatted as follows. All entry is free format.
|
*GROUP
< title > < label > (<props>) |
This is a header designating a new group.
<title> may be up to 80 characters wide <label> is in the range 1 to 99999999 (However large numbers are deprecated ) <props> are optional graphical properties to be applied to this group - see < Properties > below. |
||||||||||||||||||||
| < Properties > |
From D3PLOT 9.3.1 onwards, the following optional "properties"
may be added, in free format (space or comma separated) in columns 11
to 80 following <
label
>
Only required fields need to be defined, and trailing fields that are omitted result in "no change" to the relevant property. If intermediate fields are not to be changed then an asterisk "*" should be inserted. For example the line:
This "property" information is applied when the group is read in from ASCII file, but in D3PLOT 9.3.1 was not stored inside D3PLOT. If the group was exported to file again this information was not present. From D3PLOT 9.4 onwards, if the group is exported this information is now present, updating properites if they have changed. There are a few rules that D3PLOT follows when writing the "property" information:
PRIMER neither reads, stores nor exports this information. This "properties" line is an interim development inserted for D3PLOT 9.3.1 and this capability will be developed in the future. |
||||||||||||||||||||
|
<item>
<range>
<item> <range> <item> <range> etc |
As many lines as required to define the group may be used. |
||||||||||||||||||||
| BOX suffix is Unsupported |
The "proper" group definition in PRIMER also supports the suffix BOX < label > at the end of a line, meaning that the preceding definitions on that line are limited to what lies within the *BOX definition. Because D3PLOT doesn't "know" about boxes these are ignored, and you should avoid the BOX suffix if you are planning to use group files outside PRIMER. |
||||||||||||||||||||
| *END | This is optional, and is taken to mean the end of the file. A physical <end of file> is treated as terminating the last group in the file, and no *END is required. | ||||||||||||||||||||
| Any number of group definitions may exist in a file, with the next *GROUP header effectively terminating the previous group definition. |
| The easiest way to create a groups file is to write one from D3PLOT, and then look at it in a text editor. The format is extremely simple and easy to understand. |
| Warnings: | |
| a) |
D3PLOT groups contact surfaces, if they are present, by interface segment.
Since segments are not numbered in a Ansys LS-DYNA input deck, or indeed may not even be present for contacts defined by anything other than segment sets, attempting to read these back into PRIMER will fail and such definitions should be edited from ascii groups files if they are to be used for this purpose. |
| b) |
Group files written by PRIMER may contain
BOX
arguments, limiting the geometric region in which items are included.
Because D3PLOT doesn't "know" about boxes it cannot apply these, and they are ignored. Therefore if you are intending to create groups that are portable across programmes it is recommended that you do not use the BOX argument. |