Computational & Technology Resources
an online resource for computational,
engineering & technology publications
Civil-Comp Conferences
ISSN 2753-3239
CCC: 4
PROCEEDINGS OF THE SEVENTH INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED, GPU AND CLOUD COMPUTING FOR ENGINEERING
Edited by: P. Iványi, F. Magoulès and B.H.V. Topping
Paper 3.4

A Python Interface for Symbolic and Vectorized Computation of Finite Element Matrices

M. Yilmaz

Department of Civil Engineering, Istanbul Technical University, Istanbul, Turkey

Full Bibliographic Reference for this paper
M. Yilmaz, "A Python Interface for Symbolic and Vectorized Computation of Finite Element Matrices", in P. Iványi, F. Magoulès, B.H.V. Topping, (Editors), "Proceedings of the Seventh International Conference on Parallel, Distributed, GPU and Cloud Computing for Engineering", Civil-Comp Press, Edinburgh, UK, Online volume: CCC 4, Paper 3.4, 2023, doi:10.4203/ccc.4.3.4
Keywords: finite elements, object oriented programming, python, stiffness matrix, symbolic, vectorized, descriptors.

Abstract
This paper presents a simple framework for rapid development and fast calculation of Finite Element (FE) matrices in vectorized forms using various symbolic utilities written in Python. For the end-user code, three goals are being pursued: the code should be easily perceptible, explicitly include the necessary FE formulations, and run reasonably fast. For these purposes, an Object Oriented (OO) architecture with direct vectorized processing has been proposed. Unlike classical OO programming, the management of Node and Element data is carried out through single objects. In this way, the number of method-calls, which is one of the weakest points of the Python language in terms of speed, has been greatly reduced.

download the full-text of this paper (PDF, 7 pages, 269 Kb)

go to the previous paper
go to the next paper
return to the table of contents
return to the volume description