Translate this page:
Please select your language to translate the article


You can just close the window to don't translate
Library
Your profile

Back to contents

Software systems and computational methods
Reference:

Modeling of bodies with spherical pores by generalized linear interpolation

Damdinova Tatiana Tsybikovna

PhD in Technical Science

Associate Professor, East-Siberian State University of Technology and Management

670000, Russia, respublika Buryatiya, g. Ulan-Ude, ul. Klyuchevskaya, 40 V

dtatyanac@mail.ru
Other publications by this author
 

 
Ayusheev Tumen Vladimirovich

Doctor of Technical Science

Associate Professor, Department of Engineering and Computer Graphics, East Siberian State University of Technology and Management

670013, Russia, respublika Buryatiya, g. Ulan-Ude, ul. Klyuchevskaya, 40V, of. 731

atv62@bk.ru
Balzhinimaeva Svetlana Mikhailovna

Postgraduate Student, Department of Engineering and Computer Graphics, East Siberian State University of Technology and Management

670013, Russia, respublika Buryatiya, g. Ulan-Ude, ul. Klyuchevskaya, 40V, of. 731

ikg.esstu@bk.ru
Abatnin Aleksandr Andreevich

Student, Department of Engineering and Computer Graphics, East Siberian State University of Technology and Management

670013, Russia, respublika Buryatiya, g. Ulan-Ude, ul. Klyuchevskaya, 40V, of. 731

abatnin@mail.ru

DOI:

10.7256/2454-0714.2022.2.38262

EDN:

ZTFTKU

Received:

13-06-2022


Published:

05-07-2022


Abstract: The article offers a description of parametric objects with spherical pores by generalized linear interpolation. Increasing the volume of high-resolution image data requires the development of algorithms capable of processing large images with reduced computational costs. Numerical data on the geometry of the pores of the object under study are transformed into the geometry of bodies consisting of octagonal portions of cubic shape. Parametric porous objects can model both the shape and the isoparametric interior. Often, this type of parametric bodies is used as initial or boundary conditions in numerical modeling to demonstrate internal modeling. To form a body of complex shape, parametric solid-state elements can be connected together. The continuity between the elements can be determined in the same way as when modeling cubic parametric splines. A lot of research is devoted to the reconstruction of the geometric structure of porous materials based on digital images of objects for a better understanding and representation of physical processes in a porous medium. A detailed understanding of the microstructure can be used to determine physical properties, and then to evaluate and improve the characteristics of simulated objects and processes in them. The article presents the results of the proposed algorithm in the MathCAD environment and software processing of a porous body based on digital images.


Keywords:

geometric modeling, porous bodies, linear interpolation, the Koons method, parametric splines, digital image, spherical pores, boolean operations, MathCAD, OpenSCAD

This article is automatically translated.

Introduction

Increasing the volume of high-resolution image data requires the development of algorithms capable of processing large images with reduced computational costs. Many unambiguous methods of solid-state representation of porous media based on images, such as primitive instantiation, cell decomposition, constructive solid-state geometry, representation using fractal geometry, have the limitation that they do not offer ways to represent internal behavior.

A representation is considered unambiguous when it corresponds to one and only one object in the object space. The developed methods [1-4] are suitable for many modeling and design applications, but mostly assume the internal uniformity of the model both in the composition of objects and in the structure of the body itself. More complex physical models, which require scalar, vector and tensor physical fields, increase the need for modeling both the shape and distribution of fields as initial or boundary conditions of modeling.

This article considers an approach to the description of parametric bodies with spherical pores using linear basis functions. The available digital data on the geometry of the sample pores is converted directly into the geometry of bodies consisting of cubic portions. Parametric porous bodies are used to demonstrate internal modeling [5-9]. This type of parametric porous bodies is used as initial or boundary conditions in numerical modeling. When forming objects of complex shape, parametric solid-state elements can be connected together.

A lot of research is devoted to the reconstruction of the geometric structure of porous materials based on digital images of objects for a better understanding and representation of physical processes in a porous medium [10-15]. A detailed understanding of the microstructure can be used to determine the physical properties, and then to evaluate and improve the characteristics of the simulated objects and processes in them. Also, these studies are due to the development of 3D printing in order to optimize the printed objects, increase their strength or determine and change other properties of the model. In geometric modeling of complex objects, Boolean operations of union, subtraction and intersection are used [16, 17].

 

