The module defines several functions for extracting and manipulating Results. For example, the extraction of maximum Von Mises stress on a Group of elements, the calculation of honeycomb worst element and associated reserve factor, or the calculation of reserve factors for different connection criteria. One notes that:
These functions are called directly from the post-processing worksheets. These functions take a specified set of arguments and return an array of values (matricial functions). More precisely, so far, each extraction function returns a one line array of values. In order to know the number of columns, you should examine the examples or the sources of VBA module.
The functions return FALSE values in case of problem.
The definition of post-processing functions could be split in different post-processing VBA modules. This might be handy when many such functions are defined.
For all the post-processing criteria, the two last arguments of the associated functions are optional. These are string arguments corresponding to the name of a GMSH file in which an envelope of Results is stored, and the name of the Result that is saved in this GMSH output file. A majority of methods defined in “ExtractionCriteria” call methods in “ResultsGmsh” module to build the envelopes of Results.
(Generally, the envelopes that are calculated are the maximum of the inverse of reserve factors, but this is not an absolute rule.)
The module is the one that the user is most likely to modify to define new post-processing criteria. However, one advises those who wish to create their own criteria to define a new module called for example “UserCriteria” to develop their own functions.