Use of simplified geometrical models of a cornea for optimization purposes

Particle Swarm Optimization (PSO) is an artificial intelligence technique (AI) that can be used to find approximate solutions to numerical problems of maximization and minimization. In this study, it was used a PSO algorithm to compare displacements from human cornea sample subjected to internal pressure of 45 mmHg with Results of numerical simulations were provided which identified optimized values for hyperelastic properties of the cornea (μ and α). By means of the results from numerical simulations via inverse analysis by the Finite Element Method (FEM), in conjunction with the PSO algorithm, optimized values of μ = 0.047 and α = 106.7 were found. When compared with optimized results from commercial software, errors around 0.15% were found. Results showed that, varying the values of particle inertia coefficients in the PSO algorithm, simulated displacements have improved when compared to experimental data. This demonstrates the potential use of PSO algorithm in conjunction with the FEM inverse analysis for hyperelastic materials characterization, using simplified geometrical models


IntRoductIon
T he development and improvement of optimization techniques allows studying behavior in various materials, and is really important in determining their limitations, evaluating and classifying their properties.Thus, there is a great interest in the evaluation of the biomechanical properties of the cornea, being considered an important parameter to be determined, since it is related to several diagnostic procedures.
The cornea is the first and most powerful refraction surface of the optical system of the eyeball.Little is known about the behavior of the internal structure of the cornea.In most animal species, the cornea consists of four layers: epithelium, stroma, Descemet's membrane, and endothelium (1) .A small change in the geometry of the cornea strikingly affects its optical capacity.Because of this sensitivity, biomechanical studies may reveal the performance and functionality of the cornea, which has certain mechanical characteristics that can be analyzed with a view to improving the methods for prevention of diseases and the development of more efficient equipment in the medical field.
The growing interest in the study of human biological tissues has led to the need to characterize some types of tissue with a hyperelastic mechanical behavior.Experimentally, the mechanical study of this type of tissue has been carried out by means of traditional techniques developed for the study of materials with a linear and isotropic behavior, which allows the determination of average values of some mechanical properties.
These materials have mechanical behaviors different from conventional materials, and it is necessary to use algorithms that allow the solution of these problems, one of them being Particle Swarm Optimization.Soares (2) defines optimization as a mechanism for analyzing complex decisions involving selection of values for variables, with the simple objective of quantifying the performance and measuring the quality of decisions.
The algorithm implemented makes use of the deformation suffered by a specimen (human cornea), aiming to identify the properties of the hyperelastic material.The characterization of the material tested was performed using the Finite Element Method.

theoRetIcal RefeRence
The Particle Swarm Optimization method was developed by Kennedy et al. (3) from the mathematical modeling that implements a metaphor of the social behavior of a group of birds in search of food or a place to build the nest, creating a technique of stochastic computation.
According to Parsopoulos et al. (4) , each particle is treated as a point within the search space adjusting its own "flight" according to its own experience, as well as the experience of the "flight" of other particles.
The Finite Element Method was used to simulate different mechanical properties of the materials and to provide displacement data at specific points in the geometry.Due to the fact that the subregions present finite dimensions, these subregions are called "finite elements", in contrast to the infinitesimal elements used in differential and integral calculus.From here comes the name "Finite Element Method" established by Ray Clough (5) .
Ogden (6) proposed a model to describe the non-linear behavior of complex materials such as rubber, polymers and biological tissues.This model is described by Equation 1.
where is the deformation energy of the material, N is the total number of terms in the series, and µ i and α i are constants of the material.
The deformation energy function can be expanded by a series of real powers, and it is described as a function of the main stretches shown in Equation 2, with the following stability condition, µ n α n > 0: where µ is the shear module and α is the deformation hardenability (hardening) capacity parameter.µ is a measure of the ability of a material to withstand transverse deformations (measured in KPa), and is also known as rigidity, which is a parameter to quantify the rigidity of the material.α is representative of the non-linear behavior due to the hardening by deformation of the material.
According to Lapper et al. (7) , new methodologies have now been developed for the simulation of the hyperelastic mechanical behavior of biological tissues.These methodologies generally contemplate the use of the Finite Element Method as a tool for numerical simulations to obtain the numerical behavior of biological materials.