Problem statement

Let an arbitrary curved frame of a body with spherical pores be given in the three-dimensional space R3, which determines the shape of a solid-state cubic element, or a portion of the object being modeled (Fig. 1). Let's assume that the parameters u, v and w vary from 0 to 1 along the corresponding boundaries of the portion of the body. Then the vector function represents the interior of a portion of the body, representing six known boundary surfaces. The task is set: to construct a vector function that, when or, represents the desired boundary surface.

Figure 1. Portion of a body with spherical pores

 

A portion of a solid body with Koons boundary surfaces

Let us first consider the problem of constructing the equation of a portion of a solid body without spherical pores. Using the Koons portion method, it is possible to generalize and construct the portion equation of a parametric body: 

                                                  (1)

where

              

where u, v, w is [0,1], is a column vector.

In equation (1) is a trilinear interpolation of eight points. The vector function r1(u,v,w) is a bilinear interpolation between pairs of compatible boundary curves. - this is a linear interpolation between pairs of opposite portions of boundary surfaces.  

When constructing the boundary curve of the portion of the body, we will use the cubic Hermite interpolation function. With its help, a segment of a parametrically defined curve can be represented through the position of its end points, as well as through the values of tangents in them. Then the equations for the boundary curves and transverse gradients will have the form:

 

          

      (2)

     

where ? 0, ? 1, ? 0, ? 1 are Hermite polynomials.

The boundary surfaces of the body will be described by the following equations:

                                                           (3)

where u, v, w is [0,1],

Portion of a body with spherical pores

Now we can proceed to solving the problem of constructing a spherical pore inside a portion of the body.

The equation of the surface of a sphere in the Cartesian coordinate system is defined as:

                                                              (4)

where x 0, y 0,z 0 are the coordinates of the center of the sphere, R is the radius of the sphere.

Formula (4) can be used to define a spherical pore if it does not change its position and size during deformation (stretching or compression) of the body relative to the Cartesian coordinate system.

In this case , the portion of a body with spherical pores is determined by

                                                                       (5)

where

            - Cartesian coordinates and radii of spherical pores.

For our purposes, it is necessary to define a spherical pore in the system of curvilinear coordinates of the body

                                                            (6)

where u 0, v 0, w 0, are the curvilinear coordinates of the center of the spherical pore. In this case, the spherical pore will also change when the position and shape of the body change.

In the first case , the portion of a body with spherical pores is determined by

                                                                       (7)

where

            - Cartesian coordinates and radii of spherical pores.

In the second case , the portion of the body is determined by

                                                                      (8)

where

            - curvilinear coordinates and radii of spherical pores.

 

Results

A computational experiment was carried out with the obtained model of a portion of a porous body in the MathCAD environment. When constructing a portion of the body in the form of a cube, the following coordinates of corner points were set: P 000(0,0,0), P 100(70,0,0), P 010(0,70.0), P 110(70,70,0), P 001(0,0,70), P 101(70,0,70), P 011(0,70,70), P 111(70,70,70). A sphere with a radius of 15 mm was defined inside the cube at the point (35,35,35) (Fig. 3). The surfaces of the inner space of the cube were constructed with the value of the parameter g equal to 0, 18, 35, 53, 70. Figures 3 and 4 show a surface g equal to 35 mm. Then the coordinates of the corner points of the cube were changed: P 000(0,0,0), P 100(70,10,0), P 010(0,65,0), P 110(50,70,0), P 001(0,0,70), P 101(50,0,70), P 011(10,80,60), P 111(50,75,45) (Fig. 4). The surface of a spherical pore was given by the equation in parametric form:

When specifying a portion of the body in the shape of a cube, the hole on the intermediate surface has the shape of a circle (Fig. 2). When changing the position of the corner points of the cube, the intermediate surfaces are transformed into the shape of a hyperbolic paraboloid, and the holes into the shape of an oval (Fig. 3).

Fig. 2. A portion of a porous body in the form of a cube

 

