Next Article in Journal
Thermal Characterization and Predictive Modeling of Thermo-Elastic Errors in Five-Axis Machining Centers Using Dynamic R-Test
Previous Article in Journal
Design and Experimental Research for the Ultrasonic Burnishing System on Rods for Hydraulic Applications Surfaces
Previous Article in Special Issue
Machine Learning-Based Prediction of EDM Material Removal Rate and Surface Roughness
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Residual Stress Estimation in Structures Composed of One-Dimensional Elements via Total Potential Energy Minimization Using Evolutionary Algorithms

by
Fatih Uzun
1,* and
Alexander M. Korsunsky
2
1
Department of Engineering Science, University of Oxford, Oxford OX1 3PJ, UK
2
Independent Researcher, Oxford OX1 3BH, UK
*
Author to whom correspondence should be addressed.
J. Manuf. Mater. Process. 2025, 9(9), 292; https://doi.org/10.3390/jmmp9090292
Submission received: 24 July 2025 / Revised: 19 August 2025 / Accepted: 21 August 2025 / Published: 28 August 2025

Abstract

This study introduces a novel energy-based inverse method for estimating residual stresses in structures composed of one-dimensional elements undergoing elastic–plastic deformation. The problem is reformulated as a global optimization task governed by the principle of minimum total potential energy. Rather than solving equilibrium equations directly, the internal stress distribution is inferred by minimizing the structure’s total potential energy using a real-coded genetic algorithm. This approach avoids gradient-based solvers, matrix assembly, and incremental loading, making it suitable for nonlinear and history-dependent systems. Plastic deformation is encoded through element-wise stress-free lengths, and a dynamic fitness exponent strategy adaptively controls selection pressure during the evolutionary process. The method is validated on single- and multi-bar truss structures under axial tensile loading, using a bilinear elastoplastic material model. The results are benchmarked against nonlinear finite element simulations and analytical calculations, demonstrating excellent predictive capability with stress errors typically below 1%. In multi-material systems, the technique accurately reconstructs tensile and compressive residual stresses arising from elastic–plastic mismatch using only post-load geometry. These results demonstrate the method’s robustness and accuracy, offering a fully non-incremental, variational alternative to traditional inverse approaches. Its flexibility and computational efficiency make it a promising tool for residual stress estimation in complex structural applications involving plasticity and material heterogeneity.

1. Introduction

Residual stresses are self-equilibrated internal stresses that remain in a material after the removal of mechanical or thermal loads [1]. These stresses, which are commonly introduced during manufacturing processes such as welding [2], forming [3], machining [4,5], or additive manufacturing [6], can significantly influence the structural performance of engineering components by affecting fatigue life, dimensional stability, and fracture resistance. Consequently, accurate determination and control of residual stress fields is of critical importance for ensuring the reliability and safety of engineering systems [7], particularly in applications involving high-performance alloys [8], layered composites [9], and advanced energy storage [10] materials.
Various destructive and non-destructive experimental techniques have been developed for residual stress measurement, including hole-drilling [11], contour method [12], ultrasonic testing [13], neutron diffraction [14], synchrotron X-ray diffraction [15], and focused ion beam [16] digital image correlation methods. Among these, diffraction-based methods have been widely used due to their ability to measure strain non-destructively at different depths. However, they typically offer limited spatial resolution and are constrained by experimental accessibility and material anisotropy. More importantly, experimental techniques alone cannot generate full-field residual stress maps, particularly in components with complex geometries or non-uniform loading histories. To overcome these limitations, computational methods, particularly the finite element method [17], are extensively employed to simulate residual stress fields by solving inverse problems. Finite element method allows detailed modelling of the thermomechanical history of materials and can incorporate complex boundary conditions, material nonlinearity, and history-dependent plastic deformation. Nevertheless, traditional finite element method-based inverse approaches suffer from a number of drawbacks, including sensitivity to input assumptions, dependence on mesh quality, and the difficulty of converging to global solutions in highly nonlinear problems [18]. Additionally, these methods typically require the solution of large systems of equations and may be limited in their efficiency and robustness when applied to high-dimensional design spaces [19].
Residual stress reconstruction techniques aim to determine internal stress distributions resulting from prior mechanical [20] or thermal loading [21]. Among the most widely used experimental methods is the contour method [22], which involves cutting a component and measuring the resulting deformation to infer the residual stress field through elastic back-calculation. Another class of approaches is based on the eigenstrain concept, where inelastic strain distributions, such as plasticity [23,24], creep [25,26], or phase transformation strains, are treated as sources of residual stress and reconstructed via inverse finite element analysis [27,28]. While these methods provide valuable insight, they often require detailed measurements, iterative calibration, or assumptions about stress path history. In contrast, the present study proposes an energy-based inverse method that reconstructs the residual stress state without relying on direct stress or strain measurements, instead minimizing the total potential energy to determine the internal self-equilibrated configuration.
In recent years, optimization-based methods have gained prominence in residual stress estimation by recasting the inverse problem as the minimization of an objective function, such as total potential energy or the error between measured and simulated strain fields [29,30,31,32]. Among these, metaheuristic algorithms, such as genetic algorithms, particle swarm optimization, and simulated annealing, offer robust global search capabilities, particularly suited to nonlinear, non-convex problems. Genetic algorithms have been widely applied in structural mechanics for inverse problems like form finding and material identification, evolving candidate solutions through selection, crossover, and mutation based on a fitness function [33,34,35]. In mechanics, this function often reflects strain energy or total potential energy, the latter aligning with the variational principle that a structure reaches equilibrium by minimizing internal energy minus external work [36]. Unlike traditional approaches, metaheuristic methods do not require derivative information, matrix assembly, or incremental steps, enabling efficient exploration of complex energy landscapes [37,38,39,40,41,42,43,44,45]. Prior work in tensegrity and large-displacement systems has demonstrated the viability of this approach, laying the groundwork for its application to residual stress reconstruction in plastically deformed structures [46,47].
In this study, a novel methodology is developed for the estimation of residual stresses in structures with one-dimensional elements using genetic algorithm-based minimization of the total potential energy. The approach leverages a bilinear elastoplastic material model and incorporates plastic deformation history into the energy functional. Unlike conventional forward simulations, the developed method inverts the structural problem by identifying the stress-free length of elements that minimizes the total potential energy after plastic deformation. This allows the residual stress state to be estimated without requiring complex matrix operations or incremental nonlinear solvers. The methodology is validated using multiple loading and unloading cases, and its predictions are compared against analytical calculations and conventional finite element results obtained using SIMULIA Abaqus 2024. This implementation integrates genetic algorithms with total potential energy minimization for inverse residual stress determination in plastically deformed structures with one-dimensional elements as an approach to evaluate residual stresses without direct matrix inversion, while also accounting for plastic deformation via bilinear stress–strain behavior. The method offers a robust, parallelizable alternative to traditional inverse finite element methods and opens a pathway toward more generalized applications in structural inverse problems involving plasticity and residual stress.

2. Methodology