methods
For the experiments, we sought to combine the analysis capability of the Finite Element Method with the simplicity and robustness of the PSO.In order to obtain the input data in the PSO algorithm, experimental data from the University of Liverpool--UK were used, and it was possible to define the objective function.In these experiments, the specimens (corneas) were fixed at the border, loads were applied with internal pressure of 45 mmHg, in order to experimentally measure the displacements in the central region of the cornea (pupil) by means of digital processing images.The experimental apparatus is shown in figure 1.
Based on the experimental data for human corneas aged approximately 50 years, the time vs. displacement graph was obtained.(1) (2) The sum of squared errors (SSE), Equation 3, was obtained from the difference between the displacement values from the simulations and the points generated by the curve of objective function (Figure 2): where P p are the displacements from the polynomial equation of the objective function, D is the simulated displacements, and n is the number of points analyzed.
The geometry of the human eye was generated by a program from the University of Liverpool called Ocular Model Generation, but some geometries were modified according to the simulated scenarios.These modifications were made by the Abaqus ® software.
In the present work, the FEM was used to simulate different mechanical properties of the materials and to provide displacement data at specific points in the geometry.For this, the displacements in the central region of the cornea (Figure 4b) were measured as a function of a pressure applied in the inner region of the cornea, taking into account the region of fixation of the cornea in the ocular globe (Figure 4a).The displacement results were used by the PSO algorithm to compare with objective function values at each iteration.
To generate the geometry, each element was modeled in the configuration of 6 nodes/element and 15 nodes/element, using a tetrahedral form.
The software Abaqus ® changes the geometry C3D6H (6 nodes) into C3D15H (15 nodes), and in this type of configuration the in the quadratic form must be considered.
The file InputFile.inpcontains all the information that determines the structure of the cornea: the number of elements, the number of nodes, pressure, among others.This file works as input data for the software Abaqus ® .
The script Analysis_batch_file.bat is responsible for running the software Abaqus ® without the need to open its graphical interface, generate a file containing the output data with the extension *.odb, and execute the algorithm Out_Node..py (developed in the free language Python ® ) which is to generate the simulated displacement curve.The PSO algorithm implements the whole process, working in synergy with Abaqus ® .
The PSO algorithm (developed on the platform Visual Basic ® ) runs the file Analysis_batch_file.bat, which runs the Abaqus ® simulation from a file containing the input data withextension *.inp (usually called InputFile.inp)and generates a file containing output data with extension *.odb (file containing Abaqus ® results) and runs the file developed in Python ® , Out_Node.pythat uses the file *.odb to generate the time (or pressure) vs. displacement curve.
In the present work, the simulated curve (time vs. displacement) was generated by means of a file called "displacement.txt", which is a text file that is to be compared with the objective function in the program PSO.
Use of simplified geometrical models of a cornea for optimization purposes Rev Bras Oftalmol.2017; 76 (6): 275-9 From the experimentally generated curve, the objective function was defined by a polynomial of the 5th degree, according to figure 2.
The algorithm used in this work describes an "inverse analysis" problem, which will be solved via PSO.The objective of this algorithm was to generate deformation curves close to the experimental data, from maximum and minimum values of x0 (first unknown) and x 1 (second unknown), as input data of the algorithm.In general, the PSO is adequate for numerical problems with two or more unknowns, which is the case of the present work.
The PSO algorithm works on a loop of repetition.At each iteration of the loop, the particle is updated based on the search space and speed.The number of particles is defined by the user in the search for an optimal solution at each iteration.In the PSO algorithm proposed in this work, the user enters with four values, here denominated "limits", that are the maximum and minimum values of the unknowns to be obtained, in this case, minimum of µ, maximum of µ, minimum of α and maximum of α, according to the flowchart shown in figure 3.
The second step of the algorithm was the generation of a file called material.txt,which was used to substitute random values of µ and α at each iteration / simulation.Thus, it was possible to obtain several simulations and generate a new curve (time vs. displacement) at each iteration.The algorithm was able to compare the objective function (Figure 2) with the curves from the simulations, in order to obtain optimized values for µ and α.
At the end of the total number of iterations (user established value), the particle presents the optimized solution of "µ" and "α".) Each scenario had its values of nodes and elements defined by geometry.Random values of the number of nodes between the maximum and minimum were assigned to the other scenarios.

