FeResPost User Manual presents a lot of examples that illustrate the capabilities of FeResPost libraries. We list below some examples of the things that can be done with references to the corresponding pages of FeResPost online HTML manual.
Some of the methods discussed above show that FeResPost can be used as a simple Nastran card reader or formatter. This
can be done from the different languages listed above.
Results can be read from Nastran
OP2
files, Nastran XDB
files and Nastran HDF5
files (with "h5" extension). In the case of XDB and HDF5 files, random access is possible, but a simple
importation of results in the database also works.
The extraction of results is possible from
different programming languages (ruby, Python, VBA in excel,
C#, C, C++...). FeResPost is not used only to extract the
results. It also allows to manipulate them. For example:
You should read the description of Result
class for more information on the post-processing
capabilties. Examples are also provided to illustrate the
different capabilties.
An extraction of raw results from XDB files is also possible
thanks to the each_xdbRaw and each_xdbBinRaw iterators
and to the binDataToValues
method presented here.
FeResPost does not propose the same capability for HDF5
files, because many programming languages as Python and ruby
propose complements that perform this kind of operations.
An in general, most of the manipulations
that are possible for Nastran models and results are also
possible with Samcef. This is true for the different
programming languages like ruby, Python, C#, C and C++ (COM
component on Windows) and VBA (in excel, for example).
FeResPost library calculates composite:
These calculations can be done in a
"discrete manner" from the supported programming languages
(see above), but are also nicely integrated with FEM "Result"
class to perform batch calculations.
The composite manual is accessible here.
Several example are provided in the manual, in chapters IV.3
and VII.2.