In this work, the main philosophy behind the object-oriented programming (OOP) of meshfree methods is discussed for solution of elastostatic problems. Objects and classes are constructed with respect to the structure of meshfree methods. Local radial point interpolation method (LRPIM) and meshless local Petrov-Galerkin (MLPG) method are used in local weak form in the program. Basic object oriented programming operators; encapsulation, inheritance and polymorphism are used for increasing modularity. Seven main classes and their subclasses are constructed for decreasing complexity. Additional storage modules and solver functions are implemented. As a result of this, new techniques on interpolations and integrations can be easily adapted to construction of shape functions in meshfree program structure. Objects are defined and implemented for solution of 2D elastostatic problems in MATLAB. Two elestostatic problems are solved in MATLAB OOP and their results are compared with results of a procedural program that is written in FORTRAN. Class designs and their hierarchy are discussed in details
Other ID | JA66EC58BJ |
---|---|
Journal Section | Articles |
Authors | |
Publication Date | June 1, 2015 |
Published in Issue | Year 2015 |