Predefined threshold values
For each scenario analyzed, predefined threshold values for µ 1 and α 1 (Table 2) were established to test the stability of the results due to the variation of the input values in the PSO algorithm.
These parameters were defined in order to test the stability of the algorithm, and the same test was performed several times, obtaining the same result, even in different computers.
Observing the curves shown in figure 8, it is possible to notice that the values begin to stabilize from the 40th iteration with optimized values close to those obtained by the commercial software HEEDS (µ 1 = 0.054).This is because in the PSO algorithm the values are generated randomly in a search space where each particle, that is, each value corresponds to a possible solution that moves until reaching the best result.The values varied and converged to approximate values to those obtained by the commercial software HEEDS.
Observing the curves shown in figure 9, it is possible to notice that the values begin to stabilize after the 35th iteration, The entire process of creating the three-dimensional geometric models was generated via commercial software Abaqus ® (version 6.14), using its graphical interface to configure and define the parameters used during the simulation.This whole process was based on the setup used by the University of Liverpool for the collection of experimental data and the Ocular Model Generation application.The first step was to import of the file InputFile.inpgenerated by the program Ocular Model Generation.Although the cornea is an anisotropic material, the respective one was considered isotropic in the simulations for reasons of simplification.
Figure 5 shows the finite element mesh of the eyeball obtained by the software Abaqus ® , comprised of 772 nodes and 768 elements, and with regions representing the entire structure of the human eye.
Considering that in order to obtain the corresponding region of the cornea, in Figure 6, the finite element mesh generated through the software Abaqus ® was created with the discretized model of the cornea of a human eye from geometric data from the program Ocular Model Generation The cornea model used was considered hyperelastic, being the material defined according to the model OGDEN (Equation 1).The values of µ = 0.054 and α = 110.45obtained by means of commercial optimization software (HEEDS) were considered reference.
An internal region of the cornea was defined (Figure 7) for the application of internal pressure.In addition, a monitoring point was defined to work as a reference in the process of collecting corneal displacement data.
After the whole process of configuration of the simulated scenario, a pressure with a magnitude of 45 mmHg was applied to the internal region of the cornea, therefore aiming to calculate the displacement suffered at the monitoring point when it undergoes the respective internal pressure.
For each geometric model generated, a different scenario was assigned based on minimum and maximum values of nodes supported by the version of Abaqus ® used, that is, from the 1st scenario to the 5th scenario (Table 1).
For simulated scenarios executed from a restricted number of nodes (maximum of 1000 nodes per geometric model) depending on the version of the Abaqus software used in the simulations.
In relation to the standard PSO x Inertia, the value, even if little relevant, leads to the conclusion that, with experiments, improvements were also noticed in the standard PSO, but based on these parameters these values were not sufficient for a correct evaluation.
This work has succeeded in achieving the objectives, and the continuation of their experiments will be of great importance, implying improvements in both medical sciences and engineering.In medicine, it may contribute to the treatment of various eye diseases, more efficient diagnostic equipment, or even surgical procedures.It can also guide the improvement and creation of mathematical models, acting directly in the improvement of human life.
For future works, it is proposed to use different values of inertia, that is, c 1 ≠ c 2 and test values of µ and α for a larger number of variables, for example, Ogden model for N = 3.

acnowledgements
To Universidade Federal de Lavras (UFLA) and CAPES for the financial support during the accomplishment of this project.
showing results close to those obtained by the software HEEDS (α 1 = 110.45).As with the values of µ 1 , it was confirmed that the second scenario was the most appropriate for this situation when compared to the results of the software HEEDS.

Errors of simulated scenarios
The best result (lowest Error) was found in the 2nd scenario / 5th parameter, with 291 nodes.Figure 10 shows the results of the SSE for the 2nd scenario -291 nodes, referring to the simulated parameters.
For each scenario analyzed, the results were obtained after the program ran 50 iterations, thus noticing its stability after 40 iterations.By means of this analysis, it can be noticed that the best SSE value was obtained in the 2nd scenario / 5th parameter (approximately 15%), where the scenario used has 291 nodes.

Figure 2 :
Figure 2: Graph of the objective function (polynomial function of 5th degree).

conclusIons
It was verified that the stability and convergence, when varying maximum and minimum limits by the technique of inverse analysis by the Finite Element Method (FEM), along with the PSO algorithm, were satisfactory, because the results obtained demonstrated the potential use of the PSO along with the inverse analysis of the MEF for the characterization of hyperelastic materials.Rev Bras Oftalmol.2017; 76 (6): 275-9Use of simplified geometrical models of a cornea for optimization purposes

Figure 8 :
Figure 8: Comparison of µ 1 values in the second scenario in all parameters.

Figure 9 :
Figure 9: Comparison of α 1 values in the second scenario in all parameters

Figure 10 :
Figure 10: Comparison of values of Error (SSE) in the second scenario in all parameters.