The estimation of a residual stress field from a final, deformed state is a classic inverse problem. Such problems are inherently ill-posed, meaning a unique solution is not guaranteed, and the solution can be highly sensitive to small variations in input data. The novelty of our approach lies in regularizing this ill-posed problem by grounding it in a fundamental physical law that is the principle of minimum total potential energy. This principle dictates that a system in stable equilibrium will occupy a state corresponding to a global minimum of its total potential energy. While multiple local energy minima may exist, representing computationally plausible but physically unstable states, a unique, physically stable equilibrium state is expected. The proposed methodology is therefore justified as it transforms the problem from an ambiguous inverse task into a well-defined global optimization search for this unique, lowest-energy state. This reformulation directly addresses the issues of non-uniqueness and instability.
According to this variational principle, a deformable structure naturally assumes an equilibrium configuration that minimizes its total potential energy, which is the difference between the material’s internal strain energy and the work performed by external forces. In this framework, the unknowns are not displacements or stresses under a given load; instead, they represent the intrinsic, stress-free configuration that a plastically deformed element would adopt if unconstrained after load removal. To evaluate the total potential energy for each candidate stress-free configuration, the algorithm determines the resulting stresses and displacements in the assembled structure. By iteratively identifying the set of these underlying plastic deformations, expressed as stress-free lengths in a system of one-dimensional elements, that minimizes the calculated total potential energy, the residual stress distribution can be inferred. This approach transforms the problem from solving a system of equilibrium equations into a search for a global energy minimum within a high-dimensional solution space. To navigate this space efficiently, the study employs evolutionary algorithms, which effectively capture complex nonlinearities and material history effects without requiring matrix assembly, sensitivity analysis, or incremental solving schemes.
The equilibrium configuration of a structure corresponds to the state at which the total potential energy, defined as the internal strain energy minus the work performed by external forces, is minimized. The structural model is limited to one-dimensional bar elements exhibiting bilinear elastoplastic behavior with isotropic hardening. Each bar element is defined by its initial, stress-free length L i , and deformed length L i , from which the engineering strain ε i is calculated as given in Equation (1).
ε i = L i L i L i
The internal energy of each element (element i ) is computed using Equation (2) by integrating the stress–strain curve σ ε i over the range of elastic deformation, yielding the strain energy density U i .
U i = 0 ε i σ ε i d ε
For a structure consisting of n number of elements, each with cross-sectional area of A i , the total strain energy U T is obtained using Equation (3) by summing the product of strain energy density and volume that is defined as V i = A i L i .
U T = i = 1 n U i A i L i
External work W performed by applied forces F j acting along their respective degrees of freedom d j is calculated using Equation (4).
W = j = 1 m F j d j
The total potential energy functional of a structure, Π , to be minimized is then defined by Equation (5).
Π = U T W
The total potential energy minimization is carried out using a real-coded genetic algorithm, which is specifically chosen for its effectiveness in navigating the complex, non-convex, and potentially multi-modal energy landscapes characteristic of ill-posed problems. Each individual in the population represents a possible configuration of the structure, encoded as a vector of design variables. The evolutionary process follows the classical structure of genetic algorithms, incorporating selection, crossover, mutation, and elitism. Parameters controlling the evolution, such as population size, mutation rate, and crossover probability, are selected through trial-and-error, guided by the recommendations in Grefenstette’s early work on control parameter optimization [48]. At each generation, a new population is created by applying genetic operations to the current population. The fitness of each individual is evaluated using the total potential energy functional, and the best-performing members are retained or propagated. If the convergence criterion is not met, typically defined in terms of stagnation in fitness improvement, the newly formed population replaces the previous one, and the algorithm proceeds to the next generation.
M l = N k = 1 l , N k = 2 l , , N k = g l
N k l = [ x k l , y k l , z k l ]
In the genetic algorithm framework, each candidate solution, referred to as a member of the population, represents a complete configuration of the structure. For a system of one-dimensional elements, this configuration is defined by a vector of nodal coordinates corresponding to the connections of elements with other elements, rigid bodies and external forces. These values, which encode the deformations retained after loading and unloading, act as the genes of a chromosome in the evolutionary algorithm. The member l in the population, denoted as vector M l , consists of g number of genes, each representing the nodal joints of the structure as given in Equation (6). The vector of nodal joint k , given in Equation (7), belonging to the chromosome of member l accommodates information about x -, y - and z -coordinates. This representation enables the algorithm to explore a wide range of physically plausible configurations without relying on force equilibrium equations. In this study, each generation consists of 30 such individuals, forming the evolving population that is iteratively optimized to minimize the total potential energy of the structure.
The selection of individuals for mating is governed by a fitness-proportionate mechanism based on a roulette wheel scheme, which probabilistically favors individuals with lower total potential energy values. To control the selective pressure dynamically throughout the optimization process, a fitness exponent is introduced and applied to the raw fitness values when constructing the probability distribution. By raising each fitness value to a specified exponent, the likelihood of selecting high-performing individuals can be modulated. When the exponent is greater than one, the selection becomes more aggressive, concentrating the probability on the fittest members; conversely, an exponent between zero and one flattens the distribution, promoting diversity and exploration as exemplified in Figure 1. At an exponent value of zero, all individuals have equal probability of selection, regardless of fitness. This adaptive control of the selection process ensures a balance between exploitation of current best solutions and the exploration of new regions in the search space, thereby enhancing the algorithm’s ability to avoid premature convergence.
The probability of selecting a given individual with fitness value, Π l , of member l is calculated by normalizing its fitness relative to the rest of the population as formulated in Equation (8). Unlike conventional roulette wheel selection, where selection probabilities are directly proportional to fitness, this method introduces a fitness exponent e to control the influence of fitness on selection. Specifically, the probability is determined by raising each fitness value to the power of e and dividing by the sum of all such powered fitness values across the population of t number of members. This exponentiation modifies the selection pressure by either amplifying or attenuating the differences among fitness values. The exponent e is initialized at a constant value and is adaptively updated after each generation to regulate convergence behavior, allowing the algorithm to maintain a balance between refining current solutions and exploring new ones. This exponent also defines the termination criterion, which is triggered when its value falls below the initial fitness exponent.
p i = Π l e l t Π l e
An adaptive termination criterion is implemented based on the evolution of the fitness exponent used during the selection phase. At each generation, the exponent e is updated according to the relative improvement in the fitness of the best-performing individual. If the fitness of the best member in the current generation, denoted F N , is lower than that of the previous generation F B , the exponent is increased by a multiplicative factor e p equal to 1.01, thereby intensifying the selection pressure. Conversely, if no improvement is observed, the exponent is decreased by a factor e n equal to 0.99, reducing the influence of fitness differences and promoting diversity within the population as described in Equation (4). This dynamic adjustment enables the algorithm to self-regulate the balance between exploration and exploitation throughout the search process. The optimization continues until the exponent value falls below a predefined threshold, indicating stagnation in the evolution and triggering termination of the process. The entire evolutionary flow, including initialization, selection, recombination, mutation, evaluation, and convergence monitoring, is summarized in the schematic diagram provided in Figure 2.
e = e × e p                       F B < F N e × e n                     F B = F N
The genetic algorithm parameters, summarized in Table 1, were selected to ensure a robust balance between exploration of the solution space and exploitation of promising solutions. A population size of 30 was chosen as a trade-off, providing sufficient genetic diversity for a problem of this scale without incurring excessive computational cost per generation. The crossover probability of 0.80 and mutation probability of 0.16 are standard values recommended in foundational literature, designed to consistently generate novel candidate solutions while preventing premature convergence. The 10% elitism rate guarantees that the best-performing solution is always preserved in the subsequent generation. The remaining members for mating are selected using a roulette-wheel mechanism based on fitness-proportional probabilities. Each mutation involves perturbing a node’s axial coordinate within a 0.1 mm diameter hypersphere to maintain fine-grained local exploration. The optimization process, driven by a dynamic fitness exponent, terminates when the exponent falls below its initial value of 1.0, indicating convergence. The suitability of this entire parameter set is ultimately demonstrated by the accurate and consistent results achieved in the validation studies. The algorithm was implemented by the authors using custom code written in C++.
Figure 2. Flowchart of the genetic algorithm-based energy minimization process. The process begins with an initial population of candidate solutions ( P B ). It then enters an evolutionary loop involving selection, crossover, and mutation to generate a new population ( P N ). The Total Potential Energy (TPE) of each population is calculated to evaluate its fitness. A key feature is the adaptive fitness exponent, which is increased or decreased based on whether the new population shows improvement, dynamically balancing exploration and exploitation.
Figure 2. Flowchart of the genetic algorithm-based energy minimization process. The process begins with an initial population of candidate solutions ( P B ). It then enters an evolutionary loop involving selection, crossover, and mutation to generate a new population ( P N ). The Total Potential Energy (TPE) of each population is calculated to evaluate its fitness. A key feature is the adaptive fitness exponent, which is increased or decreased based on whether the new population shows improvement, dynamically balancing exploration and exploitation.
Jmmp 09 00292 g002
Table 1. Key parameters for the genetic algorithm used in all simulations. These values control the evolutionary search process, including population diversity (Population size), generation of new solutions (Crossover and Mutation probability), and preservation of the best-found solution (Elitism). The initial fitness exponent (IFE) and its convergence limit govern the adaptive selection pressure and the termination criterion for the optimization.
Table 1. Key parameters for the genetic algorithm used in all simulations. These values control the evolutionary search process, including population diversity (Population size), generation of new solutions (Crossover and Mutation probability), and preservation of the best-found solution (Elitism). The initial fitness exponent (IFE) and its convergence limit govern the adaptive selection pressure and the termination criterion for the optimization.
Population size30 members
Elitism (percent of elite members)10%
Crossover probability0.80
Mutation probability0.16
Initial fitness exponent (IFE)1.00
Convergence limitIFE

