Taking advantage of symmetry in the automatic generation of numerical programs for finite element analysis

  • Paul S. Wang
Symbolic/Numeric Interface II
Part of the Lecture Notes in Computer Science book series (LNCS, volume 204)


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.


Finite Element Analysis Automatic Generation FORTRAN Code Efficient Code Nonlinear Finite Element Analysis 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    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
  2. [2]
    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
  3. [3]
    J. K. Foderaro, Franz LISP Manual, University of California, Berkeley, California, 1983.Google Scholar
  4. [4]
    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
  5. [5]
    B. W. Kerninghan and D. M. Ritchie, The C Programming Language, Prentice-Hall: Englewood Cliffs, New Jersey, 1978.Google Scholar
  6. [6]
    A. R. Korncoff and S. J. Fenves, “Symbolic generation of finite element stiffness matrices”, Comput. Structures, 10, pp. 119–124, 1979.Google Scholar
  7. [7]
    A. K. Noor and C. M Andersen, “Computerized Symbolic Manipulation in Nonlinear Finite Element Analysis”, Comput. Structures 13, pp. 379–403, 1981.Google Scholar
  8. [8]
    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
  9. [9]
    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
  10. [10]
    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
  11. [11]
    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
  12. [12]
    UNIX programmer's manual, Vol. I and II, Seventh Edition, Bell Telephone Laboratories, Inc., Murray Hill, New Jersey, 1979.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1985

Authors and Affiliations

  • Paul S. Wang
    • 1
  1. 1.Department of Mathematical SciencesKent State UniversityKent

Personalised recommendations