FeResPost Web Site                     FeResPost Online User Manual

IV.3.4 Extending composite classes

In the example of section IV.3.2, one illustrated basically how the composite classes and their methods can be used to calculate composite properties. The example involved the printing of matrices and vectors corresponding to material or laminate properties.

To write the ruby lines devoted to the printing or manipulation of composite entities can be tedious because it is a repetitive task. As for many users, the same composite results are often requested, this may justify the development of Modules or Classes devoted to the most common operations.

One illustrates in this section the extension of the composite classes and of its classes. All these examples are to be found in “TESTSAT/RUBY/EX13” directory.

IV.3.4.1 Extension “extendedCLA.rb”
IV.3.4.1.1 Modification of “ClaLam” class
IV.3.4.1.2 Modification of “ClaMat” class
IV.3.4.2 A very simple example of use
IV.3.4.3 Properties of the laminates defined in an ESAComp file
IV.3.4.4 Properties of the laminates defined in an ESAComp file
IV.3.4.5 Properties of the materials defined in an ESAComp file