Easy pre/post-processing of finite elements with custom symbolic-objects: A self-expressive Python']Python interface

被引:4
作者
Yilmaz, Murat [1 ]
机构
[1] Istanbul Tech Univ, Fac Civil Engn, Dept Civil Engn, Istanbul, Turkey
关键词
Pre/post-processing; Finite element; Programming; Object-oriented; !text type='Python']Python[!/text; ORIENTED APPROACH; ENVIRONMENT; DESIGN; SOFTWARE; LIBRARY; CODE; NET;
D O I
10.1016/j.compstruc.2019.07.002
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
This study presents an experimental object-oriented (OO) application-programming interface (API) that aims to facilitate the programming of custom pre/post-processing modules for finite element (FE) developers/researchers. The proposed API does not claim to be a full-fledged FE pre/post-processor, but aims to provide an alternative perspective in FE-software design. In this context, a variety of programming techniques are provided to enable the user to develop custom code with concise and descriptive statements. The API is presented in the form of several symbolic-objects in which the very core FE programming operations are abstracted by utilizing metaprogramming and advanced Python language features in an effort to enable the user benefit from these symbols in his/her custom pre/post-processing modules automatically. The examples given show that, this approach results in a concise and self-expressive data-representation layer that can be used flexibly in the processing of different FE discretization schemes. (C) 2019 Elsevier Ltd. All rights reserved.
引用
收藏
页码:82 / 97
页数:16
相关论文
共 61 条
[1]   AN INTEGRATED COMPUTING ENVIRONMENT FOR SOLUTION OF COMPLEX ENGINEERING PROBLEMS USING THE OBJECT-ORIENTED PROGRAMMING PARADIGM AND A BLACKBOARD ARCHITECTURE [J].
ADELI, H ;
YU, G .
COMPUTERS & STRUCTURES, 1995, 54 (02) :255-265
[2]   Remarks around 50 lines of Matlab: short finite element implementation [J].
Alberty, J ;
Carstensen, C ;
Funken, SA .
NUMERICAL ALGORITHMS, 1999, 20 (2-3) :117-137
[3]  
[Anonymous], 2005, VISUALIZATION HDB
[4]  
Beazley D., 2013, Python Cookbook, VThird
[5]   Large scale object-oriented finite element code design [J].
Besson, J ;
Foerch, R .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 1997, 142 (1-2) :165-187
[6]  
Cardona A., 1994, Engineering Computations, V11, P365, DOI 10.1108/02644409410799344
[7]  
CARSTENSEN C, 2002, J NUMER MATH, V10, P157
[8]  
Cimrman R., P 6 EUR C PYTH SCI E, P65
[9]   An object-oriented architecture for extensible structural design software [J].
Clune, Rory ;
Connor, Jerome J. ;
Ochsendorf, John A. ;
Kelliher, Denis .
COMPUTERS & STRUCTURES, 2012, 100 :1-17
[10]   An Object-oriented Environment for Developing Finite Element Codes for Multi-disciplinary Applications [J].
Dadvand, Pooyan ;
Rossi, Riccardo ;
Onate, Eugenio .
ARCHIVES OF COMPUTATIONAL METHODS IN ENGINEERING, 2010, 17 (03) :253-297