FeResPost Web Site                     FeResPost Online User Manual

VII.4.4 Simple extraction of Results

This spreadsheet is used to perform simple extraction of results, and nothing more (except that modification of coordinate systems is also possible). Several ComboBoxes are used to define the parameters for the extraction:

When all the parameters have been defined, the “Extract” button performs the extraction and fills cells in the spreadsheet starting at line 15. More precisely, the following operations are performed in the corresponding VBA subroutine:

1.

The current NastranDb database is retrieved using the “getDb” method of the FemDbIds spreadsheet.

2.

The names of the selected load case, sub-case and result type are used to import results into the current database. (The XDB file name was selected in the “FemDbIds” spreadsheet.)

3.

The group corresponding to the selected group name is retrieved from the current database (using the “getGroupCopy” method of the “NastranDb” class).

4.

This group, the selected location, and the names of the load case, sub-case and result type are used to retrieve a result from the database using the “getResultCopy” method.

5.

The results stored in the database are removed by calling the “removeAllResults” method.

6.

If necessary, the components of the result are expressed in a new coordinate system by calling “modifyRefCoordSys” of the “Result” class.

7.

The previous results are erased.

8.

The data are extracted from the result and pasted into the spreadsheet, starting at line 16.

9.

A title line is added at line 15.

At various steps, an error message is defined. This message is printed at line 15 of the spreadsheet if an error occurs during execution. In most cases, this error is related to inconsistencies in the data definition, and the message should help the user correct their data.

Note that this spreadsheet works for both real and complex results.