3. Nonlinear Response and Plastic Deformation

The developed energy-based inverse formulation was employed to investigate nonlinear material behavior under a range of loading scenarios, with a specific focus on plastic deformation in one-dimensional bar structure. The test specimen was defined as a prismatic bar with a total length of 2000 mm and a uniform rectangular cross-sectional area of 100 mm2, as illustrated in Figure 3. To ensure consistency with classical beam theory and eliminate the influence of lateral or shear effects, deformation was restricted strictly to the axial direction. This modelling assumption effectively reduces the three-dimensional problem to a one-dimensional formulation, enabling direct comparison with analytical and inverse methods.
A bilinear elastoplastic material model was adopted, characterized by an initial elastic modulus E , a defined yield strength σ y , and a constant plastic modulus E p beyond the yield point. The properties used in the simulations represent a high-strength material, chosen to clearly demonstrate the method’s ability to handle characteristic nonlinear behavior. These properties are an elastic modulus of 260.2 GPa, a yield strength of 200 MPa, and a plastic modulus of 1.005 GPa. The material behavior was defined by linear elastic response up to σ y , followed by linear hardening governed by E p . This constitutive model allows for a clear distinction between recoverable elastic deformation and permanent plastic strain accumulation. The stress–strain relationship used in the simulations is presented in Figure 4 and serves as the constitutive basis for all numerical experiments conducted in this study.
Figure 4. The bilinear elastoplastic stress–strain curve used in simulations for the single-bar model and the central bar (Bar 2) of the multi-bar model. The material exhibits linear elastic behavior up to a yield strength of 200 MPa, followed by a linear hardening response.
Figure 4. The bilinear elastoplastic stress–strain curve used in simulations for the single-bar model and the central bar (Bar 2) of the multi-bar model. The material exhibits linear elastic behavior up to a yield strength of 200 MPa, followed by a linear hardening response.
Jmmp 09 00292 g004
Figure 5. Displacement results for the single-bar model under a 10 kN load, in the direction of red arrow, which is within the elastic regime. The bar displaces by 0.952 mm under load and fully returns to its original configuration upon unloading, indicating the absence of permanent deformation.
Figure 5. Displacement results for the single-bar model under a 10 kN load, in the direction of red arrow, which is within the elastic regime. The bar displaces by 0.952 mm under load and fully returns to its original configuration upon unloading, indicating the absence of permanent deformation.
Jmmp 09 00292 g005
The structural element was analyzed under a series of axial loading conditions using both the proposed total potential energy minimization framework and conventional finite element simulations for validation. The structure was subjected to monotonic loading and unloading sequences in discrete force increments ranging from 5 to 30 kN, in 5 kN steps. These loading conditions included both elastic and plastic deformation regimes. One end of the bar was fully constrained in all translational directions, while axial loads were applied along the longitudinal z -axis at the free end, as shown in Figure 4. For load magnitudes below the yield threshold, the structure returned to its original configuration upon unloading, while for cases exceeding the yield point, load–unload cycles were introduced to evaluate residual stress development and assess post-yield behavior.
Figure 6. Stress–strain evolution of the single-bar model during loading and unloading at 10 kN. The material follows a linear elastic path up to a peak stress and then unloads along the same path back to zero stress and zero strain, as illustrated with red arrows, confirming fully recoverable deformation.
Figure 6. Stress–strain evolution of the single-bar model during loading and unloading at 10 kN. The material follows a linear elastic path up to a peak stress and then unloads along the same path back to zero stress and zero strain, as illustrated with red arrows, confirming fully recoverable deformation.
Jmmp 09 00292 g006
The accuracy and convergence behavior of the energy minimization process are inherently influenced by the genetic algorithm parameters, including population size, mutation rate, crossover probability, and seed initialization. Given the stochastic nature of genetic algorithms, individual runs may yield slightly different outcomes. To mitigate this variability and ensure robustness, the reported results represent the averaged outcomes of ten independent optimization runs. While this baseline configuration provides satisfactory accuracy, further improvements can be achieved through hyperparameter tuning or ensemble-based strategies.
Finite element analyses were conducted using the commercial software, employing C3D8R elements, linear eight-node brick elements with reduced integration, suitable for general-purpose nonlinear simulations. Due to the high aspect ratio of the bar, with length greatly exceeding cross-sectional dimensions, the structure was assumed to exhibit effectively one-dimensional behavior. Although this modelling simplification may introduce minor discrepancies due to transverse constraints and numerical integration, the resulting stress and displacement profiles were found to be in close agreement with those predicted by the proposed inverse formulation, thereby validating the reliability of the energy-based method in capturing nonlinear mechanical response and residual stress formation.
Figure 7. Displacement and residual deformation of the single-bar model under plastic loading. The initial 30 kN load, in the direction of red arrow, causes a large displacement (101.818 mm). Upon unloading, a permanent residual deformation of 98.982 mm remains. Subsequent reloading cycles to 30 kN and 45 kN (1.5 times the initial load) demonstrate further plastic deformation.
Figure 7. Displacement and residual deformation of the single-bar model under plastic loading. The initial 30 kN load, in the direction of red arrow, causes a large displacement (101.818 mm). Upon unloading, a permanent residual deformation of 98.982 mm remains. Subsequent reloading cycles to 30 kN and 45 kN (1.5 times the initial load) demonstrate further plastic deformation.
Jmmp 09 00292 g007
The displacements resulting from the application and removal of a 10 kN axial load are illustrated in Figure 5. The applied force induced a displacement of 0.952 mm along the longitudinal z -axis, entirely within the elastic regime. Upon unloading, the structure fully returned to its original configuration, confirming the absence of permanent deformation. The corresponding stress–strain response, shown in Figure 6, reveals that a strain of 0.000476 and a peak stress of 96.75 MPa developed during loading. After unloading, the stress fully relaxed to zero, as expected for linear elastic behavior, and the residual strain was negligible, demonstrating the accuracy of the proposed method in predicting recoverable deformation.
The highest applied load in this study was 30 kN, which exceeded the material’s yield strength and induced significant plastic deformation. This load produced an axial displacement of 101.818 mm, as shown in Figure 7. Upon unloading and reapplication of the same 30 kN load, the bar exhibited a slightly reduced displacement of 98.982 mm, indicative of permanent plastic strain. Subsequent loading cycles at the same force level resulted in a displacement of 101.871 mm, exceeding the value observed during initial loading, demonstrating strain accumulation due to cyclic plasticity. To further explore post-yield behavior, the applied load was increased to 45 kN, corresponding to 1.5 times the original peak load. This additional loading step generated a displacement of 251.776 mm, confirming enhanced plastic flow beyond the initial hardened state.
Figure 8 illustrates the stress–strain evolution during successive load cycles. In the first loading step, the strain increased to 0.050936 under a peak stress of 222.04 MPa. Upon unloading, the stress dropped to zero while a residual plastic strain of 0.049491 remained. During the subsequent load cycle, starting from this plastically deformed state, the stress increased further to 255.11 MPa, surpassing the previous maximum stress and indicating the onset of additional strain hardening. The corresponding strain reached 0.125888, significantly beyond the initial elastic–plastic transition, highlighting the material’s evolving resistance and permanent deformation characteristics under repeated mechanical loading.
The displacements and axial strains for all loading stages, as predicted by the potential energy minimization method, are summarized in Table 2 and Table 3, respectively. The resulting stress magnitudes after loading and residual stress magnitudes following each unloading stage are presented in Table 4. Across the full range of applied forces, from entirely elastic conditions to highly plastic deformation, the proposed energy-based inverse model demonstrates close agreement with finite element predictions. For instance, the predicted stress values in Table 4 deviate from the finite element method results by less than 1% across most load cases, demonstrating high quantitative accuracy. This consistency validates the robustness of the approach for both linear and nonlinear regimes. Although the model in its current implementation provides accurate residual stress reconstruction, further improvements in prediction accuracy could be achieved by systematic tuning of genetic algorithm parameters such as mutation radius, population diversity, and convergence criteria. Overall, the comparative analysis confirms that the metaheuristic potential energy minimization framework effectively captures both the elastic–plastic transition and residual stress development in structures composed of one-dimensional elements.

4. Nonlinear Deformation and Residual Stress

