Taking advantage of symmetry in the automatic generation of numerical programs for finite element analysis
The automatic generation of FORTRAN code for finite element analysis is described. A software system running under the VAXIMA system is constructed to perform the analytical derivation and the FORTRAN code generation. Techniques for generating efficient code based on symmetries in the given problem are presented. Symmetry must be extracted and preserved in the analytical derivation phase. One such derivation for the isoparametric formulation in finite element analysis is presented. To gain more control over the code generated, mathematical derivation is interleaved with code generation actions. The ability to automatically generate functions and subroutines is important. An example is given to show how FORTRAN functions and function calls are generated under program control. Techniques discussed should be useful in other applications when a symbolic computation system is used to derive and generate code for numerical computation.
KeywordsFinite Element Analysis Automatic Generation FORTRAN Code Efficient Code Nonlinear Finite Element Analysis
Unable to display preview. Download preview PDF.
- M. M. Cecchi and C. Lami, “Automatic generation of stiffness matrices for finite element analysis”, Int. J. Num. Meth. Engng 11, pp. 396–400, 1977.Google Scholar
- T. Y. Chang, “NFAP — A Nonlinear Finite Element Analysis Program Vol. 2 — User's Manual”, Technical Report, College of Engineering, University of Akron, Akron Ohio, 1980.Google Scholar
- J. K. Foderaro, Franz LISP Manual, University of California, Berkeley, California, 1983.Google Scholar
- J. K. Foderaro and R. J. Fateman, “Characterization of VAX Macsyma”, Proceedings, ACM SYMSAC'81 Conference, Aug. 5–8, Snowbird, Utah, pp. 14–19, 1981.Google Scholar
- B. W. Kerninghan and D. M. Ritchie, The C Programming Language, Prentice-Hall: Englewood Cliffs, New Jersey, 1978.Google Scholar
- A. R. Korncoff and S. J. Fenves, “Symbolic generation of finite element stiffness matrices”, Comput. Structures, 10, pp. 119–124, 1979.Google Scholar
- A. K. Noor and C. M Andersen, “Computerized Symbolic Manipulation in Nonlinear Finite Element Analysis”, Comput. Structures 13, pp. 379–403, 1981.Google Scholar
- A. K. Noor and C. M. Andersen, “Computerized symbolic Manipulation in structural mechanics-progress and potential”, Comput. Structures 10, pp. 95–118, 1977.Google Scholar
- P. S. Wang and B. Gates, “A LISP-based RATFOR Code Generator”, Proceedings, the Third MACSYMA Users Conference, August, 1984, pp. 319–329.Google Scholar
- P. S. Wang, T. Y. P. Chang and J. A. van Hulzen, “Code Generation and Optimization for Finite Element Analysis”, Proceedings, EUROSAM'84, London, England, July 9–11, 1984, pp. 237–247.Google Scholar
- P. S. Wang, “MACSYMA-Aided Finite Element Analysis: Techniques for the Generation of Numerical Programs”, Proceedings, the Third MACSYMA Users Conference, August, 1984, pp. 23–34.Google Scholar
- UNIX programmer's manual, Vol. I and II, Seventh Edition, Bell Telephone Laboratories, Inc., Murray Hill, New Jersey, 1979.Google Scholar