Fig. 3. Changing the shape of the cube when moving the angular points of a portion of a porous body

 

To automate 3D modeling of real objects with many spherical pores, images of cheese slices were obtained based on digital image processing as an object of research (Fig.4a). Next, the position and size of the pores were determined by layers (Fig.4b).

 

 

a) digital images of cheese slices

 

    

b) layer-by-layer determination of the position and size of pores

Fig.4. Processing of a porous body by its digital image

 

Then the data was processed in a program developed in Python and an OpenSCAD CAD script was obtained that automates the creation of a 3D model with Boolean operations (Fig.5).

 

Fig.5. 3D model of a body with spherical pores.

 

Conclusion

 

The proposed method for modeling complex porous media of composite form uses portions of a three-dimensional parametric body. The continuity between the elements is determined similarly to the modeling of cubic parametric splines. The examples given show the determination of the internal structure when changing the shape of a porous body. Its distinctive feature is the possibility of constructing internal intermediate grids in the presence of digital data of spherical pores inside a composite body. 

The software implementation of this method has shown that algorithms based on it are characterized by computational stability and speed. This provides undoubted advantages in visualization tasks, in geometric modeling of various structures with spherical pores under conditions of free deformation.

References
1. A.N. Levandovsky, B.E. Melnikov, A.A. Shamkin. Modeling of a porous material by the finite element method. Construction of buildings and structures under construction, 2017, No. 2 (53). pp. 61-77.
2. Zolotukhin I.V., Kalinin Yu.E., Loginova V.I. solid-state fractal structures. // AEE. 2005. No. 9. URL: https://cyberleninka.ru/article/n/tverdotelnye-fraktalnye-struktury-1
3. Marie Wulff. Pore size determination by thermoporometry using acetonitrile. 2004. Ðð. 291–294. URL: https://doi.org/10.1016/j.tca.2004.03.006.
4. Zohaib Atiq Khan, Ali Elkamel, Jeff T. Gostick. Efficient extraction of pore networks from massive tomograms via geometric domain decomposition. 2020. 14 ð. URL: https://doi.org/10.1016/j.advwatres.2020.103734.
5. Ayusheev T.V., Damdinova T.Ts., Balzhinimaeva S.M. Modeling of porous bodies based on digital image processing. In the collection: Information systems and technologies in education, science and business. Materials of the All-Russian scientific and practical conference with the participation of the RIAC. Ulan-Ude, 2021. S. 5-10.
6. R. Ďurikovič, S. Czanner. Modelling with Three Types of Coons Bodies. International Journal of Modelling and Simulation. Volume 24, 2004. P. 97-101.
7. N.N. Golovanov. Geometric modeling.-M .: Publishing House of Phys.-Math. Literature, 2002.-472 p.
8. Computational geometry. Application in design and production: Per. from English. – M.: Mir, 1982. – 304 p.
9. Ulas Yaman, Nabeel Butt, Elisha Sacks, and Christoph Hoffmann. 2016. Slice Coherence in a Query-based Architecture for 3D Heterogeneous Printing. Comput. Aided Des. 75, C (June 2016), 27–38. https://doi.org/10.1016/j.cad.2016.02.005
10. L.M. Pant. 2016. Stochastic Characterization and Reconstruction of Porous Media. https: //books.google.com/books?id=VcqGAQAACAAJ
11. Xiaolei Zhu, Shigang Ai, Xiaofeng Lu, Ke Cheng, Xiang Ling, Lingxue Zhu, and Bin Liu. 2014. Collapse models of aluminum foam sandwiches under static three-point bending based on 3D geometrical reconstruction. Computational Materials Science 85, 0 (2014), 38–45.
12. Lin Lu, Andrei Sharf, Haisen Zhao, Yuan Wei, Qingnan Fan, Xuelin Chen, Yann Savoye, Changhe Tu, Daniel Cohen-Or, and Baoquan Chen. 2014. Build-to-last: Strength to Weight 3D Printed Objects. ACM Transactions on Graphics 33, 4, Article 97 (July 2014), 10 pages. https://doi.org/10.1145/2601097.2601168
13. Lukas Mosser, Olivier Dubrule, and Martin J. Blunt. 2017. Reconstruction of threedimensional porous media using generative adversarial neural networks. Physical Review E 96, 4 (oct 2017). https://doi.org/10.1103/physreve.96.043309
14. T.Ts.Damdinova, V.D.Radnaeva, L.D.Zhimbueva, Using image processing methods to study the processing of materials // Scientific article in the collection of the X International Scientific and Technical Conference IEEE "Dynamics of systems, mechanisms and machines" No. 1 2016, volume 4, pp. 137-141.
15. Tatyana Damdinova, Vera Radnaeva, Lubov Zhimbueva Using of image processing to study impregnation process in materials. Proceedings X International IEEE Scientific and Technical conference “Dynamics of Systems, Mechanisms and Machines” Year: 2016/ Pages: 1-3, DOI:10.1109/Dynamics.2016.7818996 IEEE Conference Publications
16. Henning Biermann, Daniel Kristjansson, and Denis Zorin. 2001. Approximate Boolean operations on free-form solids. In Proceedings of the 28th annual conference on Computer graphics and interactive techniques (SIGGRAPH '01). Association for Computing Machinery, New York, NY, USA, 185–194. https://doi.org/10.1145/383259.383280
17. Bashkatov, A.V. M. Modeling in OpenSCAD: by examples: tutorial. M. Bashkatov.-Moscow: INFRA-M, 2020.-333 p., [7] p. col. ill.-ISBN 978-5-16-013011-8.

Peer Review

Peer reviewers' evaluations remain confidential and are not disclosed to the public. Only external reviews, authorized for publication by the article's author(s), are made public. Typically, these final reviews are conducted after the manuscript's revision. Adhering to our double-blind review policy, the reviewer's identity is kept confidential.
The list of publisher reviewers can be found here.

The reviewed article is devoted to the modeling of bodies with spherical pores by generalized linear interpolation, visualization in geometric modeling of various structures with spherical pores under conditions of free deformation. The research methodology is based on the study of literature sources on the topic of the work, the application of the Koons portion method to construct the portion equation of a parametric body, the cubic Hermite interpolation function for writing equations for boundary curves and transverse gradients, and conducting computational experiments in MathCAD. The authors rightly attribute the relevance of the study to the fact that increasing the volume of high-resolution image data requires the development of algorithms capable of processing large images with reduced computational costs, as well as with the development of 3D printing and the need to optimize printed objects, increase their strength or determine and change other properties of the model. The scientific novelty of the presented research, according to the reviewer, lies in the proposed author's method for modeling complex porous media of composite shape using a portion of a three-dimensional parametric body. The authors have identified the following structural sections in the article: Introduction, Problem statement, Portion of a solid body with Koons boundary surfaces, Portion of a body with spherical pores, Results, Conclusion, Bibliography. The article considers in three-dimensional space an arbitrary curved body frame with spherical pores, which determines the shape of a solid-state cubic element, or a portion of the simulated object. To automate 3D modeling of real objects with many spherical pores, based on digital image processing, images of cheese slices were obtained as an object of research; the position and size of pores by layers were determined; data processing was performed in a Python program and an OpenSCAD CAD script was obtained, automating the creation of a 3D model with Boolean operations. The advantages of the publication include high-quality illustrative materials that contribute to the visual presentation of the material being presented. Special attention is drawn to Figure 5 "3D model of a body with spherical pores", made in a dynamic form, but it is not clear whether it will be possible to demonstrate it in such a dynamic mode after the material is published in an electronic journal. The bibliographic list includes 17 names of sources – monographs and scientific articles by domestic and foreign authors in periodicals, to which the text contains targeted links indicating the presence of an appeal to opponents in the publication. The reviewed article is not without flaws. The text does not contain the section "Materials and methods" generally accepted in modern scientific publications. In addition, after reading the material, readers who are not "immersed" in narrowly professional topics may remain unclear questions: "What is a porous body?", "What is the difference between parametric porous bodies and nonparametric ones?" It seems advisable to present this in a form that is understandable to a wide range of readers, with appropriate examples. The topic of the article is relevant, the material corresponds to the topic of the journal "Software Systems and Computational Methods", may arouse interest among potential readers and is recommended for publication after revision.