The developed potential energy minimization framework is extended to evaluate residual stress distributions arising from heterogeneous material behavior in constrained multi-bar systems. This representative three-bar assembly serves as a direct validation of the method’s applicability to such heterogeneous systems. A representative three-bar assembly is considered, composed of axially aligned prismatic elements of equal length but with deliberately mismatched mechanical properties to induce non-uniform plastic deformation under loading. As illustrated in Figure 9, one end of the assembly is fixed in all translational directions, while the free ends are joined at a common interface where a uniaxial displacement is applied along the x-direction to initiate axial deformation.
To ensure a purely axial response and eliminate out-of-plane effects, the material properties were deliberately mismatched. The outer bars (Bar 1 and Bar 3) were assigned identical properties characterized by lower stiffness and strength: an elastic modulus of 66.67 GPa, a yield strength of 100 MPa, and a plastic modulus of 0.335 GPa. In contrast, the central bar (Bar 2) was designed with significantly higher stiffness and strength: an elastic modulus of 260.2 GPa, a yield strength of 200 MPa, and a plastic modulus of 1.005 GPa, as summarized in Figure 10. This configuration enables investigation of internal force redistribution and residual stress development due to elastic–plastic mismatch, a condition frequently encountered in welded joints, dissimilar material interfaces, and functionally graded components.
The residual stress state following load removal is both analyzed using the proposed genetic algorithm-based total potential energy minimization method and validated through nonlinear finite element simulations. This case serves as a stringent benchmark for assessing the framework’s ability to resolve self-equilibrated internal stress distributions in the absence of external forces, relying solely on the principle of minimum potential energy and metaheuristic optimization. The modelling strategy builds upon prior research in eigenstrain-based inverse analysis and inelastic beam theory, while extending it to capture internal mechanical interactions in multi-material structure with one-dimensional elements.
The proposed genetic algorithm-based total potential energy minimization method was successfully employed to analyze the three-bar system under identical loading and boundary conditions. A uniaxial load of 50 kN was applied uniformly to the common free-end surface of the central bar, which has a cross-sectional area of 100 mm2. To preserve the geometric consistency of the assembly and isolate axial stress effects, the lengths of all three bars were held constant throughout the simulation. The results obtained from the energy minimization framework, as illustrated in the stress–strain diagrams in Figure 11, show that all three bars were strained up to 0.060782 prior to unloading, resulting in axial stresses of 119.860 MPa in the outer bars and 260.085 MPa in the central bar. Upon unloading, a residual strain of 0.059285 remained due to plastic deformation. In contrast to the single-bar homogeneous cases, which return to a stress-free state upon unloading, the heterogeneous system exhibits non-zero self-equilibrated residual stresses: 20.029 MPa tensile in the outer bars and 39.410 MPa compressive in the central bar. This distribution arises from the internal force balance between elements of differing stiffness and plastic resistance. The central bar develops compressive residual stress due to its higher elastic modulus and yield strength, while the outer bars retain tensile residual stress, an outcome that aligns with theoretical expectations of stress redistribution in heterogeneous assemblies. These findings confirm the ability of the proposed inverse formulation to accurately resolve internal residual stress fields in multi-material systems using only energy-based principles and metaheuristic optimization, without requiring explicit equilibrium constraints or matrix-based solvers.
The results obtained from the energy minimization framework were validated against an independent analytical calculation for the three-bar system. This analytical model is governed by two fundamental principles: compatibility, which requires that all three bars, Bar 1, Bar 2 and Bar 3, experience the same uniform axial strain, ε 1 = ε 2 = ε 3 = ε , and equilibrium, where the sum of the internal forces balances the applied external load, F = F 1 + F 2 + F 3 . Expressed in terms of stress, σ , and cross-sectional area, A , this becomes F = A σ 1 + σ 2 + σ 3 . As it was determined by the genetic algorithm solution, all three bars exceed their respective yield points at a 50 kN load, requiring the use of their bilinear elastoplastic stress–strain relationships, σ 1,3 = σ y , 1,3 + E p , 1,3 ε m a x ε y , 1,3 and σ 2 = σ y , 2 + E p , 2 ε m a x ε y , 2 , where ε m a x is maximum total strain, ε y is yield strain and σ y is yield strength. Substituting these expressions into the equilibrium condition yields a maximum strain of 0.0609 corresponding to peak stresses of 119.9 MPa in Bars 1 and 3 and 260.2 MPa for Bar 2. Upon removal of the external load, unloading is assumed to be purely elastic. The strain recovery, ε , is governed by the combined elastic stiffness of the system, F = A ε E 1 + E 2 + E 3 . For a load reduction, F , −50,000 N, the corresponding strain recovery is −0.0015. The associated elastic stress changes are −100 MPa in Bars 1 and 3 and −300 MPa in Bar 2. The residual stress in each bar is obtained by superimposing the elastic stress change on the peak stress, σ r e s = σ m a x + σ , resulting in tensile residual stresses of +19.9 MPa in Bars 1 and 3, and a compressive residual stress of −39.8 MPa in Bar 2. These analytical results show excellent agreement with the outcomes of the genetic algorithm-based total potential energy minimization method, confirming the physical reliability of the proposed approach. Table 5 presents the displacements, strains, and stresses computed analytically for both the loaded and unloaded states. The results of analytical calculations show very good agreement with genetic algorithm-based total potential energy minimization method results.
The displacements, axial strains, and stress values obtained after the loading and unloading stages for the genetic algorithm-based potential energy minimization method, analytical calculation and the finite element method are presented in Table 5. While the results from both approaches are in close agreement, slight discrepancies are observed in the magnitudes from analytical calculation, primarily attributed to the use of C3D8R elements in the finite element model, which may introduce localized numerical artifacts due to reduced integration and mesh discretization. In the finite element method, the sum of residual tensile and compressive stresses satisfies global equilibrium, as expected. A similar self-equilibrated state is observed in the results from the energy minimization method; however, a small deviation from analytical calculation remains. This deviation is not indicative of a computational error but rather reflects the stochastic nature of the genetic algorithm. For the purpose of this study, the genetic algorithm parameters were held constant, as defined in the earlier solutions. Although adjusting these parameters on a case-by-case basis could drive the solution closer to exact equilibrium, the current implementation was intentionally preserved to illustrate the intrinsic behavior and convergence characteristics of the method. This minor residual imbalance highlights a key aspect of evolutionary optimization techniques and underscores the importance of parameter tuning when high precision is required.

5. Discussion

