 Research Article
 Open Access
 Published:
Identification of nonlinear behavior with clustering techniques in car crash simulations for better model reduction
Advanced Modeling and Simulation in Engineering Sciences volume 3, Article number: 20 (2016)
Abstract
Background:
Car crash simulations need a lot of computation time. Model reduction can be applied in order to gain timesavings. Due to the highly nonlinear nature of a crash, an automatic separation in parts behaving linearly and nonlinearly is valuable for the subsequent model reduction.
Methods:
We analyze existing preprocessing and clustering methods like kmeans and spectral clustering for their suitability in identifying nonlinear behavior. Based on these results, we improve existing and develop new algorithms which are especially suited for crash simulations. They are objectively rated with measures and compared with engineering experience. In future work, this analysis can be used to choose appropriate model reduction techniques for specific parts of a car. A crossmember of a 2001 Ford Taurus finite element model serves as an industrialsized example.
Results:
Since a nonintrusive black box approach is assumed, only heuristic approaches are possible. We show that our methods are superior in terms of simplicity, quality and speed. They also free the user from arbitrarily setting parameters in clustering algorithms.
Conclusion:
Though we improved existing methods by an order of magnitude, preparing them for the use with a full car model, they still remain heuristic approaches that need to supervised by experienced engineers.
Background
In the modern design process of cars, crash tests are simulated with highly detailed finite element (FE) models on highperformance computing clusters. Spethmann et al. summarize in [1] that in 1998 a simulation was much more cost and time efficient than building a prototype, i.e., 5000 USD and weeks vs. 300.000 USD and half a year. There is reason to believe that this great difference still exists today but with an increased quality of the simulations. On the other hand, prototypes change rapidly nowadays. A major German car manufacture has a database with around 7000 different prototypes for only one car type, which again increases the total computation time. Each of them needs to be checked for crash safety in an early development stage since major changes are impossible later on. On top of that, the design engineers need fast feedback about whether the current prototype is safe before they can continue with further modifications.
This raises the need for model (order) reduction (MOR) in the simulation process. Model reduction simplifies the underlying mathematical model in such a way that the dimension, and thus hopefully the simulation time, is reduced while introducing only an acceptable error. There exist a vast collection of model reduction methods, which can be separated into two groups: linear and nonlinear methods. They differ on whether the underlying differential equation is required to be linear or whether nonlinear terms are allowed. One would expect that only nonlinear reduction techniques should be applied to a car crash due to its highly nonlinear nature. But we will propose ideas to automatically separate the car in one part with presumably linear and another part with presumably nonlinear behavior. It is now possible to apply linear MOR to the first and nonlinear MOR to the second part respectively, cf. [2]. This way, linear methods, which usually have a better ratio between computation timesaving and introduced error, can be used for most parts of the vehicle even though the crash in its entirety has nonlinear behavior. In addition, linear MOR techniques are maturer in comparison to nonlinear MOR. Radermacher and Reese successfully used a similar approach by only reducing parts with elastic material behavior [3].
In this work, we analyze modern clustering techniques for their suitability in model reduction. The clustering is not used as a way of model reduction but as a preprocessing step to identify nonlinear behavior. As described above, the knowledge of this behavior will then be used to combine linear and nonlinear model reduction methods in future work that is not part of this article.
It can be seen that certain shortcomings exist with current methods to identify nonlinear behavior in car crashes. Therefore, the major contribution of this work is an improved clustering algorithm which addresses and solves these shortcomings. This is achieved by either improving existing methods or developing new ones. Considering that the majority of the simulations in automotive development concerns crash safety [1], we will focus on car crash tests in this article.
In the next two sections, we introduce the industrial setting and provide an overview of existing methods to analyze crash behavior. The clustering methods needed in the following are discussed in detail in the “Clustering” section. After this preparation, one modern technique to separate linear from nonlinear behavior is presented in the “Preprocessing” section together with measures which are used to assess the quality of the method in the “Analysis of the preprocessing” section. The problems found in this analysis are solved in the “Improvements” section. Finally, we conclude with a summary and outlook on further research.
Setting
For the upcoming analysis, we are using the proprietary simulation software LSDYNA [4] by the Livermore Software Technology Corporation since it is widely used by the industry for crash analysis. Additionally, it would be too costly to develop an alternative software in a research facility. As described in [5], LSDYNA uses the following simulation procedure: After the model is read from an ASCII file, the equilibrium equations in Lagrangian formulation resulting from continuum mechanics are transformed in their corresponding weak form. The spatial dimensions are discretized via finite elements resulting in the nonlinear equation of motions
with the symmetric mass matrix \({\varvec{M}}\), damping matrix \({\varvec{D}}\), internal forces \({\varvec{f}}_\text {int}\) depending, e.g., nonlinearly on the generalized coordinates \(\varvec{q}\) and the external forces \({\varvec{f}}_\text {ext}\). If the internal forces \({\varvec{f}}_\text {int}(\varvec{q}(t),\ldots )\) can be written as \(\varvec{K} \cdot \varvec{q}(t)\) with a stiffness matrix \(\varvec{K}\), then the system is linear. The discretization of the time is accomplished with explicit central differences or other discretization schemes, which are then solved by the builtin LSDYNA solver. It needs to be mentioned that our work does not rely on any specific features of LSDYNA. Thus, any other simulation tool can be used instead.
The finite element model of a 2001 Ford Taurus from the National Crash Analysis Center [6] serves as an example. The model depicted in Fig. 1 consists of almost one million (mostly shell) elements and was validated against actual hardware crash tests [7]. For simplicity, we will focus our analysis of nonlinear behavior on the crossmember shown in Fig. 2. It consists only of 3789 nodes and experiences large deformations as part of the crumple zone which makes it a suitable candidate.
Overview of crash analysis
Model reduction in mechanics would usually substitute the equation of motion (1) by a differential equation of smaller dimension, the socalled reduced system. Unfortunately, this is not possible with the closedsource software LSDYNA. The same is true for analyzing nonlinear behavior since there is no way to access the function \({\varvec{f}}_\text {int}\). Instead we can only use the simulation data resulting from \({\varvec{q}}(t)\) for different simulation runs, which is basically a black box approach. The import routine for the binary output of LSDYNA to MATLAB was written at the institute.
The overall goal consists of finding parts of the vehicle that most likely behave linearly or mostly nonlinearly during the crash. This leads to a separation of the generalized coordinates
into parts \({\varvec{q}}^\text {l}\) and \({\varvec{q}}^\text {n}\) corresponding to the linear and nonlinear behavior of the vehicle, respectively. The car model can now be cut along the boundaries between the parts. Several socalled substructuring methods or component mode synthesis (CMS) can be found in [8]. This allows an independent reduction of each component, which is useful for fast interchanging of specific components in the design phase of a car without the need to reapply the model reduction to the complete car. Proprietary crash simulation codes like LSDYNA usually provide an interface to replace single components by their linearly reduced counterparts, the socalled superelements. The nonlinear reduction of one component inside LSDYNA is still an open question but may be achieved with cosimulations via userdefined functions. For the sake of this paper, it can be assumed that the linearly behaving part will be reduced with linear MOR and the nonlinearly behaving part not reduced at all. In [2], several methods of separation, reduction techniques and the need for an additional interface reduction are described exemplarily on a model of a gokart. The classification of linear behavior in the gokart was performed manually by an engineer. The intention of this paper is to automate this decision as much as possible. A subsequent model reduction as described in [2] is not part of this article but the subject to current and future work.
Several ways to analyze the crash behavior were published for different needs: Running the same simulation twice can result in different outputs due to roundoff errors in parallel computing. In 2005 and 2008, Mei and Thole published an algorithm to detect areas with this scatter [9, 10], which was implemented in the software DiffCrash. Since the complete algorithm is not accessible to the authors, it will not be considered in this article. The SimdataNL project [11, 12], on the other hand, used similar techniques to detect bifurcations and to group similarly behaving nodes. None of them were directly developed to separate a model for subsequent model reduction but they can be accommodated to our needs. Only nodal positions were used in the aforementioned publications. Thus, we will also restrict ourselves to this assumption in order to allow a fair comparison to our improvements.
Clustering
All aforementioned publications use either selfdeveloped or known clustering methods such as kmeans or spectral clustering. Therefore, it is vital to explain what clustering is. Clustering is the process of grouping a large data set by similarity into socalled clusters. It is a subclass of unsupervised learning since there do not exist any predefined categories. The area of application is huge: genome analysis, image segmentation, social networks and consumer analysis, to name only a few.
Despite its broad use, clustering is no Swiss army knife for data classification. In fact, [13] describes many pitfalls: First, there is no exact definition of what a cluster should look like. This lies in the eye of the beholder. Imagine for example all the books in a library as data set. One could group them by genre, by age, by the second letter of the authors family name, by their position in the shelf, by their physical dimensions, etc. Another example is the famous ambiguous optical illusion “My Wife and My MotherinLaw” by William Ely Hill: Some see a young woman, and others see an old lady. The same is true for clustering algorithms that try to identify structure in data. Each algorithm has “its own view” on the data which does not necessarily lead to the same result as the user of the algorithm expects. Additionally, most of the real world data does not constitute of natural clusters, which need to be identified by a clustering algorithm. Instead there are many possible ways to categorize data and all of them have their own right to exist. Thus, clusters are not identified but created by the algorithms. Even in randomly distributed data, clustering algorithms will return a grouping since they enforce structure on the data instead of recognizing natural clusters or deciding if there are any clusters at all. This can also be a pitfall for experienced users. There are not only a large quantity of algorithms to choose from but they usually have several parameters which need to be defined and only have a heuristic meaning. Even the number of clusters needs to be specified most of the time in advance. In fact, there cannot be one algorithm satisfying three simple properties as shown in [14].
For consistent notation in the further description of the algorithms, we assume that n ddimensional data points \(\mathcal {X} = \{{\varvec{x}}_i\}_{i=1}^n \subseteq \mathbb {R}^d\) are given. A clustering algorithm is supposed to group these points into K disjoint clusters \(\mathcal {C} = \{C_k\}_{k=1}^K\). \(\mathcal {C}\) is—mathematically speaking—a partition of \(\mathcal {X}\), i.e., \(C_k \ne \emptyset \) for all k, \(\bigcup _k C_k = \mathcal {X}\) (particularly \(C_k \subseteq \mathcal {X}\) for all k) and \(C_k \cap C_{k'} = \emptyset \) for all \(1 \le k < k' \le K\).
Kmeans clustering
Kmeans is indisputably one of the most used clustering algorithms dating back to 1955. It iteratively defines the clusters as areas around the cluster centers
of the last iteration, c.f. Algorithm 1 taken from [15]. This way it converges to a local minimum of the overall squared error, which is defined as
i.e., the clusters tend to be as dense as possible. But due to the assignment in line 4 of Algorithm 1, the clusters are always lying in convex subsets of \(\mathbb {R}^d\), which restricts the ability of kmeans to identify only these types of clusters. Not only does the user have to set the number K of desired clusters in advance but the random initial assignment in line 1 also makes the algorithm indeterministic. In order to implement the algorithm, one has to specify the stop criterion in line 6 and repeat it with different initial assignments to hopefully find a global and not only local minimum of (3).
Strictly speaking kmeans refers to the optimization problem (3), which is NPhard [16, 17]. Therefore, the above described Llyod’s algorithm 1 is used to approximate the exact solution and is meant when referring to kmeans in the remainder of this article. The computational complexity of Algorithm 1 is \(\mathcal {O}(n \cdot K \cdot d \cdot \omega )\) with \(\omega \) the number of iterations until satisfactory convergence is achieved in line 6. Even though \(\omega \) can grow exponentially in n [18], it is in average (via smoothed analysis) polynomial in n [19]. For real data, it often can be observed that \(\omega \) does not grow that fast and is considered proportional to n.
Spectral clustering
A more advanced clustering algorithm is spectral clustering, which dates back to 1973. There are several variants like [20] or [21] but we will only describe the socalled unnormalized form as described in [22].
Spectral clustering combines graph and spectral theory. Each data point \({\varvec{x}}_i\) is viewed as a vertex of an undirected graph \(G = (V,E)\). The existence and weight of the edges are calculated from the pairwise defined, symmetric similarities \(s_{ij} \ge 0\) of all pairs of nodes \(({\varvec{x}}_i, {\varvec{x}}_j)\). The greater \(s_{ij}\), the higher is the similarity between nodes \({\varvec{x}}_i\) and \({\varvec{x}}_j\). Since we define similarity in \(\mathbb {R}^d\) by proximity, a good choice is the Gaussian similarity function
for a parameter \(\sigma > 0\).
The weight \(w_{ij} \ge 0\) of each edge \(({\varvec{x}}_i, {\varvec{x}}_j)\) can now be defined in several ways with \(w_{ij} = 0\) meaning that \({\varvec{x}}_i\) and \({\varvec{x}}_j\) are not connected. The resulting, weighted graph G is then called similarity graph. Some types of similarity graphs are listed below:

The \(\epsilon \)neighborhood graph weights edges only if the corresponding nodes \({\varvec{x}}_i\) and \({\varvec{x}}_j\) have a distance below \(\epsilon > 0\). Since all remaining edges have a similar distance (below \(\epsilon \)), they can be weighted with 1 instead of \(s_{ij}\). This results in the weights
$$\begin{aligned} w_{ij} = {\left\{ \begin{array}{ll} 1 &{}\quad \text {if } {\varvec{x}}_i  {\varvec{x}}_j < \epsilon , \\ 0 &{}\quad \text {if } {\varvec{x}}_i  {\varvec{x}}_j \ge \epsilon . \end{array}\right. } \end{aligned}$$ 
In the lnearest neighbor graph (\(l \in \mathbb {N}\)), edges are weighted only if one of the nodes is among the lnearest neighbors of the other node, i.e.,
$$\begin{aligned} w_{ij} = {\left\{ \begin{array}{ll} s_{ij} \quad \text {if } &{}\{ 1 \le \hat{i} \le n: {\varvec{x}}_{\hat{i}}  {\varvec{x}}_j < {\varvec{x}}_i  {\varvec{x}}_j \} < l \\ \quad \quad \text {or } &{}\{ 1 \le \hat{j} \le n: {\varvec{x}}_i  {\varvec{x}}_{\hat{j}} < {\varvec{x}}_i  {\varvec{x}}_j \} < l, \\ 0 &{}\text {otherwise.} \end{array}\right. } \end{aligned}$$ 
The mutual lnearest neighbor graph is a variant of the (nonmutual) lnearest neighbor graph. The only difference is that both nodes need to be one of the lnearest neighbors of the other node, i.e.,
$$\begin{aligned} w_{ij} = {\left\{ \begin{array}{ll} s_{ij} \quad \text {if } &{}\{ 1 \le \hat{i} \le n: {\varvec{x}}_{\hat{i}}  {\varvec{x}}_j < {\varvec{x}}_i  {\varvec{x}}_j \} < l \\ \quad \quad \text {and } &{}\{ 1 \le \hat{j} \le n: {\varvec{x}}_i  {\varvec{x}}_{\hat{j}} < {\varvec{x}}_i  {\varvec{x}}_j \} < l, \\ 0 &{}\text {otherwise.} \end{array}\right. } \end{aligned}$$
Either way, the result is a weighted graph \((G, \varvec{W})\) with the symmetric, weighted adjacency matrix \(\varvec{W} := \{w_{ij}\}_{i,j=1}^n\). This matrix contains not only information about all weights but also whether there is an edge between two nodes (\(w_{ij} \ne 0\)) or not (\(w_{ij} = 0\)), therefore, replacing the set of edges E.
The similarity graph can be considered as preprocessing for the actual spectral clustering. As with all preprocessing, the right choice can make the difference. There can be no best choice for the parameters \(\sigma \), \(\epsilon \) and l for every use case, as discussed in the beginning of the “Clustering” section, but [22] gives some hints (“rules of thumb”) that try to ensure the connectivity of the resulting graph meaning that there is a sequence of edges between every two arbitrary nodes:

l in the lnearest neighbor graph chosen around \(\log (n)\) satisfies connectivity in the limit \(n \rightarrow \infty \) for random data points \(\{{\varvec{x}}_i\}_{i=1}^n\).

For \(\epsilon \) in the \(\epsilon \)neighborhood graph, the length of the longest path in a minimal spanning tree of the (fully connected) graph is always a valid choice by definition. Recall that a minimal spanning tree connects all vertices with the least amount of edges. Since Prim’s algorithm [23] for calculating such a tree has complexity \(\mathcal {O}(n^2)\), this step can take a significant amount of time.
It is also considered good practice to choose \(\sigma \) as the length of the longest path in a minimal spanning tree as it was described for choosing \(\epsilon \). As emphasized in [22], there does not exist any rule of thumb for choosing the parameters that is based on a firm theoretical ground.
After this preparation, the algorithm focuses on the (graph) Laplacian matrix
with the degree matrix
A new matrix \({\varvec{U}}\) is defined with the help of \({\varvec{L}}\) by taking K linearly independent vectors \({\varvec{u}}_1, \ldots , {\varvec{u}}_K\) of the eigenspaces corresponding to the K smallest eigenvalues (counted with multiplicity) and taking them as the columns of \({\varvec{U}} \in \mathbb {R}^{n \times K}\). The last step consists of clustering the n rows \({\varvec{y}}_i \in \mathbb {R}^K\) of \({\varvec{U}}\) with the kmeans algorithm into K clusters. Since each row \(\varvec{y}_i\) corresponds to a data point \({\varvec{x}}_i\), this induces a clustering of \(\mathcal {X}\).
The transformation of the data points \({\varvec{x}}_i\) to \(\varvec{y}_i\) allows the identification of nonconvex clusters like rings. At first glimpse, it is not clear how this approach should work at all. Luxburg motivates it as the solution of a relaxed graph cut problem and finds analogies to a random walk as well as perturbation theory [22]. Though we can only rigorously prove some theorems like the relation of zeroeigenvalues of \(\varvec{L}\) to the number of connected components in G, spectral clustering seems to be a valid clustering technique.
The eigenvalue decomposition is the main factor regarding the computation time and renders this approach useless for very large data sets. A thin eigenvalue decomposition of a large matrix is usually computed with an iterative method like the Lanczos algorithm [24]. Its computational complexity depends on the number of iterations needed during the iterative procedure which again depends on the gap between the eigenvalues of the matrix [25]. Though no computational complexity can be given for spectral clustering in general, it takes at least as long as kmeans discussed in the “Kmeans clustering” section—since kmeans is the last step in the algorithm—but should be much higher in practice due to the eigenvalue decomposition. Parallelization of the algorithm [26] and outofsample treatment via the Nyström method [27] on sparse grids [28] are newer approaches to reduce the computational complexity. The memory consumption can be another drawback since \(\varvec{W}\) is only a sparse \(n \times n\) matrix if the parameters \(\epsilon \) and l are chosen small enough in the creation of the similarity graph.
Methods to predict the number K of clusters exist—both for general clustering algorithms and spectral clustering in particular. They are summarized in [22]. As discussed in the introduction of the “Clustering” section, the structure of the data which should be identified by a clustering algorithm depends on the expectation of the user. Thus, there cannot exist any general rule for how to choose K.
Preprocessing
In [11, 12], a method was developed to cluster (finite element) nodes with different moving patterns and intensity across several simulations with small variations in the thickness of the sheet metal. In the end, the clusters were used to analyze the presence of bifurcations. We will present their method in a slightly new setting, define some quality criteria, judge the current approach and improve it.
Let there be R simulation runs with small variations in the parameters of a model with N nodes. The position of node n at time t in simulation r is depicted as \(\varvec{p}^{(r)}_n(t) \in \mathbb {R}^3\). After choosing an appropriate time frame \([t_0, t_1]\), the displacement of node n in simulation r is defined as
and collected in the vector
for each node n. Therefore, a vector \({\varvec{x}}_n \in \mathbb {R}^R\) is assigned to each node n. The nodes can now be grouped by clustering the corresponding set \(\mathcal {X} = \{{\varvec{x}}_n\}_{n=1}^N\) with an algorithm of choice like kmeans or spectral clustering, which are both described in the “Clustering” section.
This method is applied to the frontal crash described in the “Setting” section. For a better understanding, we first consider a simplification shown in Fig. 3: A beam consisting of four nodes impacts a rigid wall, which is rotated by an angle of \(\alpha \) compared to an orthogonal contact. This simulation is repeated two times (\(R=2\)) with angles \(\alpha ^{(1)} = 20^\circ \) and \(\alpha ^{(2)} = 15^\circ \) and the displacements \(d_n^{(r)}\) plotted for each simulation in Fig. 3c. We will call such a plot displacement plot in the following. The red node has a higher displacement in the first simulation due the larger angle. Hence, it is located below the diagonal \(\mathbb {R} \varvec{e}\) with \(\varvec{e} = (1,1)\) in the displacement plot.
Quality of clusters and nonlinear behavior
There needs to be a criterion to judge the quality of the clustering after the preprocessing described above. In [11], model reduction was applied to each cluster. Since no new simulations were done with a reduced system, this approach can be seen as data compression. Thus, the reconstruction error resulting from the projection on the subspace spanned by each cluster was a valid criterion to judge the quality in that case. This is, however, not true in our case. In this article, the clustering should be used for the model reduction of subsequent simulation runs with other parameters that were not part of the training data. Therefore, the real error resulting from the model reduction can only be judged after simulating the reduced model. Otherwise, there would not be any new data but only training data to assess the quality of the clustering and reduction. Error estimators or error bounds can also be useful, though they are not available for every reduction method.
Socalled objective measures only rely on the data itself to rate the quality of a cluster, see [29, 30] for examples. Usually structural data like the cluster density or the separation between clusters is taken into account. While objective measures can be useful for assessing the quality of clusters in general, they are likely not equivalent to the expectations of the user since these expectations can vary a lot as discussed in the “Clustering” section. The other group of cluster indicators are subjective measures that take a specific user expectation into account. In the next section, we define several new subjective measures to assess the nonlinear behavior of a crash.
Before defining the measures, it is of importance to know the sources of nonlinear behavior. According to [31], the reasons for nonlinearities in mechanics lie in the

Geometry, e.g., large deformations, bifurcation or snapthrough;

Physics (material laws), e.g., plasticity;

Boundary conditions, e.g., contact.
We will only focus on the first source of nonlinear behavior since it is most accessible for our datadriven approach.
Measures
In order to quantify the nonlinear behavior, we define measures based on the deformation and scatter of the nodes. It has been seen that the diagonal of the displacement plot represented by the vector \(\varvec{e} := (1, \ldots , 1) \in \mathbb {R}^R\) plays a fundamental role in the analysis.
With simple geometry, the deformation
of a vector \({\varvec{x}} \in \mathcal {X}\) can be defined as the length of the orthogonal projection onto the diagonal \(\mathbb {R} {\varvec{e}}\). This definition of deformation is motivated by the mechanical analog but is not equivalent, as can be seen later. Throughout this article, it is assumed that only the data \({\varvec{p}}^{(r)}_n(t_0)\) and \(\varvec{p}^{(r)}_n(t_1)\) is available for every node n and simulation run r.
The distance from \({\varvec{x}}\) to its orthogonal projection is called (absolute) scatter since it reflects the difference across the simulation runs. It can be calculated by
The higher \(S^\text {abs}({\varvec{x}}_n)\), the more the displacement of node n differs in each of the R simulations.
The relative scatter \(S^\text {rel}\), i.e., the absolute scatter divided by the deformation, is more important. Since all relative measures tend to be sensitive when the denominator is relatively small, we only define the relative scatter for nodes with a deformation above 2 % of the maximum deformation in the overall model:
These measures can now be applied for all nodes in one cluster by averaging. The mean deformation of a cluster \(C_k\) is given as
and the mean relative scatter \(S^\text {rel}_\text {mean}\) as
A cluster with high \(D_\text {mean}\) represents nodes with large deformation which can be a sign of nonlinear behavior as discussed above. If a cluster has a high relative scatter \(S^\text {rel}_\text {mean}\), then the nodes in this cluster have different displacements throughout all R simulations which is an indication of chaotic behavior.
Analysis of the preprocessing
While the quality of the clustering was only judged with the experience of engineers in [11], we are now able to assess the simulation scenario described in the “Setting” section for the Taurus with the measures \(D_\text {mean}\) and \(S^\text {rel}_\text {mean}\) defined above. We choose \([t_0, t_1] = [100, 1000]\,{\text {ms}}\) as the smallest time interval covering the complete crash. The Taurus has an initial velocity of \(56\,{\mathrm{km/ h}}\) (35 mph). It is approaching a rigid wall that has an angle \(\alpha \) of \(5^\circ \), \(6^\circ \) or \(7^\circ \) to the perpendicular axis in each of \(R = 3\) simulations. The crash scenario is the same as shown in Fig. 3a but with the full Taurus model instead of the beam. \(R > 3\) is of course possible and recommended but would prevent a visual analysis of the Rdimensional displacement plot. For the purpose of this article, it is more important to see properties of the different methods in the plots instead of choosing a higher R. High relative scatter resulting from these small parameter variations is an indicator for chaotic, therefore, nonlinear behavior. For now, we will choose kmeans as clustering algorithm with \(K=3\) clusters for simplicity. This is already enough to show some major disadvantages, which can be seen in Fig. 4 in the displacement plot. The corresponding clustering of the crossmember (as a snapshot of the simulation for \(t = t_1\) and \(r=1\)) is shown in Fig. 5. The crossmember will always be shown for \(t_1\), i.e., after the crash. Each color represents a cluster and the red line in the displacement plot shows the diagonal \(\mathbb {R} \varvec{e}\) already known from Fig. 3c. Units on the axes of the displacement plot and the view of the crossmember are always in mm.
First of all, all entries \(d_n^{(r)}\) of every vector \({\varvec{x}}_n\) are above a lower bound of \(899~\text {mm}\). This can be explained with the rigid body movement of the car. Even though the first time step \(t_0\) was chosen to be the beginning of the crash, i.e., the car is in contact with the wall, the crossmember still has some distance to the wall, see Fig. 2 on the left. Therefore, the norm in Eq. (4) is dominated by the xcomponent, the driving direction of the car. The displacements in the other two directions have no significant influence on \(d_n^{(r)}\). Since this error is introduced in the beginning of the workflow, it persists in the clustering algorithm, which clusters the nodes by rigid body movement instead of (mechanical) deformation. Figure 5 also supports the hypothesis that the clustering of the nodes only depends on the xcoordinate: The nodes in the rear of the crossmember belong to the cluster with the highest deformation since their movement is decelerated the least.
Another problem lies in the distribution of the vectors \({\varvec{x}}\). They do not form any natural clusters in Fig. 4, hence clustering algorithms uncontrollably divide the nodes in three more or less connected sets. This questions the purpose of clustering as explained in the “Clustering” section and asks for alternatives.
In this example, we have arbitrarily chosen \(K=3\). There are a few techniques to guess the number of clusters beforehand, but only if there exist any (natural) clusters in the data which is not the case here. Choosing \(K=2\) and just assuming that one cluster represents linear and the other nonlinear behavior will not suffice. Additionally, the mapping of the clusters to the (non)linear area is unclear without any of the measures that are proposed in this article.
Improvements to all these disadvantages will be given in the following.
Improvements
After preliminary work of more theoretical nature and notation, it is now possible to describe and analyze some improvements developed by the authors.
Elimination of rigid body movement
By choosing \([t_0, t_1] = [100, 1000]\,{\text {ms}}\) as the smallest time interval covering the complete crash in the “Analysis of the preprocessing” section, we have already reduced the impact of the rigid body movement. Bohn et al., instead, looked at different time steps including the full simulation, cf. [11].
In order to eliminate the rigid body movement as much as possible, a reference node is chosen in the back of the crossmember where the least deformation is expected. Let \(\varvec{p}_\text {R}(t)\) be the position of this node for every time t. The definition (4) of the displacement is now substituted by
for the remainder of this article. All following and former terms like (5) will use this new definition from now on.
Applying the new definition of displacement to the crossmember leads to much better results depicted in Fig. 6. The bending of the two arms of the crossmember in zdirection is identified correctly by assigning these nodes to the cluster with the highest mean deformation. \(D_\text {mean}\) is now one order of magnitude smaller, representing the actual mechanical deformation of the respective cluster much better.
One could think that shifting the nodes in Fig. 4 to the origin would lead to the same result as subtracting the rigid body movement. This is not true since the above subtraction mostly effects the xcoordinate of \(\varvec{p}\) as the major direction of the rigid body movement resulting in an equal weighting of all three spatial coordinates in (6). Therefore, not only the position of the nodes in the left of Fig. 6 moved to the origin, but the formation of the nodes also changed significantly. On top of that, a simple translation of the nodes would not have influenced the kmeans clustering algorithm anyway since only the relative positions are important for kmeans.
With this improvement, it is now worth a try to replace kmeans by the presumably superior spectral clustering. Figure 7 was created with the lnearest neighbor graph with \(\sigma \) chosen as the length of the longest path in a minimal spanning tree and \(l = \log (N)\) respectively as described in the “Spectral clustering” section. In comparison with kmeans in Fig. 6, it can be seen that spectral clustering is not restricted to convex sets. Thus, the cluster with the smallest mean deformation in the displacement plot of Fig. 7 now includes the “small arm” on the right. From a mechanical point of view, it is doubtful whether this is an improvement. In general, spectral clustering should be superior to kmeans clustering but the increased number of input parameters like \(\sigma \), \(\epsilon \), l leads to a greater spectrum of possible results. Simply changing \(\sigma \) to 1 in the above example results in an unusable clustering. This again shows that clustering algorithms like kmeans and spectral clustering should only be used in the presence of natural clusters. The calculation time of spectral clustering is 2 s (additional 10 s for the minimal spanning tree) compared to only 70 ms for kmeans using MATLAB R2015b on a desktop computer (Intel Xeon E31245 with 16 GB RAM). The new methods presented in the next section do not suffer from these disadvantages.
Though the subtraction of the rigid body movement with the help of a reference node already improves the clustering significantly, it can still only identify parts by their deformation behavior. But we are also interested in other sources of nonlinear behavior as described in the “Quality of clusters and nonlinear behavior” section.
Simple alternatives for clustering
With the measures defined in the “Measures” section, it is not only possible to judge existing methods but invent new approaches that use these measures for cluster optimization. This will ensure that the clustering algorithms fit to the measures that are used to assess the quality. We will present several new clustering techniques in the following.
For a general approach, let \(M: \mathcal {X} \rightarrow \mathbb {R}{\ge 0}\) be an arbitrary function on \(\mathcal {X}\) representing a measure like the deformation D or relative scatter \(S^\text {rel}\). We can then define the equal clustering with respect to M as \(\mathcal {C} = \{C_k\}_{1 \le k \le K}\) with
This clustering method simply splits the nodes evenly with respect to M into K clusters \(C_k\).
The results for the choice \(M = D\) are presented in Fig. 8. In comparison to the clustering depicted in Fig. 6, the border between the clusters with medium and high deformation moved upwards, resulting in a larger cluster with medium deformation. This small difference seems more reasonable to the authors but the judgement what constitutes good clustering will always remain an opinion as stated in the “Clustering” section.
The calculation time of 30 ms is more than halved in comparison to kmeans (70 ms) applied directly on \(\mathcal {X}\) since equal clustering has linear time complexity in n. One may argue that even the 2 s computation time of spectral clustering is negligible in a preprocessing step in model reduction since the simulation time of a reduced model is higher by several orders of magnitude. As discussed in the “Spectral clustering” section, the computational complexity of spectral clustering scales nonlinearly in n. While kmeans can scale linearly, it is however not guaranteed. A full model of a car has at least 1000 times more nodes than the crossmember discussed as an example in this contribution. Thus, the guaranteed linear time and memory scaling of equal clustering contributes to the overall goal of giving a design engineer fast feedback.
The case \(M = S^\text {rel}\) depicted in Fig. 9 is more interesting since it is the first method that is able to identify areas with higher sensitivity between the simulation runs—another source of nonlinearity. This method allows us to identify the left front part of the crossmember as highly sensitive to small changes in the crash angle. The cluster with the highest sensitivity even has a relative scatter of \(61.5~\%\) as can be seen in the changed legend of Fig. 9.
While equal clustering of the scalar relative scatter gives valuable insight in the nonlinear behavior of the crossmember, it can be useful to view the scatter as a vector, i.e., the direction of the orthogonal projection of \({\varvec{x}}\) on \(\mathbb {R} \varvec{e}\) relative to the deformation \(D({\varvec{x}})\):
Notice the different notations: \(S^\text {rel}\) for the scalar and \(\varvec{S}^\text {rel}\) for the vectorized relative scatter. It is now possible to cluster the vectors \(\{\varvec{S}^\text {rel}({\varvec{x}}): {\varvec{x}} \in \mathcal {X}\}\) with common clustering algorithms like kmeans, see Fig. 10. Two almost symmetric clusters can be observed in the displacement plot: One representing mostly nodes with \(d_n^{(1)} < d_n^{(2)}\) and another cluster representing mostly nodes with \(d_n^{(1)} > d_n^{(2)}\). In contrast, the scatter vector \(\varvec{S}^\text {abs}({\varvec{x}})\), i.e., the information about the dominance of one specific simulation is lost with equal clustering with respect to \(S^\text {rel}\), see Fig. 9.
Grouping
Although we have achieved a strong improvement over the original method described in the “Analysis of the preprocessing” section, it is still an open question which clusters belong to the presumably linearly and nonlinearly behaving areas and how large the number K of clusters should be chosen. We solve both problems at once by grouping the clusters.
The idea consists of choosing a high number of clusters K, selecting an appropriate measure M from the “Measures” section like \(M = D_\text {mean}\) or \(M = S^\text {rel}_\text {mean}\) and then grouping all clusters \(C_k\) whose measure \(M(C_k)\) is below or above a threshold \(\tau \), respectively. The threshold \(\tau \) is calculated by
after choosing a parameter \(0 \le \delta \le 1\). The groups are then defined as
with the two groups \(G_\text {lin}\) and \(G_\text {nonlin}\) consisting of the nodes that are behaving presumably linearly or nonlinearly, respectively. The parameter \(\delta \) controls the border between these two groups whereupon \(\delta = 0\) leads to \(G_\text {lin} = \emptyset \). The higher \(\delta \), the more vectors \({\varvec{x}}\) will be in \(G_\text {lin}\).
Figure 11 shows the result of such a grouping. First, the crossmember is clustered with kmeans like in Fig. 6 but this time into \(K=10\) clusters. The relative scatter of all 10 clusters is measured with \(M = S^\text {rel}_\text {mean}\). \(M_\text {min} = 3.3~\%\) is the lowest and \(M_\text {max} = 66.1~\%\) is the highest relative scatter out of the 10 values. A parameter \(\delta = 0.7\) leads to a threshold of \(\tau = 47.3~\%\) according to (7). Thus, the clusters with the two highest relative scatter values \(S^\text {rel}_\text {mean}\) of \(48.8~\%\) and \(66.06~\%\) are grouped to \(G_\text {nonlin}\) since their measure is above \(\tau \), and the remaining eight clusters are merged into \(G_\text {lin}\). The result can be examined in Fig. 11. It should be mentioned that the grouping method found almost the same area of high scatter as equal clustering with respect to \(S^\text {rel}\), see Fig. 9, even though a different clustering method was used.
Choosing an appropriate \(\delta \) and judging the resulting two groups is still a job that can only be done by an experienced engineer but the measures from the “Measures” section help a lot to automate this part of the workflow. The engineer can first look at the measures of each cluster and get an idea of their range. He can then for example decide that most of the clusters have only a low measure—which is a sign for linear behavior—and choose a high \(\delta \) like 0.9. Another option would be that every cluster with a relative scatter higher than \(10~\%\) should be considered to be behaving nonlinearly. Choosing \(\delta \) by solving (7) for \(\tau = 10~\%\) will lead to that clustering. Dividing the nodes into \(G_\text {lin}\) and \(G_\text {nonlin}\) would be impossible without the measures from the “Measures” section since the clusters from any clustering algorithm do not have any meaning. They are not sorted or labeled in any way. Only the measures from the “Measures” section give them a meaning like “area with high deformation”.
Summary and outlook
It was observed that black box identification of nonlinear behavior can only be solved by heuristics. First, measures were defined to quantify the deformation and scatter, which correlate to nonlinear behavior. With these measures it was possible to judge improvements of existing methods. The subtraction of the rigid body movement is necessary in the preprocessing. New methods like equal clustering, which clusters with respect to a measure, are more robust and faster. Additionally, they can guarantee that the clustering fits to the measures that a user wants to optimize without the need to choose any parameters like in spectral clustering. An optional grouping eliminates the need to estimate the number of clusters. Overall, they all proved to be a valuable contribution in raising the quality of the identification and matched with the experience of engineers.
The algorithms are almost ready to be applied to a full car model. The guaranteed linear time scaling of equal clustering allows the direct application on a full car model. But this can result in clusters that are scattered all over the model. For a later model reduction, it is necessary that the size of the interface between linearly and nonlinearly reduced areas is as small as possible, see [2]. Thus, the geometry of the car needs to be taken into account during the clustering, e.g., all clusters should be connected sets.
The resulting clustering can now be used to apply certain model reduction methods to the clusters in future work. Parts of the model that are considered to behave nonlinearly should be reduced with nonlinear model reduction techniques, the rest with linear methods. This approach is deemed to be advantageous over using only one reduction method. If a crash simulation is only reduced linearly, the error would be higher since nonlinear behavior cannot be reproduced. If nonlinear model reduction is used for the full car model, it would lead to higher computation times due to the usually more complex nonlinear algorithms. This needs to be proven with experiments in future work.
In this paper it was assumed that only the nodal positions are available. If the user has access to more output data like strain or stress, the aforementioned methods can be extended to this new data. It should also be beneficial to combine the results based on deformation and scatter in order to take both sources of nonlinearity into account.
References
Spethmann P, Thomke SH, Herstatt C. The impact of simulation on productivity and problemsolving in automative R&D. Technical report, Technische Universität HamburgHarburg; 2006.
Fehr J, Holzwarth P, Eberhard P. Interface and model reduction for efficient simulations of nonlinear vehicle crash models. Accepted by Mathematical and Computer Modelling of Dynamical Systems.
Radermacher A, Reese S. Model reduction in elastoplasticity: proper orthogonal decomposition combined with adaptive substructuring. Comput Mech. 2014;54(3):677–87. doi:10.1007/s0046601410206.
LSDYNA Product Home Page. http://www.lstc.com/products/lsdyna/. Accessed 2 Feb 2016.
Livermore Software Technology Corporation. LSDYNA theory manual. Livermore: Livermore Software Technology Corporation; 2006.
National Crash Analysis Center. http://www.ncac.gwu.edu/ncac/. Accessed 2 Feb 2016.
Marzougui D, Samaha RR, Cui C, Kan CDS. Extended validation of the finite element model for the 2001 ford taurus passenger sedan. In: Technical report NCAC 2012W004, The National Crash Analysis Center, The George Washington University, 45085 University Drive, Ashburn; 2012.
Craig R. Coupling of substructures for dynamic analyses: an overview. In: Proceedings of the AIAA dynamics specialists conference, PaperID 20001573. Atlanta; 2000.
Mei L, Thole CA. Clustering algorithms for parallel carcrash simulation analysis. In: Bock H, Phu H, Kostina E, Rannacher R, editors. Modeling, simulation and optimization of complex processes. Berlin: Springer; 2005. p. 331–40.
Mei L, Thole CA. Data analysis for parallel carcrash simulation results and model optimization. Simul Model Pract Theory. 2008;16(3):329–37.
Bohn B, Garcke J, IzaTeran R, Paprotny A, Peherstorfer B, Schepsmeier U, Thole CA. Analysis of car crash simulation data with nonlinear machine learning methods. Procedia Comp Sci. 2013;18:621–30.
Griebel M, Bungartz HJ, Czado C, Garcke J, Trottenberg U, Thole CA, Bohn B, IzaTeran R, Paprotny A, Peherstorfer B, Schepsmeier U. SIMDATANL – Nichtlineare Charakterisierung und Analyse von FEMSimulationsergebnissen für Autobauteile und CrashTests. Final report (in German), Bundesministerium für Bildung und Forschung. 2014. http://publica.fraunhofer.de/dokumente/N326423.html. Accessed 16 Feb 2015.
Jain AK. Data clustering: 50 years beyond kmeans. Pattern Recog Lett. 2010;31(8):651–66.
Kleinberg JM. An impossibility theorem for clustering. In: Becker S, Thrun S, Obermayer K, editors. Advances in neural information processing systems, vol. 15. Cambridge: MIT Press; 2003. p. 463–70.
Jain AK, Dubes RC. Algorithms for clustering data. Upper Saddle River: PrenticeHall Inc; 1988.
Aloise D, Deshpande A, Hansen P, Popat P. NPhardness of euclidean sumofsquares clustering. Mach Learn. 2009;75(2):245–8. doi:10.1007/s1099400951030.
Dasgupta S, Freund Y. Random projection trees for vector quantization. IEEE Transact Inform Theory. 2009;55(7):3229–42. doi:10.1109/TIT.2009.2021326.
Vattani A. Kmeans requires exponentially many iterations even in the plane. Discrete Comput Geom. 2011;45(4):596–616. doi:10.1007/s0045401193401.
Arthur D, Manthey B, Röglin H. Smoothed analysis of the kmeans method. J ACM. 2011;58(5):1–31. doi:10.1145/2027216.2027217.
Ng AY, Jordan MI, Weiss Y. On spectral clustering: analysis and an algorithm. In: Advances in neural information processing systems, vol 14. MIT Press: Cambridge; 2001. p. 849–56.
Shi J, Malik J. Normalized cuts and image segmentation. IEEE Transact Pattern Anal Mach Intell. 2000;22(8):888–905.
von Luxburg U. A tutorial on spectral clustering. Stat Comput. 2007;17(4):395–416. doi:10.1007/s112220079033z.
Prim RC. Shortest connection networks and some generalizations. Bell Syst Tech J. 1957;36(6):1389–401. doi:10.1002/j.15387305.1957.tb01515.x.
Lanczos C. An iteration method for the solution of the eigenvalue problem of linear differential and integral operators. J Res Natl Bur Stand. 1950;45(4):255–82.
Kuczyński J, Woźniakowski H. Estimating the largest eigenvalue by the power and lanczos algorithms with a random start. SIAM J Matrix Anal Appl. 1992;13(4):1094–122. doi:10.1137/0613066.
Zheng J, Chen W, Chen Y, Zhang Y, Zhao Y, Zheng W. Parallelization of spectral clustering algorithm on multicore processors and GPGPU. In: Computer systems architecture conference, 2008. ACSAC 2008. 13th AsiaPacific. 2008. p. 1–8. doi:10.1109/APCSAC.2008.4625449.
Bengio Y, Paiement JF, Vincent P, Delalleau O, Roux NL, Ouimet M. Outofsample extensions for LLE, isomap, MDS, eigenmaps, and spectral clustering. In: Thrun S, Saul LK, Schölkopf B, editors. Advances in neural information processing systems, vol. 16. Cambridge: MIT Press; 2004. p. 177–84.
Peherstorfer B, Pflüger D, Bungartz HJ. A sparsegridbased outofsample extension for dimensionality reduction and clustering with Laplacian eigenmaps. In: Wang D, Reynolds M, editors. Advances in artificial intelligence 2011, vol. 7106. Lecture notes in computer science. Berlin: Springer; 2011. p. 112–21.
Rousseeuw PJ. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. J Comput Appl Math. 1987;20:53–65. doi:10.1016/03770427(87)901257.
Stein B, Meyer zu Eissen S, Wißbrock F. On cluster validity and the information need of users. In: Hanza MH, editor. 3rd international conference on artificial intelligence and applications (AIA 03). Anaheim, Calgary, Zurich: ACTA Press; 2003. p. 216–21
Wriggers P. Nonlinear finite element methods. Berlin: Springer; 2010.
Author's contributions
DG analyzed and improved the existing methods. JF had the idea to separate linearly from nonlinearly behaving parts and implemented most of the import functions from LSDYNA to MATLAB. Both authors read and approved the final manuscript.
Acknowledgements
The authors like to thank AnneKathrin Zeile for preliminary work. Additionally, they would like to thank the German Research Foundation (DFG) for financial support of the project within the Cluster of Excellence in Simulation Technology (EXC 310/1) at the University of Stuttgart. The 2001 Ford Taurus model has been developed by The National Crash Analysis Center (NCAC) of The George Washington University under a contract with the FHWA and NHTSA of the US DOT.
Competing interests
The authors declare that they have no competing interests.
Author information
Affiliations
Corresponding author
Additional information
An erratum to this article is available at http://dx.doi.org/10.1186/s4032301600864.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Grunert, D., Fehr, J. Identification of nonlinear behavior with clustering techniques in car crash simulations for better model reduction. Adv. Model. and Simul. in Eng. Sci. 3, 20 (2016). https://doi.org/10.1186/s403230160072x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s403230160072x
Keywords
 Crash simulation
 Nonlinear behavior
 Black box identification
 Spectral clustering
 Kmeans
 Model reduction