Automatic Promotion to I10 and Large Formats
Automatic Promotion to I10 and Large Formats
PRIMER offers the ability to "promote" the format of output files when using Keep Existing and Automatic modes. This can be done at three levels of detail:
| (1) Whole model is promoted |
The model is scanned and the widest label is found. Based on the width
of that label a "
smallest viable format
" is determined,
which will be one of 'Small', 'I10' or 'Large'. Then for each master and
include file in the model:
|
|||
| (2) Individual include files are promoted |
Each include file is scanned to find the largest label it needs to write
out. Include file A may refer to items resident in include file B, therefore
"largest label in the file" may not be the same as "label
of largest keyword defined in the file". This calculation produces
a
smallest viable format
as above for that file, then that file
is written out as:
It will be clear that different files may end up using different formats in this mode. |
|||
| (3) Individual keywords are promoted |
The logic here exploits the fact that Ansys LS-DYNA allows individual keywords
within a file to be promoted by using the "%" suffix for I10
format and the "+" suffix for large format. For example consider
the *NODE card:
In this mode PRIMER scans each *keyword in each include file separately, and for each instance of [*keyword in include file] determines the smallest viable format . Then for each keyword in each include file:
This logic always promotes all or none of a particular *keyword. For example if a file contains 1000 *NODE keywords and only one of these requires a larger-than-native format the entire block of *NODE cards will be promoted. Promotion of keyword by suffix applies only to that keyword, a subsequent (different) keyword in the file with no suffix reverts to the native format of the file. |
|
The auto-promotion strategy is selected in two ways, depending on the prevailing output mode.
|
|
|
|
Renumber Model in this context.You will notice that the Automatic Behaviour popup has a final "Renumber model" option. This is really a legacy option that dates back to the days before Ansys LS-DYNA could support Large or I10 formats and the only way to write a model in small format would be to renumber labels that were too big. This option is retained for the following reasons:
Renumbering the model is also the default option if you have explicitly chosen Small or I10 formats. It is presumed that you have a good reason for doing this and that the model will need to be changed to fit the chosen format, rather than the other way round. |
|
|
Alternative Keyword promotion method in the Options2 tabIt is also possible to set "free standing", as in not associated with any particular output format, keyword promotion. This is discussed further under Keyword promotion in the Options2 tab. |
|