The primary advantage of the proposed method over conventional finite element method lies in its reformulation of the inverse problem as a single, global energy minimization task. Unlike traditional nonlinear finite element method, which requires incremental steps, path-dependent loading histories, and the repeated solution of large systems of equations, the presented approach directly searches for the final equilibrium state that minimizes the total potential energy of the structure. This avoids matrix assembly and significantly simplifies the computational process. The use of a genetic algorithm further enhances robustness by enabling a global search of the solution space, reducing the risk of getting trapped in local minima, a common challenge for gradient-based solvers in non-convex energy landscapes. Moreover, because each candidate solution can be evaluated independently, the algorithm is inherently parallelizable, offering excellent scalability and potential for speed-up on modern computing architectures. This approach thus provides a conceptually streamlined and physically grounded alternative to conventional finite element method for residual stress reconstruction.
From a computational cost perspective, the two methods exhibit fundamentally different scaling behaviors. The time complexity of a traditional nonlinear finite element method analysis is typically dominated by the cost of solving a large system of linear equations at each load increment, a process that scales by polynomials with the number of degrees of freedom. In contrast, the cost of the proposed genetic algorithm-based method is determined by the number of generations required for convergence, the population size, and the cost of a single fitness evaluation. This fitness evaluation, which involves calculating the total potential energy, scales only linearly with the number of elements. The most significant efficiency advantage of the evolutionary approach, however, is its inherent parallelizability. The fitness of every individual in the population can be evaluated simultaneously on a multi-core processor. This provides a fundamental architectural advantage over the largely sequential nature of an incremental finite element method solver, offering a clear path to significant speed-up for complex, nonlinear problems without being constrained by the bottlenecks of traditional matrix solvers.
The proposed method is particularly well-suited to structural problems that can be discretized using one-dimensional elements and that undergo plastic deformation due to mechanical overloading. Practical applications include axially loaded truss structures in civil or mechanical engineering, where plastic deformation can occur due to accidental overloading, seismic events, or temporary construction misalignment. Another relevant scenario is the assessment of post-yield behavior in tension members of deployable or reconfigurable mechanical systems, where internal stresses may arise after retraction or repositioning. The method can also be applied to cable-stayed or prestressed frameworks after relaxation or load redistribution, where stress-free configurations are no longer accessible through direct measurement. In all these examples, the novelty of the method lies in its ability to infer the internal stress state without requiring path-dependent simulations or measurement of strain fields. Instead, residual stresses are reconstructed solely from the post-load geometry by minimizing the total potential energy, making this approach uniquely suited to inverse problems where direct observation of plastic history is impractical.
A critical analysis of the results requires understanding the sources of the minor deviations observed between the proposed method, the finite element model, and the analytical solution. These deviations do not indicate a flaw but rather arise from the distinct nature of each approach. Firstly, the genetic algorithm is inherently stochastic; it excels at finding the global region of the energy minimum but may converge to a near-optimal solution that produces a negligible, non-zero force imbalance, as seen in the results. This reflects the trade-off between computational efficiency and achieving perfect mathematical equilibrium. Secondly, the finite element benchmark has its own sources of numerical artifacts, including the choice of C3D8R elements with reduced integration and the specific mesh discretization, which can influence the final stress calculation. Finally, the analytical model represents an idealized case with perfect boundary conditions and material behavior. The fact that our method’s results align so closely with both of these different benchmarks, with well-understood and minor sources of deviation, provides strong confidence in its physical reliability and accuracy.
A more fundamental challenge inherent to any inverse problem is the potential for non-uniqueness of the solution. It is therefore important to clarify how this issue is addressed within the proposed framework. While a global optimization algorithm like a genetic algorithm is effective at finding a global minimum, it cannot, by itself, resolve ambiguity if multiple, degenerate global minima exist. The novelty and justification of the present approach lie in grounding the inverse problem in a fundamental physical law that inherently guides the search to a unique, physically stable state. A purely mathematical formulation might allow for several different internal stress fields that satisfy equilibrium; however, the Principle of Minimum Total Potential Energy provides an essential physical constraint. This principle dictates that a real mechanical system in stable equilibrium will occupy the state corresponding to the single, global minimum of its total potential energy. The method is therefore designed not just to find a minimum, but to find the unique, physically correct equilibrium state that nature itself would select. By reformulating the ill-posed inverse problem as a search for this specific, lowest-energy state, a physical law is directly leveraged to resolve the issue of non-uniqueness.
The reliability of this implementation, and therefore the validity of the results, is established through two key considerations. First, the code is not a proprietary black box but is a direct implementation of the standard, well-documented principles of genetic algorithms, including classical operators for selection, crossover, and mutation. This ensures the methodology is transparent and could be replicated using other standard toolkits, such as those available in MATLAB or Python libraries. Second, and more critically, the ultimate proof of the implementation’s reliability comes from the rigorous validation presented in this work. The close agreement between the algorithm’s predictions and the results from both independent analytical calculations and the commercial finite element software Abaqus serves as a robust external benchmark. While genetic algorithms are inherently stochastic, which can lead to minor deviations from exact equilibrium as noted in the results, the consistent accuracy achieved across multiple test cases provides high confidence in the correctness and robustness of the computational tool used.
A crucial consideration for any method based on metaheuristics, such as the genetic algorithm employed in this study, is the rigor of the obtained solution. Two primary risks inherent to this approach must be addressed. The first is stochastic convergence, as a genetic algorithm is not guaranteed to find the exact mathematical global optimum in a finite number of steps, instead converging to a near-optimal solution. In a physical context, this can manifest as a negligible but non-zero residual force imbalance in the final predicted state. The second risk is parameter sensitivity, as the algorithm’s performance and convergence can be influenced by the initial choice of parameters. Several remedies are employed to mitigate these risks and ensure a rigorous outcome. To address stochastic convergence, the final force imbalance of the predicted state is verified to be acceptably close to zero. Furthermore, confidence in the consistency and robustness of the solution is established by performing multiple independent optimization runs, as was achieved in this study. The issue of parameter sensitivity is addressed by grounding the initial selection in established literature, while acknowledging that a formal hyperparameter tuning process or the use of ensemble-based approaches represents a key area for future work to ensure optimal performance in more complex, generalized applications. Through the acknowledgment of these characteristics and the application of these mitigation strategies, the rigor of the metaheuristic approach can be confidently established.
The performance and convergence behavior of the presented methodology are inherently linked to the choice of the genetic algorithm parameters. While the parameters used in this study yielded accurate and robust results for the validation cases, it is acknowledged that a formal sensitivity analysis was not performed. The selection was based on established literature and was shown to be effective for the specific problems analyzed. However, for broader applications, particularly on problems with higher dimensionality or more complex energy landscapes, the optimal performance would likely benefit from a systematic hyperparameter tuning process. This represents a key area for future work, which could involve automated tuning strategies or developing ensemble-based approaches to mitigate the effects of parameter sensitivity.
The methodology presented in this study was validated on one-dimensional structures, demonstrating its foundational robustness and viability. However, extending the framework to more complex applications presents both challenges and opportunities for future development. A primary limitation is scalability to higher-dimensional systems, such as two- or three-dimensional solids, where direct optimization over high-dimensional stress-free configurations may lead to computational intractability. To address this, future work will explore parameterizing the solution space using reduced-order representations like basis functions and enhancing search efficiency through hybrid metaheuristic or memetic algorithms. While these algorithmic strategies are auxiliary to the core energy-based principle, they serve to improve optimization performance without altering the physical foundation of total potential energy minimization.
Beyond spatial scalability, the method can also be generalized to incorporate other deformation modes, such as bending, by extending the formulation to include nodal rotations and introducing plasticity variables such as stress-free curvature. Since the variational principle of minimum total potential energy is universal, such generalizations remain within the same theoretical framework. Another important direction is the incorporation of anisotropic material behavior, which would involve adapting the energy functional to more complex constitutive models. Finally, while this study provides robust validation against analytical solutions and finite element benchmarks, the ultimate verification of predictive capability requires experimental validation. Future work should thus include a dedicated experimental campaign to physically measure residual deformation after plastic loading and compare it directly with the inverse method’s predictions.
A further consideration is the prediction of ultimate failure or breaking strength. While the current implementation does not explicitly model fracture, the underlying energy-based framework is capable of incorporating such behavior. The prediction of failure is a function of the constitutive material model, not a limitation of the energy minimization principle itself. The bilinear elastoplastic model used in this study assumes continuous hardening without a defined failure point to provide a clear validation of the inverse method for plasticity. To enable the prediction of breaking strength, the methodology could be extended by incorporating a more advanced material model that includes a failure criterion, such as a maximum principal strain or a damage evolution law. In such a scenario, once an element’s state variable exceeds the critical failure threshold, its contribution to the total strain energy in the potential energy functional would be set to zero. This would effectively model the loss of load-carrying capacity for that element, allowing the algorithm to find the equilibrium configuration of the remaining damaged structure. This extension would transform the framework into a tool not only for residual stress estimation but also for predicting ultimate structural strength and failure progression.

6. Conclusions

This study introduced and validated a novel inverse methodology that reformulates residual stress estimation as a global optimization task, governed by the principle of minimum total potential energy and solved with an evolutionary algorithm. The framework was rigorously validated on single- and multi-bar structures, demonstrating excellent agreement with analytical and finite element method benchmarks in predicting load-induced residual stresses, including those arising from material heterogeneity. The primary engineering value of this non-incremental, matrix-free approach lies in its application to structural integrity assessments where a component’s plastic loading history is unknown, as it can successfully determine the residual stress state from the final, post-load geometry alone.
Looking forward, the methodology holds significant potential for extension to more complex, real-world scenarios. As discussed, a key priority for future work is addressing the scalability challenge for two- and three-dimensional structures, which can be achieved through techniques like solution space parameterization and the use of hybrid algorithms. The underlying variational framework is also inherently flexible, allowing for generalization to other loading modes, such as bending, and the incorporation of more advanced material models that include anisotropic behavior or failure criteria. These future directions position the proposed energy-based inverse method as a promising and versatile alternative to traditional computational techniques for a wide range of challenging inverse problems in structural mechanics.

Author Contributions

