FeResPost Web Site                     FeResPost Online User Manual

Chapter VII.1
COM examples with various languages

In this Chapter one shows examples illustrating the use of the COM component with interpreted or compiled languages. All the examples can work only if the COM component has been properly installed as explained in section X.A.3.5. Note also, that the examples presented below assume that you have installed version 3.4.0 of the FeResPost COM component. If another version is installed, some lines in the program must be adapted.

 VII.1.1 Using COM component with several languages
  VII.1.1.1 Using component with python
  VII.1.1.2 Using component with ruby
  VII.1.1.3 Using component with VBscript
  VII.1.1.4 Using component with C++
  VII.1.1.5 Using component with C
 VII.1.2 Testing the “NastranDb” and “Group” classes
  VII.1.2.1 Using iterators and “NastranDb” class
  VII.1.2.2 Writing elements connectivity
  VII.1.2.3 Manipulation of Groups
 VII.1.3 Translating a few small “RUBY” Result examples
  VII.1.3.1 Printing DataBase lists of Results
  VII.1.3.2 Printing maximum stress
  VII.1.3.3 Generating Nastran GRAV cards
  VII.1.3.4 Printing beam forces
  VII.1.3.5 Printing strain tensor
  VII.1.3.6 Modification of reference coordinate systems
  VII.1.3.7 Calculation of global force and moment
  VII.1.3.8 Writing GMSH mesh and Results
  VII.1.3.9 Manipulation of XDB Result files
 VII.1.4 Using component for CLA analyses
  VII.1.4.1 Laminate shear properties and load response
  VII.1.4.2 Laminate load response with FE Results
  VII.1.4.3 Laminate failure criteria with FE stresses and strains
 VII.1.5 Superelements
 VII.1.6 Object-oriented post-processing
 VII.1.7 XDB attachment Results access with RUBY and COM
 VII.1.8 Using COM component with excel
 VII.1.9 An Excel workbook illustrating the use of SQL databases