Professional Documents
Culture Documents
art ic l e i nf o a b s t r a c t
Article history: The elastic contact problem, as implemented in some commercial software such as ANSYS, depends on
Received 7 September 2014 the user choice of some parameters such as normal contact stiffness, penetration limit and contact
Received in revised form algorithms. This work investigates the artificial neural networks (ANN) potential to predict the value of
1 December 2014
some parameters, avoiding the trial-and-error procedure to determine these values. Contact problems
Accepted 9 January 2015
based on simple problems are used to train the neural network, so it can predict the normal contact
stiffness for more complex problems. Some contact examples are evaluated, including the small end
Keywords: connecting rod contact problem, of great importance in automobile industry.
Contact problem & 2015 Elsevier B.V. All rights reserved.
Contact stiffness
Finite element
Neural network
ANSYS
Connecting rod
http://dx.doi.org/10.1016/j.finel.2015.01.003
0168-874X/& 2015 Elsevier B.V. All rights reserved.
44 G. Hattori, A.L. Serpa / Finite Elements in Analysis and Design 97 (2015) 43–53
the piston-crankshaft connection. The connecting rod is subjected to where Ki is stiffness matrix, ui is the displacement field, f i is the
elevated cyclic loads, with high compressive stress due to the gas external force, i represents an elastic body (i¼A or i ¼B) and t
expansion, and high lateral tensile due to the inertia. Thus, the dur- denotes matrix transposition. For convenience, these variables are
ability of this component is of utmost importance in engines [21]. simplified to K, u and f from now. Thus, the total potential energy
Results of the contact region behavior may not be consolidated even is given by
for well known systems, as in combustion engines components.
In [24], the results of the contact pressure in the connecting rod small Π ðuÞ ¼ 12 ut Ku f t u ð3Þ
end are not conclusive due to the discrepancy in the solutions calc- Several constrained minimization algorithms can be used to solve
ulated from different authors. Reference [15] has further improved the problem of Eq. (1) such as the Penalty Method, the Lagrange Mul-
the work in [24], where the stress concentration at the small end tipliers Method and the Augmented Lagrangian Method. The results
depends on a proper combination of the initial clearance between presented in this paper are based on the Augmented Lagrangian
the small end and the gudgeon pin, the applied load and the material Method according to the ANSYS implementation. This leads to the
properties. requirement of setting some contact parameters that are described in
The objective of this paper is to present a methodology to the the next subsections together with a brief description of the Augmen-
estimation of contact stiffness, one of the main parameters of a ted Lagrangian formulation.
contact problem in the commercial software ANSYS [1]. An ANN is
employed to obtain the estimation of the contact stiffness based
2.2. Augmented Lagrangian contact algorithm
on the contact pressure and maximum penetration between ele-
ments. Several examples were analyzed to illustrate the benefits of
The Augmented Lagrangian method is considered as a hybrid
the proposed approach.
method of Lagrange Multipliers method and Penalty method. For
The remaining of this paper is organized as follows. In Section 2 we
more details about these algorithms, refer to [12] for instance. The
present an introduction to the frictionless contact problem, and some
contact constraints are considered in this formulation using
considerations about the main contact parameters (normal contact
penalizing coefficients and Lagrange multipliers, penalizing the
stiffness, penetration limit, the Augmented Lagrangian Method contact
non-penetration restrictions violations in the same form of the
algorithms). Section 3 contains the mathematical definition of the
Penalty method, and solving the constrained minimization pro-
back-propagation ANN. Section 4 explains the methodology of the
blem through the solution of sequential unconstrained minimiza-
estimation of the normal contact stiffness. The results of the estima-
tion problems with the updating of Lagrange multipliers in the
tion of contact parameters using ANN are in Section 5. The benefits of
solution process.
the proposed approach are further detailed in Section 6. The conclud-
The Augmented Lagrangian function is given by
ing remarks are contained in Section 7.
Laum ¼ Π ðuÞ þ λ gðuÞ þ 12 r½gðuÞ2þ
t
ð4Þ
2. Contact problem where ½x þ represents maxð0; xÞ, r is the penalizing coefficient and
gðuÞ ¼ ½g 1 ðuÞ; g 2 ðuÞ; …; g n ðuÞ is the constraint vector and λ is the
We present in this section the main aspects of the contact Lagrange multipliers vector. It is easy to verify that the Augmented
formulation using the Augmented Lagrangian Method and how Lagrangian function incorporates a penalization term and a
this method is implemented in the ANSYS software. This section is Lagrange multiplier term.
restricted to the essential ideas to allow the reader to understand The gradient of the Augmented Lagrangian function is given by
the role of the main contact parameters that the ANN should
∇Laum ¼ ∇Π ðuÞ þ λ ∇gðuÞ þ r½gðuÞ þ ∇gðuÞ
t
estimate in a contact analysis using this software. ð5Þ
⋆
which allows to verify that at the optimum point u , the penetra-
2.1. Introduction to the static contact problem tion restriction fulfills gðu⋆ Þ ¼ 0. In this case we have
The contact problem can be formulated as a constrained mini- ∇Laum ¼ ∇Π u⋆ þ λt ∇g u⋆ ¼ 0; ∀r ð6Þ
mization problem, where the objective function to be minimized is which satisfies the Karush–Kuhn–Tucker conditions [12]. Hence,
the total potential energy Π ðuÞ of the bodies in contact, and the the penalizing coefficient is not required to reach excessive
constraints are given by non-penetration conditions between the magnitude, since r has no influence in the optimality condition
bodies. Thus, the problem can be stated as ∇Laum ¼ 0. This is a recognized advantage of the Augmented
min Π ðuÞ Lagrangian Method over the classical Penalty Method.
subject to g j ðuÞ r 0; j ¼ 1; …; n ð1Þ The solution of the contact problem formulated as the minimiza-
tion problem of Eq. (1) using the Augmented Lagrangian involves the
where u is the optimization variable (displacement vector) and minimization of the Augmented Lagrangian function of Eq. (4). In this
g j ðuÞ represents one of the n non-penetration constraints that can case, the penalty coefficients and the Lagrange multipliers are upd-
be defined as ated in order to achieve the solution. The penalty term leads to a
stiffness term, affecting the stiffness matrix, and the Lagrange
g j ðuÞ o0: the bodies are separated; multiplier term affects the load vector. This can be verified through
g j ðuÞ ¼ 0: the bodies are in contact; the second derivative of Eq. (5). In this case, the penalty coefficient
g j ðuÞ 40: there is penetration between the bodies. can be interpreted as the normal contact stiffness, named in ANSYS
by the normal contact stiffness Kn. The contact penetration con-
The total potential energy Π ðuÞ for the contact problem straints can also be related to a specific parameter called TOLN. These
between two elastic bodies subjected to small deformations and two parameters are described in further subsections.
small displacements (static problems) can be described as The contact problem solution using these concepts involves
( )t " #( ) ( )t ( ) successive minimization of the Augmented Lagrangian function.
1 uA KA 0 uA fA uA
Π ðuÞ ¼ Π A ðuÞ þ Π B ðuÞ ¼ This reflects in a new equilibrium equation based on the null
2 uB 0 KB uB fB uB
gradient condition and in penalty coefficient and Lagrange Multi-
ð2Þ pliers updating in each iteration.
G. Hattori, A.L. Serpa / Finite Elements in Analysis and Design 97 (2015) 43–53 45
Eqs. (7) and (8) reflect the ANSYS penalty coefficient and Lagrange
Multipliers strategies of updates, featuring the specific software imp- 3. The back-propagation ANN
lementation. The contact problem can be incorporated in the pot-
ential function, by adding the contact terms in the main diagonal of The study of the ANN is inspired in the functioning of the human
the global stiffness matrix in the case of the Augmented Lagrangian brain, which is very efficient to process information. Amongst some
Method. These terms are adjusted by the penetration level of each characteristics, high-complexity, non-linearity and parallel proces-
iteration in the finite element analysis. Other contact algorithms, as sing are brain features. A neuron is capable of realizing complex
the Lagrangian multiplier method, reorganize the stiffness matrix in operations like pattern and images recognition and is capable of
order to incorporate the Lagrange multipliers. learning from its environment [9].
An ANN is a system made by numerous simple structure units
called neurons, arranged in a layered structure. Particular properties
2.3. Normal contact stiffness (Kn)
of the ANN are processing information in parallel and learning by
experience feature, which allows the ANN to re-utilize the acquired
The normal contact stiffness is one of the most important
experience. The ANN can be trained to play a specific function
parameters in the contact problem, since it is responsible for the
through the adjustment between the neurons connections. The
allowed penetration level of the bodies in contact. In ANSYS, the
neurons receive the information from several sources, then they
normal contact stiffness is selected by the user in two possibilities:
combine and propagate the information forward in the network.
(1) as a stiffness factor kn, which acts as a scale parameter of the
The back-propagation ANN is one of the main used algorithms in
contact stiffness Kn, or (2) by specifying the magnitude of the contact
multilayer networks. Back-propagation ANN can use nonlinear acti-
stiffness Kn directly. Usually, the determination of the correct value of
vation function in the neurons, allowing a better model to be
this parameter for each contact problem is not evident, and it is more
obtained with less neurons per layer. Also, a number of hidden
intuitive to use the scale factor kn in order to regulate the level of Kn.
layers is present, permitting the network to execute more compli-
ANSYS calculates the value of Kn through some parameters as the
cated tasks. The higher the number of interconnections between the
Young modulus, the contact area, and the scale factor kn.
neurons, the higher the complexity of the network, which may
For high values of the normal contact stiffness, there will be a
provide a better interpolated model. Nevertheless, it becomes more
small penetration. However, values too large can cause numerical
difficult to describe the network behavior mathematically. Fig. 2
ill-conditioning of the stiffness matrix. It is desirable to find an
represents a typical back-propagation ANN. The usual notation to the
appropriated normal contact stiffness so the final penetration is
locations of neurons (or layers) of the ANN considers the neuron i is
small and does not influence the analysis result negatively.
left to neuron j, which is left to neuron k.
The variables in Fig. 2 are as follows:
2.4. Penetration limit (TOLN)
qj ¼ ½q1 ; q2 ; …; ql : neuron input vector. It can be the network
Ideally, there should be no penetration between the contact input or another neuron output;
bodies, because it characterizes a violation of the physics restric- wji ¼ ½w1 ; w2 ; …; wl : neurons synaptic matrix (weight matrix).
tions. Nevertheless, the most usual numerical techniques in the The notation wji associates the output of neuron i with the input
contact problem solution, such as penalty based methods, must of neuron j;
imply in small penetration levels. The penetration limit is employed vj: summation of all weights multiplied by the input;
to quantify the acceptable penetration level of the contact bodies φðvj Þ: activation function;
conjointly to the normal contact stiffness. yj: neuron output.
The TOLN parameter is associated to the surface normal direc-
tion, and it depends on the depth of the finite element adjacent to The training rule is based on the minimization of the network
the contact element. The depth is defined by h and is exemplified error [9]. It is desirable to minimize the mean square error (MSE) of
in Fig. 1. The allowable penetration TOLN is the product of the the network and the expected output of the training set in function
penetration limit factor FTOLN (defined by the user) by the average of the optimization variables (ANN weights wji). The error is
depth h of the adjacent finite element. If penetration is higher than calculated only for the most external layer, therefore a rule that
the established limit, the solution is considered inappropriate. update all the weights for all layers must be implemented. The back-
Alternatively, the desirable TOLN value can be specified directly by propagation learning rule consists of two steps: a forward step,
the user. where the ANN weights are fixed and the input goes through the
The use of the FTOLN factor can be more advantageous than entire ANN. Then, a backward step is executed, using a learn rule to
specifying a maximum level of penetration. For coarse meshes with update the ANN weights.
larger finite element size, the calculated penetration with FTOLN will The error ej(n) of the output neuron j in iteration n is given by
be proportionally larger. For refined meshes, with reduced finite
element size, FTOLN will generate a reduced level of penetration. ej ðnÞ ¼ t j ðnÞ yj ðnÞ ð9Þ
46 G. Hattori, A.L. Serpa / Finite Elements in Analysis and Design 97 (2015) 43–53
The MSE is defined by the sum of all the quadratic errors 12 e2j ðnÞ
for all the M neurons of the output layer, for every N input of the
training set. The MSE is defined as
1 X N X M
ϵ ðnÞ ¼ e2 ðnÞ ð10Þ
2N n ¼ 1 j ¼ 1 j
where φ0j ðvj ðnÞÞ is the derivative of the activation function with 4.1. 2D simplified models to predict 3D contact stiffness
respect to vj(n) and δj ðnÞ is the local gradient of neuron j in
iteration n [9]. In this work, the estimation of the contact stiffness can be
To the hidden layers neurons, it is clear that there is no expected performed by simplified models that captures the general aspects
output. In this case, the hidden layer neuron error is calculated of the contact problem. The general dimensions of a 3D problem
recursively in function of the local gradient of the external layers. can be given by two views of the component: the frontal and the
This is the main characteristic of the back-propagation ANN. The lateral view. The frontal view can be discretized in a 2D mesh,
local gradient δj ðnÞ for a hidden neuron is defined as [9] representing the main aspects of the original contact problem.
X This 2D contact problem is then solved and the maximum pen-
δj ðnÞ ¼ φ0j ðvk ðnÞÞ δk ðnÞwkj ðnÞ: ð12Þ
k etration (gmax) and the maximum contact pressure variation
(ΔP max ) are obtained. The contact pressure variation is determined
The weight update Δwji ðnÞ can be expressed as according to
∂ϵðnÞ
Δwji ðnÞ ¼ γΔwji ðn 1Þ þ ð1 γ Þη ð13Þ Pi þ 1 Pi 1
∂wji ðnÞ ΔP i ¼ ð14Þ
Pi 1
with 0 r γ r1. γ is called as moment term, and η is the learning
rate, that is updated in each iteration by an empiric rule defined where i is a specific configuration where the contact pressure was
in [6]. The use of the learning rate and moment term can boost the taken as shown in Fig. 3.
ANN training convergence [9]. It is evident that the calculated values of gmax and ΔP max from
The moment term has two roles: it tends to accelerate the error the 2D contact problem do not represent accurately the 3D problem
decreasing when the descent direction is stagnated, when Δwji results. Thus, in order to improve the estimation, the lateral view is
assumes the same signal (plus or minus) in successive iterations. used to calculate a correction factor f to put these parameters closer
This term has also a stabilization effect, when Δwji oscillates to the expected values of the original 3D problem.
between positive and negative values [9,11,27]. The correction factor, f, is obtained from the maximum pene-
tration gB found in the lateral view divided by the maximum
penetration gA of the frontal view, assuming the same values of kn
in both models, i.e.,
4. Contact parameters estimation methodology
gB
The normal contact stiffness factor is the most important para- f¼ ð15Þ
gA
meter in a contact analysis, since its value influences the penetration
level between the contact bodies. Higher Kn will result in lower Using the simplified models, a data set of contact results is ass-
penetration, but numerical ill-conditioning may arise. Higher values embled. The maximum penetration and the maximum contact
of the normal contact stiffness will also lead to an increase in the pressure variation are used to train an ANN. Both inputs are multi-
contact pressure, but only until the contact pressure reaches a K ⋆ n. plied by the correction factor, f, before any action is performed, as
From this point, the contact stiffness no longer affects the contact illustrated in Fig. 4. Hence, the estimate of kn for the original 3D
pressure. contact problem is the output of the network.
Adjusting Kn requires some trial-and-error estimate, which can With this formulation it is not necessary to solve the original
require computational and analyst time. The dimensions of the 3D contact problem to find an estimation of the normal contact
problem (2D or 3D) may increase the difficulties to determine the stiffness factor. The solution of both 2D contact problems repre-
normal contact stiffness. It is clear that the choice of the contact sents a significant reduction in the computational time to find the
stiffness is highly related to the analyst experience in solving normal contact stiffness factor.
different contact problems. Let us remark that the ANN can be used to estimate the normal
A model that provides Kn (or kn) given an acceptable estimate contact stiffness using the maximum penetration and the max-
of the penetration between the bodies is highly desirable. imum contact pressure variation directly from the 3D contact pro-
G. Hattori, A.L. Serpa / Finite Elements in Analysis and Design 97 (2015) 43–53 47
5. Results
5.1. T-structure
Fig. 6. T-structure contact problem. Left: frontal view. Right: lateral view.
5.1.2. Parameter identification using ANN Fig. 8 represents a 3-dimensional contact problem of an elastic
Table A1 shows the training set of the ANN without the factor f. sphere in contact with a rigid surface where an analytical solution
The ANN of this example has 200 neurons in the first layer, 200 is known [10].
48 G. Hattori, A.L. Serpa / Finite Elements in Analysis and Design 97 (2015) 43–53
Torining Torining
Simulation Simulation
Fig. 7. ANN 1 training results. (a) Penetration. (b) Contact pressure variation.
Table 1
ANN 1 parameter estimation – validation set.
Table 2
Extrapolation to the 3D problem – ANN 1. Fig. 9. Elastic sphere contact problem – frontal view.
2F 2D
pmax ¼ ð19Þ
Fig. 8. Finite element mesh - Elastic sphere in contact with rigid surface. π bL
G. Hattori, A.L. Serpa / Finite Elements in Analysis and Design 97 (2015) 43–53 49
Torining Torining
Simulation Simulation
Fig. 10. ANN 2 training results. (a) Penetration. (b) Contact pressure variation.
Table 3
ANN 2 parameter estimation – validation set.
Table 4
Extrapolation to the 3D problem – ANN 2.
where ULy and USy are the vertical displacement of the lower and upper
part of the pin, respectively. The rule was obtained by interpolating
the displacement of the upper and lower nodes of the hole from the
original pin according to the position xpin along the pin.
For the frontal view, the applied load used is
F ¼ 40; 000= 2π 20:513=8 ¼ 2; 482:8 N and for the lateral view
F ¼ 40; 000=25:1 ¼ 1; 593:6 N. The correction factor f was calcu-
lated using the contact solution at positions A and B in Fig. 12. In
this problem, this value is f ¼3.17.
Torining Torining
Simulation Simulation
Fig. 14. ANN 2 training results. (a) Penetration. (b) Contact pressure variation.
G. Hattori, A.L. Serpa / Finite Elements in Analysis and Design 97 (2015) 43–53 51
6. Discussion
Fig. 15 shows the solution time for several contact stiffness factors
of the connecting rod small-end contact problem. It is expected
higher solution times for higher kn values. The analyst must find an
appropriate value of kn that implies in a small penetration and does
not influence the numerical conditioning of the system stiffness
matrix, which is traditionally done by trial-and-error approaches.
Each computer job executed to find the correct value of kn results in
Fig. 15. Computational time and contact stiffness factor behavior.
wasted computational time.
The use of a trained ANN allows to make a reasonable estimation
⋆
of kn to a given maximum penetration, without the inconvenient of
the trial-and-error estimation. This estimated kn will be in some
⋆
sub-optimum region, near kn , shown in Fig. 16.
The last consideration about the use of the ANN in the ide-
ntification of contact parameters is the training time. Since the
complexity between gmax, ΔP max and kn varies for each contact
problem, some training sets require more time than others to be
learned by the ANN. Also, the architecture of the ANN (number of
layers, number of neurons per layer) is important to the comput-
ing time. Table 7 shows the used time to train each ANN. It was
used a quad CORE i7 2.67 GHz with 8 Gb RAM.
Table 5
ANN 3 parameter estimation – validation set.
ANN 1 113
ANN 2 266
ANN 3 154
Table 6
Extrapolation to the 3-dimensional problem – ANN 3.
geometry and loading may give important information about the 3:6888 10 5 7:2996 10 6 12
maximum penetration and maximum contact pressure in the area 2:9515 10 5 4:6915 10 6 15
This work shows that the trained ANN were able to estimate 2:214 10 5 2:65 10 6 20
the contact stiffness for the original contact problem avoiding the 1:1073 10 5 6:6651 10 7 40
7:3827 10 6 2:9717 10 7 60
trial-and-error method, saving significant time in order to adjust
5:5373 10 6 1:672 10 7 80
the contact stiffness value.
4:43 10 6 1:0728 10 7 100
Acknowledgements Table A3
ANN 3 training set.
[11] R.A. Jacobs, Increased rates of convergence through learning rate adaptation, [21] P.S. Shenoy, A. Fatemi, Dynamic analysis of loads and stresses in connecting
Neural Netw. 1 (1988) 295–307. rods, Proc. Int. Mech. Eng. Part C: Mech. Eng. Sci. 220 (2006) 615–624.
[12] D.G. Luenberger, Linear and Nonlinear Programming, 2nd edition, Addison- [22] J.C. Simo, T.A. Laursen, An augmented Lagrangian treatment of contact
Wesley Publishing Company, Reading, MA, USA, 1989. problems involving friction, Comput. Struct. 42 (1) (1992) 97–116.
[13] A.R. Mijar, J.S. Arora, An augmented Lagrangian optimization method for [23] J.M. Solberg, R.E. Jones, P. Papadopoulos, A family of simple two-pass dual
contact analysis problems, Struct. Multidiscip. Optim. 28 (2004) 99–112. formulations for the finite element solution of contact problems, Comput.
[14] D. Peric, D.R.J. Owen, Computational model for 3-D contact problems with Methods Appl. Mech. Eng. 196 (2007) 782–802.
friction based on the penalty method, Int. J. Numer. Methods Eng. 35 (1992) [24] A. Strozzi, F.D. Bona, Hoop stresses in the con-rod small end, Proced. Int. Mech.
1289–1309. Eng. Part D: Autom. Eng. 219 (2005) 1331–1345.
[15] A. Pioli, A. Strozzi, A. Baldini, M. Giacopini, R. Rosi, Influence of the initial [25] M. Tur, E. Ginerand, F.J. Fuenmayor, P. Wriggers, 2D contact smooth formulation
clearance on the peak stress in connecting-rod small ends, Proc. Inst. Mech. based on the mortar method, Comput. Methods Appl. Mech. Eng. 247–248 (2012)
Eng., Part D: J. Autom. Eng. 223 (6) (2009) 769–782.
1–14.
[16] M.A. Puso, T.A. Laursen, A mortar segment-to-segment contact method for
[26] E. Tyulyukovskiy, N. Huber, Neural networks for tip correction of spherical
large deformation solid mechanics, Comput. Methods Appl. Mech. Eng. 193
indentation curves from bulk metals and thin metal films, J. Mech. Phys. Solids
(2004) 601–629.
55 (2) (2007) 391–418.
[17] L. Rodríguez-Tembleque, F.C. Buroni, R. Abascal, A. Sáez, Analysis of FRP
[27] G.S. Watrous, Learning algorithms for connectionnist networks: applied
composites under frictional contact conditions, Int. J. Solids Struct. 50 (24)
(2013) 3947–3959. gradient methods of nonlinear optimization, in: First IEEE International
[18] L. Rodríguez-Tembleque, A. Sáez, F.C. Buroni, Numerical study of polymer Conference on Neural Networks, 1987, pp. 619–627.
composites in contact, Comput. Model. Eng. Sci. 96 (2) (2013) 131–158. [28] B. Zhao, Z.-N. Zhang, X.-D. Dai, Modeling and prediction of wear at revolute
[19] R.A. Sauer, Enriched contact finite elements for stable peeling computations, clearance joints in flexible multibody systems, Poc. Inst. Mech. Eng. Part C:
Int. J. Numer. Methods Eng. 87 (6) (2011) 593–616. J. Mech. Eng. Sci. 228 (2) (2013) 317–329.
[20] A.L. Serpa, F. Iguti, Contact with friction using the augmented Lagrangian
method: a conditional constrained minimization problem, J. Braz. Soc. Mech.
Sci. 22 (2) (2000) 273–289.