Conceptualization, F.U.; methodology, F.U.; software, F.U.; validation, F.U.; formal analysis, F.U.; investigation, F.U.; resources, F.U.; data curation, F.U.; writing—original draft preparation, F.U.; writing—review and editing, F.U. and A.M.K.; visualization, F.U.; supervision, A.M.K.; project administration, A.M.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Tabatabaeian, A.; Ghasemi, A.R.; Shokrieh, M.M.; Marzbanrad, B.; Baraheni, M.; Fotouhi, M. Residual Stress in Engineering Materials: A Review. Adv. Eng. Mater. 2022, 24, 2100786. [Google Scholar] [CrossRef]
  2. Nasir, N.S.M.; Razab, M.K.A.A.; Mamat, S.; Ahmad, M.I. Review on Welding Residual Stress. ARPN J. Eng. Appl. Sci. 2016, 11, 6166–6175. [Google Scholar]
  3. Franceschi, A.; Stahl, J.; Kock, C.; Selbmann, R.; Ortmann-Ishkina, S.; Jobst, A.; Merklein, M.; Kuhfuß, B.; Bergmann, M.; Behrens, B.A.; et al. Strategies for Residual Stress Adjustment in Bulk Metal Forming. Arch. Appl. Mech. 2021, 91, 3557–3577. [Google Scholar] [CrossRef]
  4. Akhtar, W.; Lazoglu, I.; Liang, S.Y. Prediction and Control of Residual Stress-Based Distortions in the Machining of Aerospace Parts: A Review. J. Manuf. Process. 2022, 76, 106–122. [Google Scholar] [CrossRef]
  5. Zhang, T.; Dorfmann, L.; Liu, Y. Buckling of Residually Stressed Cylindrical Tubes under Compression. Int. J. Solids Struct. 2025, 321, 113578. [Google Scholar] [CrossRef]
  6. Käß, M.; Weihe, S.; Werz, M. Residual Stress and Distortion Analysis of Laser Powder Bed Additive Manufactured Parts Using the Incremental Hole Drilling Method and the Cantilever Method. J. Adv. Join. Process. 2025, 12, 100336. [Google Scholar] [CrossRef]
  7. Digiacomo, G. Residual Stresses in High-Strength Steel Weldments and Their Dimensional Stability during Welding and Stress Relieving. Mater. Sci. Eng. 1969, 4, 133–145. [Google Scholar] [CrossRef]
  8. Poyraz, Ö.; Kuşhan, M.C. Residual Stress-Induced Distortions in Laser Powder Bed Additive Manufacturing of Nickel-Based Superalloys. Stroj. Vestn./J. Mech. Eng. 2019, 65, 343–350. [Google Scholar] [CrossRef]
  9. Pang, W.K. Understanding and Improving the Thermal Stability of Layered Ternary Carbides in Ceramic Matrix Composites. In Advances in Ceramic Matrix Composites; Woodhead Publishing: Cambridge, UK, 2014; pp. 340–368. [Google Scholar] [CrossRef]
  10. Wang, L.; Yi, C.; Luo, J.; Zhang, Z.; Li, H.; Chen, L.; Wu, F. 3D Printing for All-Solid-State Batteries. Mater. Sci. Eng. R Rep. 2025, 166, 101053. [Google Scholar] [CrossRef]
  11. Heikebrügge, S.; Ottermann, R.; Breidenstein, B.; Wurz, M.C.; Dencker, F. Residual Stresses from Incremental Hole Drilling Using Directly Deposited Thin Film Strain Gauges. Exp. Mech. 2022, 62, 701–713. [Google Scholar] [CrossRef]
  12. Uzun, F.; Korsunsky, A.M. The OxCM Contour Method Solver for Residual Stress Evaluation. Eng. Comput. 2024, 40, 3059–3072. [Google Scholar] [CrossRef]
  13. Gu, B.; Wang, Y.; Gao, L.; Xu, G.; Liu, L.; Sun, S. Effects of Ultrasonic Impact Treatment on the Tensile Properties of DH36 Steel Welded Joints. Eng. Fract. Mech. 2025, 315, 110798. [Google Scholar] [CrossRef]
  14. Liu, X.; Luzin, V.; Qin, H.; Bi, Z.; Li, M.; Liu, Y.; Sun, K.; Chen, D. Mapping of Three-Dimensional Residual Stresses by Neutron Diffraction in Nickel-Based Superalloy Discs Prepared under Different Quenching Conditions. Mater. Today Commun. 2022, 32, 103876. [Google Scholar] [CrossRef]
  15. Zhang, Y.; Ganguly, S.; Stelmukh, V.; Fitzpatrick, M.E.; Edwards, L. Validation of the Contour Method of Residual Stress Measurement in a MIG 2024 Weld by Neutron and Synchrotron X-Ray Diffraction. J. Neutron Res. 2003, 11, 181–185. [Google Scholar] [CrossRef]
  16. Everaerts, J.; Salvati, E.; Uzun, F.; Romano Brandt, L.; Zhang, H.; Korsunsky, A.M. Separating Macro- (Type I) and Micro- (Type II+III) Residual Stresses by Ring-Core FIB-DIC Milling and Eigenstrain Modelling of a Plastically Bent Titanium Alloy Bar. Acta Mater. 2018, 156, 43–51. [Google Scholar] [CrossRef]
  17. Zhao, H.; Yu, C.; Liu, Z.; Liu, C.; Zhan, Y. A Novel Finite Element Method for Simulating Residual Stress of TC4 Alloy Produced by Laser Additive Manufacturing. Opt. Laser Technol. 2023, 157, 108765. [Google Scholar] [CrossRef]
  18. Medina-Juárez, I.; Araujo De Oliveira, J.; Moat, R.J.; García-Pastor, F.A. On the Accuracy of Finite Element Models Predicting Residual Stresses in Quenched Stainless Steel. Metals 2019, 9, 1308. [Google Scholar] [CrossRef]
  19. Kennedy, G.J.; Martins, J.R.R.A. A Parallel Finite-Element Framework for Large-Scale Gradient-Based Design Optimization of High-Performance Structures. Finite Elem. Anal. Des. 2014, 87, 56–73. [Google Scholar] [CrossRef]
  20. Zhou, J.; Sun, Z.; Kanouté, P.; Retraint, D. Reconstruction of Residual Stress and Work Hardening and Their Effects on the Mechanical Behaviour of a Shot Peened Structure. Mech. Mater. 2018, 127, 100–111. [Google Scholar] [CrossRef]
  21. Rahimi, S.; King, M.; Siddiq, M.A.; Wynne, B.P.P. Modelling and Measurements of Thermally Induced Residual Stress in IN718 Nickel-Based Superalloy during Non-Uniform Quenching. Mater. Des. 2025, 250, 113615. [Google Scholar] [CrossRef]
  22. DeWald, A.T.; Hill, M.R. Multi-Axial Contour Method for Mapping Residual Stresses in Continuously Processed Bodies. Exp. Mech. 2006, 46, 473–490. [Google Scholar] [CrossRef]
  23. Achintha, M.; Nowell, D. Eigenstrain Modelling of Residual Stresses Generated by Laser Shock Peening. J. Mater. Process. Technol. 2011, 211, 1091–1101. [Google Scholar] [CrossRef]
  24. Achintha, M.; Nowell, D.; Shapiro, K.; Withers, P.J. Eigenstrain Modelling of Residual Stress Generated by Arrays of Laser Shock Peening Shots and Determination of the Complete Stress Field Using Limited Strain Measurements. Surf. Coat. Technol. 2013, 216, 68–77. [Google Scholar] [CrossRef]
  25. Uzun, F.; Korsunsky, A.M. On the Analysis of Post Weld Heat Treatment Residual Stress Relaxation in Inconel Alloy 740H by Combining the Principles of Artificial Intelligence with the Eigenstrain Theory. Mater. Sci. Eng. A 2019, 752, 180–191. [Google Scholar] [CrossRef]
  26. Sakanashi, Y.; Gungor, S.; Forsey, A.N.; Bouchard, P.J. Measurement of Creep Deformation across Welds in 316H Stainless Steel Using Digital Image Correlation. Exp. Mech. 2017, 57, 231–244. [Google Scholar] [CrossRef]
  27. Uzun, F.; Korsunsky, A.M. On the Application of Principles of Artificial Intelligence for Eigenstrain Reconstruction of Volumetric Residual Stresses in Non Uniform Inconel Alloy 740H Weldments. Finite Elem. Anal. Des. 2019, 155, 43–51. [Google Scholar] [CrossRef]
  28. Zhou, J.; Barrett, R.A.; Leen, S.B. Three-Dimensional Finite Element Modelling for Additive Manufacturing of Ti-6Al-4V Components: Effect of Scanning Strategies on Temperature History and Residual Stress. J. Adv. Join. Process. 2022, 5, 100106. [Google Scholar] [CrossRef]
  29. Xiong, T.; Wang, L.; Gao, X.; Liu, G. Inverse Identification of Residual Stress Distribution in Aluminium Alloy Components Based on Deep Learning. Appl. Sci. 2022, 12, 1195. [Google Scholar] [CrossRef]
  30. Chen, M.J.; Aquino, W.; Walsh, T.F.; Reu, P.L.; Johnson, K.L.; Rouse, J.W.; Jared, B.H.; Bishop, J.E. A Generalized Stress Inversion Approach with Application to Residual Stress Estimation. J. Appl. Mech. 2020, 87, 111007. [Google Scholar] [CrossRef]
  31. Tartibi, M.; Steigmann, D.J.; Komvopoulos, K. An Inverse Finite Element Method for Determining Residual and Current Stress Fields in Solids. Comput. Mech. 2016, 58, 797–817. [Google Scholar] [CrossRef]
  32. Li, F.; Chang, N. The Optimization Algorithm for Large-Scale in Situ Stress Field. Adv. Civ. Eng. 2021, 2021, 5539898. [Google Scholar] [CrossRef]
  33. Mitchell, M. An Introduction to Genetic Algorithms; The MIT Press: Cambridge, MA, USA, 1998; ISBN 978-0-262-63185-3. [Google Scholar]
  34. Digital, P.; Correlation, I.; Algorithms, G.; Jin, H.; Bruck, H. Pointwise Digital Image Correlation Using Genetic Algorithms. Exp. Tech. 2005, 29, 36–39. [Google Scholar] [CrossRef]
  35. Pizzocri, D.; Genoni, R.; Antonello, F.; Barani, T.; Cappia, F. 3D Reconstruction of Two-Phase Random Heterogeneous Material from 2D Sections: An Approach via Genetic Algorithms. Nucl. Eng. Technol. 2021, 53, 2968–2976. [Google Scholar] [CrossRef]
  36. Toklu, Y.C.; Uzun, F. Analysis of Tensegric Structures by Total Potential Optimization Using Metaheuristic Algorithms. J. Aerosp. Eng. 2016, 29, 4016023. [Google Scholar] [CrossRef]
  37. Tsai, C.L.; Roddatis, V.; Chandran, C.V.; Ma, Q.; Uhlenbruck, S.; Bram, M.; Heitjans, P.; Guillon, O. Li7La3Zr2O12 Interface Modification for Li Dendrite Prevention. ACS Appl. Mater. Interfaces 2016, 8, 10617–10626. [Google Scholar] [CrossRef] [PubMed]
  38. Xie, H.; Feng, J.; Zhao, H. Lithium Metal Batteries with All-Solid/Full-Liquid Configurations. Energy Storage Mater. 2023, 61, 102918. [Google Scholar] [CrossRef]
  39. Li, J.; Wang, R. Recent Advances in the Interfacial Stability, Design and in Situ Characterization of Garnet-Type Li7La3Zr2O12 Solid-State Electrolytes Based Lithium Metal Batteries. Ceram. Int. 2021, 47, 13280–13290. [Google Scholar] [CrossRef]
  40. Kim, M.; Han, A.; Lee, J.; Cho, S.; Moon, I.; Na, J. Comparison of Derivative-Free Optimization: Energy Optimization of Steam Methane Reforming Process. Int. J. Energy Res. 2023, 2023, 8868540. [Google Scholar] [CrossRef]
  41. Kim, J.H.; Lee, H.M.; Jung, D.; Sadollah, A. Performance Measures of Metaheuristic Algorithms. In Harmony Search Algorithm; Kim, J., Geem, Z., Eds.; Advances in Intelligent Systems and Computing; Springer: Berlin/Heidelberg, Germany, 2015; Volume 382, pp. 11–17. [Google Scholar] [CrossRef]
  42. Kvasov, D.E.; Mukhametzhanov, M.S. Metaheuristic vs. Deterministic Global Optimization Algorithms: The Univariate Case. Appl. Math. Comput. 2018, 318, 245–259. [Google Scholar] [CrossRef]
  43. Pham, N.; Malinowski, A.; Bartczak, T. Comparative Study of Derivative Free Optimization Algorithms. IEEE Trans. Ind. Inf. 2011, 7, 592–600. [Google Scholar] [CrossRef]
  44. Katoch, S.; Chauhan, S.S.; Kumar, V. A Review on Genetic Algorithm: Past, Present, and Future. Multimed. Tools Appl. 2021, 80, 8091–8126. [Google Scholar] [CrossRef] [PubMed]
  45. Yang, X.S. A Generalized Evolutionary Metaheuristic (GEM) Algorithm for Engineering Optimization. Cogent Eng. 2024, 11, 2364041. [Google Scholar] [CrossRef]
  46. Uzun, F. Form-Finding of Free-Form Tensegrity Structures by Genetic Algorithm–Based Total Potential Energy Minimization. Adv. Struct. Eng. 2017, 20, 784–796. [Google Scholar] [CrossRef]
  47. Uzun, F. Form-Finding and Analysis of an Alternative Tensegrity Dome Configuration. Adv. Struct. Eng. 2017, 20, 1644–1657. [Google Scholar] [CrossRef]
  48. Grefenstette, J.J. Optimization of Control Parameters for Genetic Algorithms. IEEE Trans. Syst. Man Cybern. 1986, 16, 122–128. [Google Scholar] [CrossRef]
