FeResPost Web Site                     FeResPost Online User Manual

Chapter IV.4
Object-oriented post-processing

We present in this chapter an example of object-oriented post-processing programmed in ruby language. The structure of the post-processing presented here is very similar to the structure of post-processings we are currently using on actual “real” projects, and results from a long evolution driven by years of practice. Earlier versions of the post-processing project are presented and discussed in Appendixes X.E and X.F and in Chapter VII.4.

We summarize below the history of post-processings that are described in FeResPost User Manual:

The rest of this Chapter is organized as follows:

Note that the purpose of current chapter is to describe the main structure of the post-processing in a way that allows the reader to better understand source code. However, the understanding of the project will be achieved only by diving into the source code, which is described in section IV.4.1.

“DbAndLoadCases” module also acts as a server of Results for the post-processing objects discussed in section IV.4.1. Method “DbAndLoadCases.getResult” is programmed in such a way that the post-processing classes remain “unaware” of the solver or solution sequence that have produced the Results being post-processed:

We made reference above to the excel post-processing described in Chapter VII.4. Current project also uses Microsoft Office tools:

More informations about the final part of post-processing is provided in section IV.4.4. Note that the use of Microsoft Office tools, excel in particular has been reduced as much as possible in order to allow the running of most post-processing on Linux instead of Windows. This is why excel is used only for the preparation of CSV files, and for the extraction of results to be inserted into Word reports.

 IV.4.1 Post-processing classes and modules
  IV.4.1.1 Management of databases and load cases
  IV.4.1.2 “Post-processing” classes
  IV.4.1.3 Other modules and classes
 IV.4.2 Definition of data
 IV.4.3 Sorting tools
 IV.4.4 Recovery of results in excel and reporting word
 IV.4.5 A few tricks...
  IV.4.5.1 Exceptions
  IV.4.5.2 Filtering the reading of Results
 IV.4.6 Conclusions