Classical Laminate Analysis in Excel using the FeResPost COM Component

Purpose of the Excel workbook

The Excel workbook discussed here illustrates what can be done with Excel, VBA and the FeResPost COM component. Here, we are particularly interested in the classical laminate analysis capabilities of FeResPost. On this page, we present the use of the Excel workbook, but not the programming of the VBA code. Information on this VBA code can be found in the FeResPost User Manual, and of course, you can read the VBA code with the Excel VBA editor. The workbook presented here is provided with the FeResPost COM examples, in the "COMEX/EX06/LaminateAnalysis.xls" Excel file. To run this example, you need to properly register the corresponding version of the FeResPost COM component. The way to do it is explained in the FeResPost User Manual. Note that the Excel workbook we describe here is used to perform Classical Laminate Analysis (CLA) with FeResPost in Excel, without interaction with Nastran or Samcef finite element results post-processing. It does, however, allow you to import CLA entities from Nastran and Samcef FE models. But the reader should be aware that FeResPost's CLA classes are more powerful than what is presented here. In particular, they can interact with other FeResPost classes and be used in FEM results post-processing, for example by: (This makes the CLA classes of FeResPost a very powerful tool for composite assessment in structures.)

Excel workbook


We simply present here the different worksheets that can be used to perform classical laminate analysis (CLA) calculations. (You can access the VBA code of the application via the Excel VBA editor, but we do not explain here how this code works.)

"ClaDb" worksheet


The "ClaDb" worksheet should be considered as the main worksheet of the Excel workbook. Among other things, it allows you to:

If you want to retrieve the current composite database next time you open the workbook, you have to make sure that the two previous operations have been done. (Be careful with this because it is a common mistake to forget one of the operations.)


"MatEdit" worksheet


The "MatEdit" worksheet allows you to create or modify materials (ClaMat objects) in the composite database:


 Material properties are edited by filling the lower tables in the worksheet:


Note that the user is entirely responsible for the data inserted in the different tables. Data that cannot be interpreted by FeResPost are simply ignored when the material is inserted in the composite database. The user is referred to the description of "ClaMat" class and theoretical background in the FeResPost User Manual to identify which data must be defined.

"LamEdit" worksheet


The "LamEdit" worksheet is used to create new laminates (ClaLam objects) or modify existing ones. The worksheet has three form controls:


The data defining the laminate must be introduced in the tables below the controls:


CLA_lamedit.png

"LoadEdit" worksheet


The composite database also allows you to define and store "ClaLoad" objects. The "LoadEdit" worksheet allows you to define or modify these "ClaLoad" objects. The worksheet has two form controls:


The following data allow the definition of the load object:


For all the mechanical components of laminate loading, one can choose to define the component as strain or curvature, or as force or moment. This is the reason why a Combo box is associated with each component. The Combo box has two values: "SC" (strain/curvature) or "FM" (force/moment).

"DbUnitsEdit" worksheet


This worksheet allows you to modify the system of units associated with entities stored in the composite database. In the spreadsheet, one finds the following elements:


Note the difference between the "setting" and "changing" of units:


DbUnitsEdit

"MatProperties" worksheet


The "MatProperties" worksheet allows you to examine material properties:


Then, the following properties are displayed:


wdbs

"LamProperties" worksheet


The "LamProperties" worksheet allows you to examine material properties:


Then, the following properties are displayed:


"LamLoadResponse_A" worksheet


The "LamLoadResponse_A" worksheet allows the calculation of laminate load response and ply failure indices for a specified loading. The loading is selected among the loads stored in the composite database.

The calculation data are defined as follows:


The following results are calculated:


dvsdvsd

"LamLoadResponse_B" worksheet


This worksheet performs the same calculations as "LamLoadResponse_A", but the loading applied to the laminate is directly defined in the spreadsheet. One no longer selects a loading defined in the composite database.

The definition of loading is done by specifying the different components by filling the corresponding cells. Combo boxes allow you to define whether the component is defined as shell forces or moments, or as average strain or curvature. For the other data, please refer to the description of "LamLoadResponse_A" worksheet for more information.

cxvvw

"LamMinMaxCalcArray" worksheet


In "LamMinMaxCalcArray" worksheet, one calculates critical (i.e. the value for most critical ply) failure indices, reserve factors or equivalent stresses, for several composite failure criteria and several load cases.

The calculation data are defined as follows:

(In the spreadsheet that calculates the most critical ply, the "MIN/MAX" value is calculated by a formula that depends on the type of result that is calculated. Its result is "MAX" for equivalent stress, and "MIN" otherwise.)


The calculation is done by calling "calcPliesMinMaxCriterionArray" that returns a matrix that performs the array calculation by a single function call. Note that  a "LamMinMaxCalcArray" scalar version of the spreadsheet exists. In that version, each calculated value is obtained by a separate call  to "calcPliesMinMaxCriterionArray" VBA function.

Array calculation of failure criteria

References

More information on this example, and on the functions it uses, is given in the FeResPost User Manual.

← Back to the examples