Figure 1. Illustration of roulette-wheel selection probabilities, represented by different colors, for different fitness exponent ( e ) values. The fitness exponent is a parameter used to control the selection pressure in the genetic algorithm. At e = 0, all individuals in the population have an equal probability of selection (10%), promoting diversity. As e increases, the selection pressure intensifies, and the probability becomes heavily skewed towards the fittest individuals (e.g., 46% for the best individual at e = 2), promoting exploitation of the best-found solutions.
Figure 1. Illustration of roulette-wheel selection probabilities, represented by different colors, for different fitness exponent ( e ) values. The fitness exponent is a parameter used to control the selection pressure in the genetic algorithm. At e = 0, all individuals in the population have an equal probability of selection (10%), promoting diversity. As e increases, the selection pressure intensifies, and the probability becomes heavily skewed towards the fittest individuals (e.g., 46% for the best individual at e = 2), promoting exploitation of the best-found solutions.
Jmmp 09 00292 g001
Figure 3. Geometry and boundary conditions for the single-bar model used in the validation studies. The model consists of a prismatic bar with a total length of 2000 mm and a cross-sectional area of 100 mm2. The left end is fully fixed against all translations, while the right end is free. An axial force, F, is applied to the free end along the longitudinal z -axis.
Figure 3. Geometry and boundary conditions for the single-bar model used in the validation studies. The model consists of a prismatic bar with a total length of 2000 mm and a cross-sectional area of 100 mm2. The left end is fully fixed against all translations, while the right end is free. An axial force, F, is applied to the free end along the longitudinal z -axis.
Jmmp 09 00292 g003
Figure 8. Stress–strain evolution during loading cycles with hardening for the single-bar model. The initial loading cycle (red) exceeds the yield point, leaving a residual plastic strain upon unloading. The subsequent reloading cycle (green) follows the elastic unloading path and then continues along a new hardened plastic response curve to a higher stress and strain.
Figure 8. Stress–strain evolution during loading cycles with hardening for the single-bar model. The initial loading cycle (red) exceeds the yield point, leaving a residual plastic strain upon unloading. The subsequent reloading cycle (green) follows the elastic unloading path and then continues along a new hardened plastic response curve to a higher stress and strain.
Jmmp 09 00292 g008
Figure 9. Geometry and boundary conditions for the three-bar multi-material system. The assembly consists of three parallel bars of 2000 mm length fixed at the left end and joined at a common interface on the right. An axial force, F, is applied to this common interface to induce uniform axial displacement.
Figure 9. Geometry and boundary conditions for the three-bar multi-material system. The assembly consists of three parallel bars of 2000 mm length fixed at the left end and joined at a common interface on the right. An axial force, F, is applied to this common interface to induce uniform axial displacement.
Jmmp 09 00292 g009
Figure 10. Material property distribution across the three-bar configuration, illustrating the bilinear stress–strain response for each component. The outer bars (Bar 1 and Bar 3) have a lower yield strength (100 MPa) compared to the central bar (Bar 2, 200 MPa), creating a heterogeneous system designed to produce residual stresses upon unloading.
Figure 10. Material property distribution across the three-bar configuration, illustrating the bilinear stress–strain response for each component. The outer bars (Bar 1 and Bar 3) have a lower yield strength (100 MPa) compared to the central bar (Bar 2, 200 MPa), creating a heterogeneous system designed to produce residual stresses upon unloading.
Jmmp 09 00292 g010
Figure 11. Stress–strain response and residual stress development in the multi-bar assembly. During loading, all bars follow their respective material curves to a state of uniform strain. Upon unloading, the different elastic responses of the bars cause a self-equilibrated residual stress state to form as compressive stress (−39.410 MPa) develops in the stiffer central bar, balanced by tensile stress (+20.029 MPa) in the outer bars.
Figure 11. Stress–strain response and residual stress development in the multi-bar assembly. During loading, all bars follow their respective material curves to a state of uniform strain. Upon unloading, the different elastic responses of the bars cause a self-equilibrated residual stress state to form as compressive stress (−39.410 MPa) develops in the stiffer central bar, balanced by tensile stress (+20.029 MPa) in the outer bars.
Jmmp 09 00292 g011
Table 2. Total displacement ( d z ) and axial strain ( ε z z ) for the single-bar model under various tensile load cases, as predicted by the proposed genetic algorithm-based method. The results show a purely elastic response up to 20 kN, as indicated by the full recovery upon unloading ( U ). For loads of 25 kN and 30 kN, the model exhibits significant plastic deformation, resulting in non-zero residual displacement and strain. Cycled loading ( C L ) at these higher forces demonstrates further strain accumulation.
Table 2. Total displacement ( d z ) and axial strain ( ε z z ) for the single-bar model under various tensile load cases, as predicted by the proposed genetic algorithm-based method. The results show a purely elastic response up to 20 kN, as indicated by the full recovery upon unloading ( U ). For loads of 25 kN and 30 kN, the model exhibits significant plastic deformation, resulting in non-zero residual displacement and strain. Cycled loading ( C L ) at these higher forces demonstrates further strain accumulation.
5 kN10 kN15 kN20 kN25 kN30 kN
d z ε z z d z ε z z d z ε z z d z ε z z d z ε z z d z ε z z
L 0.4780.000240.9520.000480.4270.000711.9400.0009751.7150.02586101.820.05091
U 0.0000.000000.0000.000000.0000.000000.0000.0000049.3450.0246798.9820.04949
C L   ( L x 1.0 ) N/AN/AN/AN/AN/AN/AN/AN/A51.7810.02589101.870.05094
C L   ( L x 1.5 ) N/AN/AN/AN/AN/AN/AN/AN/A176.710.08836251.780.12589
Table 3. Benchmark results for the single-bar model’s total displacement ( d z ) and axial strain ( ε z z ) across all loading conditions, obtained from finite element analysis. This table serves as the primary validation dataset for the genetic algorithm-based predictions shown in Table 2, demonstrating close agreement in both the elastic and plastic deformation regimes.
Table 3. Benchmark results for the single-bar model’s total displacement ( d z ) and axial strain ( ε z z ) across all loading conditions, obtained from finite element analysis. This table serves as the primary validation dataset for the genetic algorithm-based predictions shown in Table 2, demonstrating close agreement in both the elastic and plastic deformation regimes.
5 kN10 kN15 kN20 kN25 kN30 kN
d z ε z z d z ε z z d z ε z z d z ε z z d z ε z z d z ε z z
L 0.4740.000240.9490.000471.4230.000711.8970.0009551.2700.02564100.800.05040
U 0.0000.000000.0000.000000.0000.000000.0000.0000048.8900.0244597.9900.04899
C L   ( L x 1.0 ) N/AN/AN/AN/AN/AN/AN/AN/A51.2700.02564100.800.05040
C L   ( L x 1.5 ) N/AN/AN/AN/AN/AN/AN/AN/A175.200.08760249.500.12475
Table 4. Comparison of stress results (in MPa) for the single-bar model between the proposed genetic algorithm (GA) and the finite element method (FEM) benchmark. The table shows the peak stress during initial loading ( L ), the residual stress after unloading ( U ), and the peak stress during cycled loading ( C L ) for various applied forces. The close agreement between the GA and FEM results across all cases validates the accuracy of the proposed inverse method.
Table 4. Comparison of stress results (in MPa) for the single-bar model between the proposed genetic algorithm (GA) and the finite element method (FEM) benchmark. The table shows the peak stress during initial loading ( L ), the residual stress after unloading ( U ), and the peak stress during cycled loading ( C L ) for various applied forces. The close agreement between the GA and FEM results across all cases validates the accuracy of the proposed inverse method.
5 kN10 kN15 kN20 kN25 kN30 kN
G A F E M G A F E M G A F E M G A F E M G A F E M G A F E M
L 50.350.0100.4100.0150.4150.0204.6200.0249.8250.0299.9300.0
U 0.00.00.00.00.00.00.00.00.00.00.00.0
C L   ( L x 1.0 ) N/AN/AN/AN/AN/AN/AN/AN/A249.9250.0299.9300.0
C L   ( L x 1.5 ) N/AN/AN/AN/AN/AN/AN/AN/A374.8375.0449.9450.0
Table 5. Three-way comparison of results for the multi-bar heterogeneous system, validating the genetic algorithm ( G A ) predictions against analytical calculations ( A C ) and the finite element method ( F E M ). The table presents the axial displacement ( d z ), axial strain ( ε z z ), and axial stress ( σ z z ) for each of the three bars. The strong agreement across all three methods for both the loaded ( L ) and unloaded ( U ) states confirms the model’s ability to accurately resolve the self-equilibrated residual stresses that arise from material mismatch.
Table 5. Three-way comparison of results for the multi-bar heterogeneous system, validating the genetic algorithm ( G A ) predictions against analytical calculations ( A C ) and the finite element method ( F E M ). The table presents the axial displacement ( d z ), axial strain ( ε z z ), and axial stress ( σ z z ) for each of the three bars. The strong agreement across all three methods for both the loaded ( L ) and unloaded ( U ) states confirms the model’s ability to accurately resolve the self-equilibrated residual stresses that arise from material mismatch.
Bar 1Bar 2Bar 3
d z ε z z σ z z d z ε z z σ z z d z ε z z σ z z
L   ( G A ) 121.570.06078119.86121.5650.06078260.08121.570.06078119.86
U   ( G A ) 118.570.0592920.03118.5700.05929−39.41118.570.0592920.03
L   ( A C ) 121.800.0609119.90121.800.0609260.20121.800.0609119.90
U   ( A C ) 118.800.059419.90118.800.059439.80118.800.059419.90
L   ( F E M ) 121.900.06095122.80121.9000.06095254.50121.900.06095122.80
U   ( F E M ) 118.900.0594522.77118.9000.05945−45.54118.900.0594522.77
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Uzun, F.; Korsunsky, A.M. Residual Stress Estimation in Structures Composed of One-Dimensional Elements via Total Potential Energy Minimization Using Evolutionary Algorithms. J. Manuf. Mater. Process. 2025, 9, 292. https://doi.org/10.3390/jmmp9090292

AMA Style

Uzun F, Korsunsky AM. Residual Stress Estimation in Structures Composed of One-Dimensional Elements via Total Potential Energy Minimization Using Evolutionary Algorithms. Journal of Manufacturing and Materials Processing. 2025; 9(9):292. https://doi.org/10.3390/jmmp9090292

Chicago/Turabian Style

Uzun, Fatih, and Alexander M. Korsunsky. 2025. "Residual Stress Estimation in Structures Composed of One-Dimensional Elements via Total Potential Energy Minimization Using Evolutionary Algorithms" Journal of Manufacturing and Materials Processing 9, no. 9: 292. https://doi.org/10.3390/jmmp9090292

APA Style

Uzun, F., & Korsunsky, A. M. (2025). Residual Stress Estimation in Structures Composed of One-Dimensional Elements via Total Potential Energy Minimization Using Evolutionary Algorithms. Journal of Manufacturing and Materials Processing, 9(9), 292. https://doi.org/10.3390/jmmp9090292

Article Metrics

Back to TopTop