Introduction

Reduced order modelling (ROM) or model order reduction (MOR) techniques are proposed as alternatives to finite element (FE), finite volume (FV), finite difference (FD) full order modeling (FOM), particularly when handling parametric optimization problems that require the computation of numerous solutions within a specified parametric interval, and to enable digital twins [1,2,3,4].

The present investigation has been initiated in order to enable predictive digital twins for structural health monitoring. Herein, we adopt the following definition of a digital twin [3]: “A digital twin is defined as a virtual representation of a physical asset, or a process enabled through data and simulators for real-time prediction, optimization, monitoring, control, and decision-making.’

To enable predictive digital twins, we advocate the use of hybrid analysis and modelling (HAM) that combines classical physics-based models (PBM) accelerated by means of ROM, together with data-driven methods (DDM) based on sensor measurements analyzed using machine learning (ML) [5,6,7,8,9,10,11].

ROM for structural problems was initially developed using a Galerkin projection procedure with a so-called offline pre-computed reduced order basis that handles affine problems efficiently [1, 2]. However, many problems related to structural health monitoring are not affine (e.g., variation of material thickness due to corrosion or non-linearities due to damages). Some non-affine problems can approximately be made affine by Taylor expansions (see e.g., [12]), but this is not generally possible for non-linear problems. To mitigate the challenge with the Kolmogorov n-width barrier for non-linear problems, many developments have recently been proposed [13]. To alleviate the reduction in MOR’s benefits when tackling non-linear problems, techniques for approximating the non-linear terms [14, 15], or the use of hyperreduction techniques [16], have been developed. Furthermore, to address the issue of the predefined reduced basis, a stochastic variation along the Grassmann manifold has been proposed [17,18,19].

The recent development in reduced order modeling and the rising interest in fast and accurate predictions has also lead to the creation of coupled reduced order basis and machine learning techniques. The results of this coupling are hybrid real-time models, able to reproduce with high fidelity the physical solution [13, 20]. The ongoing effort in improving these techniques highlights the scientific and industrial interest. However, when it comes to creating a standalone method, able to produce by itself the reduced order model starting from a user input, these techniques represent high intrusiveness and are not easily coupled or integrated in available full order modeling commercial software packages.

On the other hand, fully non-intrusive model order reduction techniques are on the rise [21], with multiple approaches being implemented in commercial software [22]. These methods do not interfere with the commercial solvers, but operate at a higher abstraction level: first, snapshot solutions are collected; then, a surrogate model is constructed in the parametric space. Non-intrusive reduced order modeling (ROM) techniques are particularly advantageous when dealing with complex or legacy systems where modifying the original solver is impractical and can be broadly categorized into three main groups: traditional physics-based approaches, purely data-driven methods, and hybrid approaches combining physics-based techniques with machine learning. Among the traditional methods, the sparse Proper Generalized Decomposition (sPGD) stands out for its ability to construct surrogate models from scattered data while maintaining interpretability and physical relevance [59]. More recently, fully data-driven strategies have emerged, leveraging regression and deep learning models to construct ROMs directly from simulation data, without relying on explicit knowledge of the governing equations [54,55,56,57]. Some methods often employ advanced machine learning architectures to learn physics in the parametric or solution space [58]. Additionally, hybrid approaches have gained traction, combining the strengths of traditional ROM techniques with the flexibility of machine learning. For example, kernel-based proper orthogonal decomposition (KPOD) has been effectively coupled with neural networks to enhance generalization and nonlinear representation capabilities [53]. These non-intrusive methods can provide real-time simulation inside the parametric space but may require an excessive number of snapshots offline to correctly construct the surrogate model. Moreover, in the presence of strong non-linearities, the required number of snapshots can become intractable.

Given the growing demand for real-time simulations, and in the context of the previously mentioned problem, intrusive Model Order Reduction (MOR) techniques [23] offers the capability to provide a digital twin for large-scale problems, without the computational expense associated with solving full order models using classical techniques, while maintaining a high fidelity and stability [35, 36]. On the other hand, non-intrusive reduced order models require a large number of snapshots to achieve a reliable performance, especially in the non-linear context expected in such applications. Moreover, the user may need to increase considerably the number of snapshots without achieving the same accuracy as the one enabled by an intrusive approach [36, 37, 39]. In this work, we suggest combining the strengths of both techniques to develop a minimally intrusive model. This approach suggests generating the inverted stiffness matrix in the reduced space with high accuracy using machine learning algorithms. The aim is to enable high fidelity modeling with reduced computational cost in a non-linear context while maintaining the user-friendly integration and operation characteristic of non-intrusive methods.

The method presented herein aims to enable robust and efficient ROM for non-affine parametric linear problems as well as non-linear problems of non-abrupt nature. The method is characterized by the following properties:

  1. 1.

    Inherit the physical properties of the FOM in a minimally intrusive manner by requiring access to the coefficient matrix, right hand side, and the Dirichlet boundary conditions which is typically enabled by commercial software.

  2. 2.

    Establish a reduced order system by performing a proper orthogonal decomposition (POD) based on the solution vectors from the snapshots obtained by solving the full order problem (FOM) for certain values in the parameter space. This step is similar to what is performed in classical POD-ROM methods [2, 24, 25].

  3. 3.

    Flatten the inverse of the reduced stiffness matrix into a vector. Each parameter combination yields one such vector, forming a high-dimensional vector space. A second reduction is then applied to this space using principal component analysis (PCA).

  4. 4.

    Compute the coefficients that enable to reconstruct the flattened matrices for every choice of the problem’s parameters, leveraging the second reduced order basis, by the means of machine learning algorithms (artificial neural network or random forest for instance).

The main novelty in the proposed approach lies in steps 3 and 4 above, which allows approximating the non-affine parametric terms in the differential equation using a principal component analysis method to create a reduced basis, and a projection method using machine learning algorithm. However, the reader should note that the machine learning algorithm is applied to approximate the inverse of the reduced stiffness matrix, not the solution fields themselves. Unlike approaches such as in [34], where more than 500 snapshots were needed to accurately predict solution fields using a machine learning-POD coupled method, our minimally intrusive technique focuses on approximating the inverse of the reduced stiffness matrix. This shift in focus is motivated by the need for a generalizable and efficient method to handle non-linear problems, where directly predicting solution fields remains challenging, particularly with a limited number of snapshots, as is the aim in this study. By targeting the inverse of the stiffness matrix, the proposed method ensures broad applicability across various scenarios, minimizing the need for extensive data or complex model adjustments.

This article will first revisit the model order reduction techniques in a parametric space, for both intrusive and non-intrusive approaches, in section “On the reduction of parametric fields”. In section “Reduced elastostatics”, we review the elastostatics problem, the selected application in this work. Later on, a simple application is illustrated in section “Application to a non-affine linear static plate problem”, to showcase the step by step construction of the reduced order model for linear parametric problems. The method is extended to non-linear problems in section “Application to a non-affine geometrically non-linear plate problem”, and for more complex parts in section “Illustrating the method on a complex geometry”. Finally, the conclusions and perspectives for future works and improvements are illustrated in section “Overall conclusions and perspectives”. Furthermore, appendix A provides valuable insight into the technical integration of the method within a commercial finite element analysis (FEA) software, specifically Abaqus. This section elucidates the process in a manner that is not only detailed but also generalizable, ensuring that the reader can comprehend the integration independently of the specific application example provided.

On the reduction of parametric fields

For the sake of simplicity, a two-parameter, \({\varvec{\mu }}=(\gamma ,\eta )\in {\mathcal {P}}\), problem is considered, whose high fidelity solution, assumed for the sake of simplicity to be scalar, is given by \(u(\varvec{x},t,\gamma ,\eta )\). We assume that we know in advance \({\texttt{P}}\) solutions related to \({\texttt{P}}\) different choices of both parameters \(\gamma \) and \(\eta \). In other words, \(u(\varvec{x},t,\gamma _i,\eta _i)\equiv u^i(\varvec{x},t)\), \(i=1, \ldots , {\texttt{P}}\).

These known solutions are stored in the form of a matrix, whose columns contain the solution evaluated at each node (rows) at a given time step. The discretized, matrix form of the solution \(u(\varvec{x},t,\gamma _i,\eta _i)\equiv u^i(\varvec{x},t)\) will hereafter be denoted by \({\varvec{U}}^i\), with the (r, s)-component \(u_{rs}^i\) referring to the solution at node \(\varvec{x}_r\) at time \(t_s\), for the parameter values \((\gamma _i,\eta _i)\), i.e. \(u_{rs}^i\) represents \(u(\varvec{x}_r,t_s,\gamma _i,\eta _i)\).

Finding a parametric regression for each component or degree of freedom of the discrete solution leads to \({\varvec{U}}(\gamma ,\eta )\). This approach, however, becomes in general too expensive and loses smoothness, because the regression’s approximation error in the different components remains almost uncorrelated.

For this reason, instead of working with the discrete solution itself, reduced space and time bases are extracted by employing the Singular Value Decomposition (SVD) from each solution \({\varvec{U}}^i\). Each matrix \({\varvec{U}}^i\) can be approximated by using the truncated (reduced) bases, that is, there exists a \(( K_i \times L_i )\) \({\varvec{D}}^i\) matrix, approximating \({\varvec{U}}^i\):

$$\begin{aligned} {\varvec{U}}^i \approx {\varvec{X}}^i {\varvec{D}}^i {\varvec{T}}^i, \end{aligned}$$
(1)

where \({\varvec{X}}^i = ({\varvec{x}}_1^i \ ... \ {\varvec{x}}^i_{{\texttt{K}}_i} )\) and \({\varvec{T}}^{i^T} = ({\varvec{t}}_1^i \ ... \ {\varvec{t}}^i_{{\texttt{L}}_i})\).

Matrix \({\varvec{D}}^i\) could be diagonal when considering \(K_i = L_i = R\) and the associated R highest singular values of \({\varvec{U}}^i\).

However, an even better approximation can be performed by assuming \({\varvec{D}}^i\) non-diagonal and computing it from the minimisation problem

$$\begin{aligned} {\varvec{D}}^i = \texttt{min}_{{\varvec{D}}^*} \Vert {\varvec{U}}^i - {\varvec{X}}^i {\varvec{D}}^*{\varvec{T}}^i \Vert , \end{aligned}$$
(2)

with \({\varvec{D}}^*\), \( K_i \times L_i\) non-diagonal matrices.

The main issue related to the just described procedure is the fact that the reduced basis changes within the parametric space. In order to obtain a common reduced basis, valid for any choice of the parametric solution \({\varvec{U}}(\mu , \eta )\), we consider the concatenated basis

$$\begin{aligned} \tilde{{\varvec{X}}} = \left[ {\varvec{X}}^1, \dots , {\varvec{X}}^{P}\right] , \end{aligned}$$

and

$$\begin{aligned} \tilde{{\varvec{T}}}^T = \left[ {\varvec{T}}^{1}, \dots , {\varvec{T}}^{{P}} \right] , \end{aligned}$$

whose SVD decompositions allow extracting the bases \({\varvec{X}}\) and \({\varvec{T}}\), composed by K and L modes respectively, enabling the approximation of all the discrete solutions \({\varvec{U}}^i\), by solving the minimization problem

$$\begin{aligned} {\varvec{S}}^i = \texttt{min}_{{\varvec{S}}^*} \Vert {\varvec{U}}^i - {\varvec{X}} {\varvec{S}}^*{\varvec{T}} \Vert . \end{aligned}$$
(3)

It is assumed now that \({\varvec{S}}^i\) is known. In other words, we know each component for each sampling i, \(i=1, ... , P\), of the parameters, \((\gamma _i,\eta _i)\). Therefore, \(S^i_{pq} \equiv S_{pq}(\gamma _i,\eta _i)\), a general parametric expression \(S_{pq}(\gamma ,\eta )\) is searched, that is, a regression of the scalar components of \({\varvec{S}}\).

Reduced elastostatics

The general discretized form of the elasto-statics problem is written [42, 43]:

$$\begin{aligned} {\varvec{A}} {\varvec{u}} = {\varvec{f}}, \end{aligned}$$
(4)

where the stiffness matrix \({\varvec{A}}\) and the nodal displacement and force vectors, respectively \({\varvec{u}}\) and \({\varvec{f}}\), are of size, respectively, \(N\times N\), \(N\times 1\) and \(N\times 1\).

Matrix \({\varvec{A}}\) is quite particular because the columns of \({\varvec{A}}\) have a very precise physical meaning [44]. By noting \({\varvec{A}}_{:,c}\) the vector representing the c-column of \({\varvec{A}}\), that vector corresponds to the forces associated with the nodal displacement

$$\begin{aligned} {\varvec{u}}_c^T=\left( u_1= 0, \dots , u_{c-1}=0, u_c = 1, u_{c+1}=0, \dots , u_N=0 \right) . \end{aligned}$$

Thus, the stiffness matrix \({\varvec{A}}\) could be viewed as a sequence of forces, representing different nodal unit displacements, the ones composing the canonical basis of \({\mathbb {R}}^N\) [2, 45].

Remark 1

In the case of elastodynamics the mass matrix will represent the nodal inertia forces.

Remark 2

The non-separability of \({\varvec{A}}\) (and also the mass matrix in elastodynamics) derives from the fact of having a N-rank matrix affecting the canonical basis, a fact that avoid the existence of a reduced basis for the resulting forces, that is, of the columns of \({\varvec{A}}\).The diagonal-band structure of mass and stiffness matrices reflects that non-separable structure.

Reduced formulation

In general when forces and displacements are experiencing noticeable correlations, both can be expressed into subspaces of \({\mathbb {R}}^N\) of dimension \(n \ll N\).

If we note by \({\varvec{u}}^i\) the displacement related to the \(i^{th}\)-parameters choice \({\varvec{\mu }}_i\), the collected solution snapshots \(({\varvec{u}}^1, \dots , {\varvec{u}}^{\texttt{P}})\), are assembled into matrix \({{\textbf {S}}}\). The application of the SVD allows selecting the most relevant orthogonal eigenvectors (modes) that can be grouped into the reduced basis matrix \({\varvec{V}}\), enabling the global to reduced map:

$$\begin{aligned} {\varvec{u}} \approx {\varvec{V}} \mathbf {\varvec{\xi }}, \end{aligned}$$
(5)

where \({\varvec{\xi }}\) is the reduced displacement (or reduced degrees of freedom) vector.

The number of retained modes (highest singular values obtained in the SVD) defines the dimension n of the reduced problem, and consequently the dimension of the displacement and forces subspace, i.e. \({\varvec{\xi }}\in {\mathbb {R}}^n\).

By introducing the global-to-reduced bases mapping (5) into the equilibrium equation (4) it results

$$\begin{aligned} {\varvec{A}} {\varvec{V}} {\varvec{\xi }}= {\varvec{f}}, \end{aligned}$$
(6)

that projected into the subspace \({\varvec{V}}\) leads to the reduced equilibrium formulation

$$\begin{aligned} {\varvec{V}}^T {\varvec{A}} {\varvec{V}} {\varvec{\xi }}= {\varvec{V}}^T {\varvec{f}}, \end{aligned}$$
(7)

that can be rewritten as

$$\begin{aligned} {\varvec{A}}_r {\varvec{\xi }}= {\textbf{f}}_r. \end{aligned}$$
(8)

Since we typically have \(n \ll N\), manipulating the reduced equilibrium (8) is computationally advantageous with respect of using the global formulation (4).

The same rationale that the one used previously applies on the reduced formulation, and expresses the non-separability of \({\varvec{A}}_r\).

The preceding section provided an overview of the state-of-the-art application of Proper Orthogonal Decomposition (POD) within the context of this research. The reader is referred to [1, 38, 40, 41] for more details on the construction, implementation, and application of Proper Orthogonal Decomposition (POD) in the context of model order reduction. In the following section, the formulation will be adapted to align with the objectives of this study, specifically by employing Machine Learning (ML) techniques to generate the matrix \(\varvec{A}_r\), or more precisely, its inverse.

Parametric reduced elasto-statics

As just commented, the different columns of the reduced stiffness matrix \({\varvec{A}}_r\) do not accept further reduction, because it has full rank. Thus, if we note the stiffness matrix related to the \(i^{th}\)-parameters choice as \({\varvec{A}}_r^i\), \(i=1, \dots , {\texttt{P}}\), only correlations in the parametric space are expected. Since, the inverse of the stiffness matrix is utilized for computing quantities of interest, like the displacement vector, we will develop this method such a way machine learning helps in predicting \({\textbf{A}}^{-1}\) instead of \({\textbf{A}}\). Notably, employing machine learning predictions introduces a certain degree of error in estimating the stiffness matrix. While these errors might be minor individually, they can get magnified during the inverse operation depending on the conditioning of the equation system [46,47,48], potentially resulting in increased inaccuracies in the displacement vector computation.

We proceed by reshaping the inverse of the reduced stiffness matrices into a vector form:

$$\begin{aligned} \varvec{{A_r^i}}^{-1} \rightarrow {\mathcal {B}}^i = \texttt{Vect}(\varvec{{A_r^i}}^{-1}). \end{aligned}$$
(9)

Now, the different inverted stiffness vectors are concatenated

$$\begin{aligned} \varvec{{\mathcal {B}}} = \left( {\mathcal {B}}_1, \dots , {\mathcal {B}}_{\texttt{P}} \right) \end{aligned}$$
(10)

whose SVD decomposition [48, 49] allows obtaining the inverted stiffness vectors reduced orthonormal basis \(({\varvec{\phi }}^1, \dots , {\varvec{\phi }}^{\texttt{R}})\). In particular, the projection of \({\mathcal {B}}^i\) into the reduced basis allows computing the approximation weights

$$\begin{aligned} {\mathcal {B}}_i \cdot {\varvec{\phi }}^k = \sum \limits _{j=1}^{\texttt{R}} \theta _j^i \ ({\varvec{\phi }}^j \cdot {\varvec{\phi }}^k), \ \ \ i=1,..., {\texttt{P}}; \ \ k=1, \dots , {\texttt{R}}, \end{aligned}$$

that taking into account the orthonormality of modes \({\varvec{\phi }}^j\) leads to

$$\begin{aligned} {\mathcal {B}}_i \cdot {\varvec{\phi }}^k = \alpha _k^i, \ \ i=1,..., {\texttt{P}}; \ \ k=1, \dots , {\texttt{R}}. \end{aligned}$$

Thus, each inverted reduced stiffness matrix \({\mathcal {B}}^i\) is expressed in the common reduced basis by:

$$\begin{aligned} {\mathcal {B}}_i = \sum \limits _{j=1}^\texttt{R} \theta _j^i \ {\varvec{\phi }}^j = \sum \limits _{j=1}^\texttt{R} \ {\varvec{\phi }}^j \theta _j^i = [{\varvec{\phi }}^1, \dots , {\varvec{\phi }}^R] \begin{bmatrix} \theta _1^i \\ \vdots \\ \theta _\texttt{R}^i \end{bmatrix}, \end{aligned}$$
(11)

where \(i=1, \dots , \texttt{P}\). Knowing that the different parameter choices \({\varvec{\mu }}^i\) result in the reduced coordinates \({\varvec{\theta }}^i =(\theta _1^i, \dots \theta _{\texttt{R}}^i)\), a regression model can be constructed to predict \({\varvec{\theta }}({\varvec{\mu }})\). This prediction facilitates the derivation of the vector form of the associated inverted reduced stiffness, denoted as \({\mathcal {B}}_i\), as per Eq. (11). Subsequently, this vector representation can be transformed into a matrix form, \({\mathcal {B}}_i \rightarrow {\varvec{B}}_r\). In fact, let’s denote \(\varvec{\Phi }\) the reduction matrix constructed from the reduced basis: \( \varvec{\Phi } = [{\varvec{\phi }}^1, \dots , {\varvec{\phi }}^R]. \) This means

$$\begin{aligned} {\mathcal {B}}_i = \varvec{\Phi } \begin{bmatrix} \theta _1^i \\ \vdots \\ \theta _R^i \end{bmatrix}. \end{aligned}$$
(12)

Recalling that \({{\varvec{B}}}=({\mathcal {B}}_1,\cdots ,{\mathcal {B}}_{\texttt{P}})\), with \({\mathcal {B}}_i = \texttt{Vect}({\varvec{A}_r^{i}})^{-1} \), we can write:

$$\begin{aligned} {\varvec{B}} = \varvec{\Phi } \begin{bmatrix} \theta _1^1 & \dots & \theta _1^P \\ \vdots & \ddots & \vdots \\ \theta _R^1 & \dots & \theta _R^P \end{bmatrix} = \varvec{\Phi } \varvec{\Theta }, \end{aligned}$$
(13)

where :

$$\begin{aligned} \varvec{\Theta } = \begin{bmatrix} \theta _1^1 & \dots & \theta _1^P \\ \vdots & \ddots & \vdots \\ \theta _R^1 & \dots & \theta _R^P \end{bmatrix}. \end{aligned}$$
(14)

Machine learning prediction training and predictions

A machine learning algorithm must now be selected and trained to predict \(\varvec{\Theta } = \varvec{g}^{\textsc {ML}}(E, \nu , \iota )\). Although Artificial Neural Networks (ANNs) are widely used and have demonstrated the capability to achieve highly accurate predictions on this example, they will not be employed in this research. The primary objective is to select a machine learning technique that requires minimal user intervention or tweaking during training. Given that the method is intended for application across various structure sizes and types, ANNs present the disadvantage of requiring architecture modifications depending on the data type and size. To identify the most suitable model, we tested multiple regression approaches including XGBoost [28], Support Vector Machines [29], and Random Forests [30].

Among these, the Random Forest Regressor yielded the best results in terms of prediction accuracy and robustness across the tested cases. Notably, it required no hyperparameter tuning, in contrast to SVM and XGBoost, which both demanded careful calibration to achieve competitive results. This observation aligns with previous benchmarking studies, where Random Forests have consistently demonstrated strong out-of-the-box performance, particularly on tabular and noisy datasets, with minimal sensitivity to hyperparameters [50,51,52].

The default settings for the Random Forest in scikit-learn include: using 100 decision trees (‘n_estimators=100‘), selecting features randomly when splitting (‘max_features=’auto’‘), and growing trees until all leaves are pure or contain less than two samples (‘min_samples_split=2‘). These settings worked well across all the application examples mentioned in this article.

The Random Forest Regressor not only matches the precision of a well-trained neural network for the tested cases but also circumvents the challenges associated with determining the optimal neural network architecture, as its default settings are sufficient to achieve satisfactory accuracy. Moreover, although the snapshot size is 65, only 54 randomly chosen snapshots are used for training the network, while the remaining are used as a validation set. Furthermore, any use case can be generated by selecting an appropriate set of parameters for \(\mu =(E, \nu , \iota )\) within the originally specified range, allowing a comparison between the Finite Element Method (FEM) solution and the one deduced using the neural network prediction.

It is also important to note that each use case requires training a dedicated machine learning model. However, in the context of ML-ROM applications, where datasets are typically small, training a Random Forest regressor is computationally inexpensive–typically requiring only a few seconds. Once trained, the model can be used to predict the \(\varvec{\Theta }\) coefficients almost instantaneously, with inference times on the order of a few milliseconds.

Application to a non-affine linear static plate problem

In the following, a linear static parametric example will illustrate the different steps required for the proposed strategy to be set in place, and the main contributions are highlighted.

Illustrating the method

Consider a \(1 \times 1\) \(m^2\) thin metal plate subjected to a vertical load on its center while its four edges are constrained from moving vertically, as illustrated in Figure 1. The plate is discretized with \(11 \times 11\) linear shell elements, providing a total of 726 degrees of freedom (DOF).

Fig. 1
Fig. 1
Full size image

Linear plate problem: Static point load applied at the centre of a thin metal plate

Our analysis involves three varying parameters: the Young’s modulus E, the Poisson coefficient \(\nu \), and the plate thickness \(\iota \). Consequently, the stiffness matrix, and subsequently the displacement solution, are functions of these three parameters. Assuming parameter values within the ranges \(E \in [100, 300]\) GPa, \(\nu \in [0.3, 0.49]\), and \(\iota \in [1, 10]\) mm, theoretically, an infinite number of quasi-static problems can be defined within these parameter ranges.

Our objective is to compute the displacement vector \({\varvec{u}} = {\varvec{u}}(E, \nu , \iota )\) in the online phase without direct access to the stiffness matrix generated by the full order FE software for any combination of \((E, \nu , \iota )\) in the range previously defined. To achieve this we here express the inverse of the stiffness matrix by means of a reduced orthonormal basis \(({\varvec{\phi }}^1, \dots , {\varvec{\phi }}^\texttt{R})\) as stated in Eq. (11) through a pre-trained machine learning algorithm (ML) that predicts the matrix coefficients in the reduced basis, thus providing \({({\textbf{A}}_r^i})^{-1}\) for a given set of parameters \(\mu _i\).

The subsequent steps, outlined below, apply the principles discussed in previous sections.

First, a basis of solution vectors must be constructed, where each solution vector \({\varvec{u}}^i\) is associated with specific parameters \(\mu ^i=(E_i, \nu _i, \iota _i)\). The snapshot size, denoted as \(\texttt{P}\), determines the number of experiments, and in this case, the snapshot size is set to \(\texttt{P}=65= 4^3+1\). The parameters combination associated with each experiment can be chosen using a Latin-Hyper Cube [26] or also using the zeros of the Chebyshev quadrature points [27], among other techniques. For the problem under consideration, we used the zeros of the Chebyshev polynomials of fourth order in each of the three parameter dimensions plus the point in the centre of the parameter domain.

For each snapshot, a FE solver is utilized to perform the calculation. For each experiment i, the associated stiffness matrix \(\varvec{A}^i\), displacement vector \(\varvec{u}^i\), and right-hand force vector \(\varvec{f}^i\) are recorded. Please refer to appendix A for more details on how this is technically achieved in a commercial software. Singular Value Decomposition (SVD) is then applied to the collected solution snapshots \((\varvec{u}^1, \dots , \varvec{u}^\texttt{P})\). By retaining the significant modes, a reduction matrix \(\varvec{V}\) is obtained, which is used to reduce the stiffness matrix \(\varvec{A}^i\) to \(\varvec{A}_r^i\), as expressed by:

$$\begin{aligned} \varvec{A}_r^i = \varvec{V}^T \varvec{A}^i \varvec{V}. \end{aligned}$$
(15)

The linear static plate problem is now presented in the form of Eq. (7). The size of the stiffness matrix \(\varvec{A}^i\), initially \(N \times N = 726 \times 726\), is reduced to \(\varvec{A}_r^i\) of size \(n \times n = 2 \times 2\) for the presented case by retaining the first set of eigenvalues such that the ratio between the largest eigenvalue and the smallest retained one is 1000. This matrix is then inverted to \(({\varvec{A}_r^{i}})^{-1}\) and reshaped into a vector form \({{\mathcal {B}}}_i\). The subsequent steps, as described in Section “Parametric reduced elasto-statics”, remain unchanged.

In this example, since R is equal to 2, only two coordinates in the stiffness matrix reduced space are required to generate \({\mathcal {A}}^{-1}_i\). Reshaping it to a \(n \times n\) matrix form allows solving the elasto-static problem by transforming Eq. (8) for a given set of parameters \(\mu _i\) using:

$$\begin{aligned} {\varvec{\xi }}^i = {\varvec{A}_r^{i}}^{-1} {\varvec{f}}_r^i, \end{aligned}$$
(16)

where \({\varvec{f}}_r^i\) obtained by projecting the right-hand side load vector \({\varvec{f}}^i\) on the reduced basis \({\varvec{V}}\), using \({\varvec{f}}_r^i = {\varvec{V}}^T {\varvec{f}}^i\), and then deducing the global displacement vector \({\varvec{u}}\), using Eq. (5).

To predict \(\varvec{\Theta } = \varvec{g}^{\textsc {ML}}(E, \nu , \iota )\), a machine learning algorithm must now be selected and trained. This is achieved by using Random Forest as already detailed in Section “Machine learning prediction training and predictions”.

Results discussion

As a first validation step, a comparison between the \(\varvec{\theta }_j\) outputted by the machine learning prediction and a reference one obtained from the inverted reduced stiffness matrix, is performed. \(\varvec{\theta }^{ref}_j=\varvec{\Theta }_{ref}[j,:] \) with:

$$\begin{aligned} \mathbf {\Theta }_{ref} = ({\varvec{\Phi }^{T}}\varvec{\Phi })^{-1}{\varvec{\Phi }^{T}} {\mathcal {B}} \end{aligned}$$
(17)

In analyzing the training set employed to train random forest prediction functions \(g^{\textsc {ML}}(E, \nu , \iota )\), we observe from Figure 2 that the predicted values remarkably mirror the reference values with exceptional precision. This fidelity holds true across all reduced coordinates of the stiffness matrix, whether on the training or validation datasets. Notably, the variance between the reference coefficients \(\varvec{\theta }_j\) (\(j=1,\ 2\)) and their predicted counterparts is virtually imperceptible to the naked eye, requiring significant magnification to discern.

It’s worth noting that the study cases are independent entities. Consequently, the connection between the \(\varvec{\theta }_1\) values depicted in Figure 2 lacks any inherent physical significance. However, establishing connections among the diverse \(\varvec{\theta }_1\) values corresponding to each study case serves the purpose of facilitating visual comparison between the two solutions. This principle extends to Figures 3, 6, and 7, where such visual aids streamline the comparative analysis process.

Fig. 2
Fig. 2
Full size image

Linear plate problem: Predicted versus reference \(\varvec{\theta }_1\) coefficients on the training data set

The \(\varvec{\Theta }\) have direct impact on the prediction of the stiffness matrix. We can assess this impact by comparing the \({\mathcal {A}}\) values associated with the reduced order model (ROM) solution to those predicted using the ML-informed ROM. For each study case i, we can compute the error \(\Delta {\mathcal {B}}_i\) as the Frobenius norm of the difference between the reference and the predicted \({\mathcal {B}}_i\) vectors:

$$\begin{aligned} \Delta {\mathcal {B}}_i =||{{\textbf {B}}}_i^{\text {reference}}- {{\textbf {B}}}_i^{\text {predicted}}||_{\text {F}}. \end{aligned}$$
(18)

Therefore, the relative error on the prediction of \({\mathcal {B}}_i\) vectors, in percent, is:

$$\begin{aligned} \Delta {\mathcal {B}}_i^r = \frac{||{{\textbf {B}}}_i^{\text {reference}}-{{\textbf {B}}}_i^{\text {predicted}}||_{\text {F}}}{||{{\textbf {B}}} _i^{\text {reference}}||_{\text {F}}}\times 100. \end{aligned}$$
(19)

As Figure 3 shows, the error on the Frobenius norm of the stiffness matrix is low with a relative error not exceeding \(2\%\). The maximum relative error corresponds to the lower matrix coefficients.

Fig. 3
Fig. 3
Full size image

Linear plate problem: Evaluating precision through a comparison of the Frobenius norm between the reference FEM stiffness matrix and the matrix predicted using machine Learning (ML)- based Reduced Order Modeling (ROM)

In the comparison above, the machine learning predictions yield satisfactory results. Subsequently, we delve deeper by examining the actual quantities of interest, such as displacements. This examination offers a nuanced understanding of the precision of our proposed method, particularly as we can juxtapose it with the global displacements generated by the FEM solver, and those provided by the POD-ROM. For sake of completeness, we compute displacements for every degree of freedom across all 65 calculations. Given 726 degrees of freedom (DOF) for each set of parameters \(\mu _i\), a total of 47,190 values are compared, encompassing both validation and training datasets as prediction precision is similar on training and validation datasets. Figure 4 plots the predicted versus reference displacements/rotations for all DOFs, with the \(y=x\) line representing zero error values. Points further from this axis indicate higher error. Both standard POD-ROM and ML-ROM solutions are displayed. As depicted, displacements obtained using the machine learning-informed ROM closely resemble those obtained using classical POD-ROM, which, in turn, agree with the FEM solution. However, upon closer examination of low displacement values, particularly near the (0, 0) center, higher errors are observed in predictions. Nonetheless, for higher displacement values, the ML-ROM closely mirrors its POD-ROM counterpart. Notably, errors in low displacement values, such as those of nodes near boundary conditions or nodes with negligible rotations, bear minimal physical significance. Indeed, analysis of a test case with the highest displacement error reveals that the FEM deflection and the ML-ROM one are indistinguishable unless displacements are magnified by a factor of 1000, as demonstrated by cut A-A in Figure 5. Therefore, high errors are primarily associated with non-significant displacements and rotations that have minimal impact on the physical deflection of the plate.

Fig. 4
Fig. 4
Full size image

Linear plate problem: Assessing the precision of the method on displacement and rotation values for all degrees of freedom associated with different training and validation datasets

Fig. 5
Fig. 5
Full size image

Linear plate problem: Comparison of the plate deformation, scaled by a factor of 1000 for sake of better visibility. In blue the results obtained with the Machine Learning (ML) based Reduced Order Model (ROM) and in red the corresponding finite element based Full Order Model (FOM) results

To quantify the error on the most relevant degrees of freedom, we illustrate the error appearing on the vertical displacements only in Figure 6, for both the training and validation sets. In the latter, all 121 nodes belonging to all 65 study cases are present and numbered from zero to 7865. Error assessment is performed by dividing the displacement error by the average deflection value. As Figure 6 shows, the vertical displacements exhibit minimal prediction errors. The maximum error does not exceed \(0.008\%\).

Fig. 6
Fig. 6
Full size image

Linear plate problem: Assessing the prediction error on the vertical displacements

Another relevant accuracy metric is the elastic energy. We choose to plot the elastic energy associated with each of the 65 calculations. We compare in Figure 7 the elastic energy of the FEM solution with the one of the POD-ROM and of the ML-ROM. All three curves match very well, illustrating therefore the precision of the proposed approach.

Fig. 7
Fig. 7
Full size image

Linear plate problem: Comparison of the computed elastic energy and corresponding relative error in energy for the 65 snapshot cases

Moreover, as Figure 7 shows, the relative error remains lower than \(2\%\) with the larger error associated with the lower energy cases. These conclusions confirm the ones obtained using the displacements and the matrix coefficients.

On the other hand, running all 65 full order model simulation cases sequentially in Abaqus required approximately 3 min on a 13th Gen Intel Core i9-13950HX (2.2GHz) with 32 GB RAM. Once trained, however, the ML-ROM predicts all 65 use cases displacements in just a few seconds. As noted in Section “Machine learning prediction training and predictions”, Random Forest training is fast, but additional time–around a couple of minutes–is needed for data handling, including reading and processing the stiffness matrices. Therefore, training cost remains affordable especially when considering the computational time saved in the online stage.

Conclusion

Based on the aforementioned comparisons and error metrics, it can be concluded that the proposed method is performing well. It enables accurate prediction of the reduced inverse of the stiffness matrix for parameter combinations that were not part of the training set, thereby facilitating precise computation of the displacement fields across all degrees of freedom in an elastostatic problem.

Application to a non-affine geometrically non-linear plate problem

Following the successful application of the method to parametric elastostatic problems, our objective now shifts towards its extension to non-linear scenarios. Given the substantial variability in non-linearities, the adaptation of the method to address such cases necessitates a tailored approach contingent upon the specific nature of non-linearity under consideration. In this paper, we address geometrically non-linear problems as a preliminary step. The method’s success in this endeavor will lay the groundwork for highly non-linear applications in future works.

In a geometrically non-linear scenario, the stiffness matrix becomes a function of displacement, while the load vector remains a known entity within the problem domain. To illustrate, consider a simple 1D problem, such as the deformation of a spring under the influence of an external force F. In static equilibrium, the spring stiffness K can be represented as:

$$\begin{aligned} K(x) = \frac{dF}{dx}. \end{aligned}$$
(20)

The integration process unfolds iteratively over \(N_t\) steps. For each step i within the range \([1,N_t]\), employing a numerical integration method like the trapezoidal rule yields [63]:

$$\begin{aligned} F_{i} - F_{i-1} = \frac{ \left( K_{i} + K_{i-1} \right) }{2} \left( x_{i} - x_{i-1} \right) \end{aligned}$$
(21)

with \(i=0\) corresponding to initial conditions. This fundamental principle extends seamlessly to 2D or 3D problems, albeit with variations in the integration techniques depending on the Finite Element Method (FEM) solver employed [62]. Nevertheless, the trapezoidal rule remains effective for geometric non-linearity, particularly when the number of integration steps \(N_t\) is sufficiently large [64].

Readers should note that the core steps for generating the inverted stiffness matrix remain consistent and that the method itself is generalizable. The detailed discussion on how the the integration scheme is used to solve the geometrically non-linear problem is necessary because we must compare the Machine Learning-based Reduced Order Model (ML-ROM) solution with both the Proper Orthogonal Decomposition-based Reduced Order Model (POD-ROM) and the reference solution from the Finite Element Analysis (FEA) software. To ensure a fair comparison, it is essential to use the same integration scheme, time step, and other parameters as those used by the commercial software. In the following sections, it will be evident that an average stiffness matrix is generated, rather than one specific to a given time step—a choice dictated by the selected commercial FEA software. If the method is applied independently, users can select their preferred integration scheme and proceed accordingly. The primary difference between linear and non-linear applications lies in the parameters to be considered when generating the stiffness matrix. For linear problems, material parameters are sufficient, while for non-linear problems, the displacement at the previous time step must be included, as the stiffness matrix becomes solution-dependent. Appendix A provides a technical explanation on how the method is implemented in Abaqus, presented in a general format that is adaptable to various use cases.

In subsequent sections, we proceed to prove the application of this methodology. Section “Displacement prediction for fixed material parameters” serves as a starting point, wherein we showcase the method’s efficacy through its application to a 2D plate experiencing a geometric non-linearity induced by an external loading. In this case, the material parameters are well-defined. The primary challenge, as opposed to the linear parametric case detailed in Section “Application to a non-affine linear static plate problem”, lies in devising an appropriate integration technique.

Later on, Section “Displacement prediction for fixed material parameters” delves into the extension of the methodology to address parameterized problems exhibiting non-linear geometric behavior. Parametric non-linear problems consists a significant advancement, presenting further complexities in integration strategies and solution methodologies.

Displacement prediction for fixed material parameters

In this section, we reexamine the plate introduced in Section “Application to a non-affine linear static plate problem”. However, we are now exploring it through a different lens. The geometrical and material parameters are now fixed, providing a controlled environment for our investigation. Specifically, the Young’s modulus remains constant at 100 GPa, with a Poisson coefficient fixed at 0.3, and the plate thickness set to 1 mm. The loading configuration entails the application of a force uniformly distributed across four points at the middle of the plate, as depicted in Figure 8. This force is increasing as a function of the time along the vertical direction, starting from zero and reaching 400 kN at \(t=1\,s\).

Fig. 8
Fig. 8
Full size image

Geometrically non-linear plate problem: The plate under study along with the force vector consisting of four point-loads

Upon reaching equilibrium, the applied load induces a deformed configuration with a maximum deflection of 7.32 cm.

Solving the non-linear geometric problem involves \(N_t=118\) time steps executed by the selected commercial FE solver, utilizing the trapezoidal integration method. Throughout each integration step, the stiffness matrix, displacement, and load vectors are recorded. Solving a geometrically non-linear static problem could be approached differently from one FE solver to the other. However, a widely used approach consists in applying the load gradually starting at \(t=0\) with a load free structure and reaching equilibrium at \(t_{end} = 1\) with the load fully applied [60]. This one-second time lapse is divided into time steps, with \(t_i\) referring to the \(i^{th}\) time instant. Since it is a static problem, time is fictitious and \(t_i\) could be seen as an iteration step. The time increment size \(\delta t_i = t_{i} - t_{i-1}\) may evolve as a function of i depending on the software’s solving algorithm. The governing equation for the plate, solved using the trapezoidal rule at \(t_i\), generalized from Eq. (21), reads [61]:

$$\begin{aligned} \frac{ \left( \varvec{A}_{i} + \varvec{A}_{i-1} \right) }{2} \left( \varvec{u}_{i} - \varvec{u}_{i-1} \right) = \varvec{f}_{i} - \varvec{f}_{i-1} \end{aligned}$$
(22)

We denote \(\tilde{\varvec{A}}_i = \frac{1}{2} \left( \varvec{A}_{i} + \varvec{A}_{i-1} \right) \) as the average stiffness matrix at time step \(t_i\). Each stiffness matrix \(\tilde{\varvec{A}}_i\) and displacement vector \({\varvec{u}}_i\) are associated with their corresponding integration step \(t_i\), following the methodology of Section “Application to a non-affine linear static plate problem”. First of all the solution space is reduced by using a first SVD on the solution snapshots \({\varvec{u}}_i\), leading to the reduced basis \({\varvec{V}}\). Using \({\varvec{V}}\), \(\tilde{\varvec{A}}_i\) are reduced to \(\tilde{\varvec{A}_r}_i\), which are in turn inverted and then reshaped into a vector shape \({\mathcal {B}}_i\). Once the second SVD is used on the collection of matrix snapshots \({\mathcal {B}}=({\mathcal {B}}_1,\cdots ,{\mathcal {B}}_{N_t})\), we obtain a matrix \({\varvec{\Theta }}\) of size \((5 \times N_t)\) encapsulating the essential information of the reduced order model, facilitating therefore the reconstruction of the displacements’ evolution under the imposed loading conditions. The dimensional reduction to a size of 5 is determined by selecting the first set of eigenvalues such that the ratio between the highest eigenvalue and the lowest retained eigenvalue is 1000.

For each time step \(t_i\), we dispose five \({\theta }_i\) values necessary to reconstruct \({\mathcal {A}}_i\), or more precisely, its reduced inverse denoted as vector \({\mathcal {A}}^{-1}_i\). This vector is reshaped into the corresponding reduced matrix and then used to obtain the reduced coordinates \({\varvec{\xi }}_i\). Subsequently, the global degrees of freedom are deduced using \({\varvec{u}}_i = \varvec{V} {\varvec{\xi }}_i\). The different reconstruction steps are illustrated in Algorithm 1. Note that \({\varvec{V}}^T \left( {\textbf{f}}_{i} - {\textbf{f}}_{i-1} \right) \) can be precomputed in the offline phase if the right hand side \({\textbf{f}}_i\) is known.

To minimize ambiguity, we propose the following notation for key elements derived from matrix \({\varvec{\Theta }}\):

  • \(\underline{{\varvec{\theta }}}_i\): This vector contains the reduced matrix coefficients at time step i, enabling the reconstruction of the inverse of the reduced stiffness matrix for that specific time step.

  • \({{\varvec{\theta }}}_k\): This vector encompasses all information pertaining to the \(k^{th}\) reduced coefficient across various time steps.

Algorithm 1
Algorithm 1
Full size image

Iteratively Updating \({\varvec{\Theta }}\) and Solving for \({\varvec{u}}\)

The machine learning training will enable the prediction of \(\underline{{\varvec{\theta }}}_i\) at each time step \(t_i\) based on the reduced displacements obtained from the previous time step, the current time step \(t_i\) and the time step increment \(\delta t_i\) (which defines the next time step \(t_{i+1}\)). For the training, we consider \(85 \%\) of all time steps as part of the training data set and the remaining time steps serve as the validation data set.

Fig. 9
Fig. 9
Full size image

Geometrically non-linear plate problem: Evolution of \(\varvec{\theta }_1\) and \(\varvec{\theta }_5\) as a function of the increment step number

Figure 9 shows the evolution of \(\varvec{\theta }_1\) and \(\varvec{\theta }_5\) as a function of the increment step number. For \(\varvec{\theta }_1\), the first neural network output, the curve exhibits a non-linear behavior, yet it demonstrates relatively smooth variations. The machine learning algorithm successfully reproduces the curve by generating precise predictions values at different increment steps, whether in the training or validation step. However, the curves of \(\varvec{\theta }_j\) for \(j \in [1,5]\) become more complex with increasing j, and the prediction accuracy decreases as it clearly appears on the prediction of \(\varvec{\theta }_5\). Nevertheless, the influence of \(\varvec{\theta }_j\) on the global solution diminishes with increasing j. This results in the displacement prediction of Figure 10 closely matching the classical reduced order model (POD-ROM) displacements. The ML-ROM differing by less than \(7.5 \%\), as a maximum, from the standard finite elements solution, which is used as a reference solution.

Fig. 10
Fig. 10
Full size image

Geometrically non-linear plate problem: Comparison of the predicted final displacement using the Machine Learning based Reduced Order Model (ML-ROM) with that obtained from the classical Proper Orthogonal Decomposition ROM (POD-ROM) and the one from the Full Order Model (FOM), i.e., a standard finite element solver

This simple geometrically non-linear use case demonstrates that the methodology used in Section “Application to a non-affine linear static plate problem” is promising in non-linear scenarios, such as the ones exhibiting geometrically non-linearities. Geometrical non-linear parametric use cases are the topic tackled in the next section.

Displacement prediction as function of material parameters

In this section, the same plate scenario is considered again, as in the previous section, maintaining identical loading and boundary conditions. However, in this example, we introduce variations in the Young’s modulus, Poisson coefficient, and plate thickness, mimicking the setup in Section “Application to a non-affine linear static plate problem”. Essentially, we replicate the use case of Section “Application to a non-affine linear static plate problem” to encompass geometrically non-linear behavior under higher loads.

A database of 65 finite element simulations spanning the same parameter range as in Section “Application to a non-affine linear static plate problem”, is constructed. Each simulation is subdivided into \(N_t\) time increments, where \(N_t\) remains constant across all the simulations, set to \(N_t=118\). Each displacement vector is thus associated with a specific parameter combination and time step increment, forming the snapshots utilized to apply the methodology outlined in Section “Application to a non-affine linear static plate problem”. To assess the quality of the results, we designate 6 random use cases as validation instances, reserving the remaining 59 use cases for training.

Conducting a validation test involves supplying our software with input parameters \(\mu =(E, \nu , e)\) and initiating a reduced order model simulation. This simulation utilizes the reduced displacement \({\varvec{\xi }}_{i-1}\) from the previous time step \(t_{i-1}\) to forecast the inverse of the reduced stiffness matrix at the current time step \(t_{i}\). Subsequently, this enables the computation of \({\varvec{\xi }}_{i}\) for all time steps \(i \in [1, N_t]\). Unlike the plate example outlined in Section “Displacement prediction for fixed material parameters”, a test use case entails the complete execution of the time-dependent simulation associated with a specific parameter combination, circumventing the necessity of the FE solver. The geometry and boundary conditions are the same across all use cases. The determination of the reduced matrix coefficients \(\underline{{\varvec{\theta }}}_i\) at a particular time step i depends on the preceding time step outputs, namely, the solution for reduced coordinates \({\varvec{\xi }}_{i-1}\) in addition to the chosen time increment \(\delta t_i\), and the selected parameters set \(\mu \). Mathematically, this can be expressed as:

$$\begin{aligned} \underline{{\varvec{\theta }}}_i = g(\mu , \delta t_i, {\varvec{\xi }}_{i-1}), \end{aligned}$$

Once predicted, \(\underline{{\varvec{\theta }}}_i\) facilitates the deduction of the inverse of the stiffness matrix \({{\mathcal {A}}^{-1}_i}\) at time step \(t_i\).

\({\varvec{\theta }}_1\) closely resembles that of Figure 9. In general, \({\varvec{\theta }}_k\) exhibits similar characteristics to those noted in the previous sections, with complexity escalating alongside the order of reduced space k. Although predictions may exhibit decreased accuracy in such scenarios, the overall impact on the global solution tends to be minimal, given the reduced influence of \({\varvec{\theta }}_{k}\) on the solution with increasing k.

As for the choice of the Machine Learning algorithm, we recall that Random Forest is used across this research work for the reasons previously mentioned in section “Application to a non-affine linear static plate problem”.

Figure 11 compares the predicted versus reference values for different \({\varvec{\theta }}_{k}\) values for \(k=1, 7\) on the validation datasets. The values are normalized in the range [0, 1] to facilitate machine learning training. Figure 11a demonstrates the efficacy of machine learning predictions on test cases in reproducing \({\varvec{\theta }}_{1}\) values, despite significant differences or peaks between use cases. This indicates robust performance in capturing complex patterns. Even for \({\varvec{\theta }}_{7}\), which exhibits larger variations, the prediction remains accurate, as depicted in Figure 11b. It’s worth noting that the accuracy of the prediction is even higher on training datasets, though not explicitly shown in this discussion.

Fig. 11
Fig. 11
Full size image

Geometrically non-linear plate problem: Comparison of reference and predicted values for \({\varvec{\theta }}_{1}\) and \({\varvec{\theta }}_{7}\) on the the validation data sets

The distinct \(\theta _{k}\) values, with \(k \in [1,7]\) in this example, play a pivotal role in reconstructing the displacement solution, as elaborated in the preceding section. Remarkably, the displacement results obtained across various training or test cases closely align with those of the POD-ROM solution, which itself closely mirrors the reference FEM solution, as illustrated in Figure 12. When compared to the FEM reference solution, the predicted displacement using ML-ROM demonstrates minor discrepancies. Even in extreme cases, the maximum error on displacement or rotation across all test cases does not exceed \(8.7 \%\). On average, the error remains notably lower, averaging at approximately \(3 \%\) across all test cases.

Fig. 12
Fig. 12
Full size image

Geometrically non-linear plate problem: Assessing the accuracy of the prediction of displacements and rotations for the Machine Learning based Reduced Order Model (ML-ROM) and Proper Orthogonal Decomposition based ROM (POD-ROM) compared with the finite element based Full Order Model (FOM)

Before closing this section, we note that running all 65 full-order simulations took 25 min, while the ML-ROM produced results in a few seconds. Training the ML-ROM took about 5 min, primarily due to data handling such as reading and processing stiffness matrices.

Conclusion

In this section, we delved into extending the method from parametric linear elastostatic problems to parametric geometrically non-linear static problems. This extension is illustrated using a simple plate geometry meshed with shell elements. To showcase the method’s robustness on a higher complexity geometry, and higher degrees of freedom problems, Section “Illustrating the method on a complex geometry” presents an application on an airfoil geometry subjected to a pressure load, showcasing significant deformation and rotation.

Illustrating the method on a complex geometry

Study case presentation

This section extends the methodology previously applied in Section “Application to a non-affine geometrically non-linear plate problem” to a more complex structure, aiming to test its robustness and readiness for industrial applications beyond simple academic problems. Figure 13 depicts an airfoil structure comprised of shell elements, reinforced by three trusses, one at the middle of the airfoil, and one at each side. These trusses’ upper surfaces coincide with the airfoil surface and are welded to the airfoil. In this example, we consider three parameters: a Young’s Modulus shared by the trusses and the airfoil, ranging from 120 GPa to 300 GPa; the external surface thickness of the structure, denoted as \(e_1 \in [1, 5] \) mm; and the truss beams’ thickness, denoted as \(e_2 \in [5, 7.5] \) mm.

Fig. 13
Fig. 13
Full size image

The airfoil problem: Illustration of the airfoil geometry used for Machine Learning based Reduced Order Model (ML-ROM)

The airfoil structure is fixed at the left edge and free on the right one. A uniform surface pressure \(P= 2.7 MPa\) is applied to the lower surface of the airfoil. The structure exhibits non-linear geometrical behavior while its material is linear elastic. The structure is meshed with linear shell elements providing 6300 degrees of freedom on the 1050 nodes, a considerable increase compared to the examples previously illustrated in earlier sections of this work.

To cover the parameters’ range, a total of 100 calculations are performed, with 8 covering the parameter limits and the remaining 92 selected using the Latin Hypercube method within the parameter ranges. Abaqus is utilized to execute these simulations. For each simulation, the displacement vector is extracted for every time increment and added to the snapshot database. Similarly, the load vector and the stiffness matrix are recorded. The reader is refered to appendix A for more details on the technical implementation.

For the training process, \(85\%\) of the snapshots will be used as a training set, while the remaining \(15 \%\) will serve as a validation dataset. The validation dataset is randomly chosen from the available set of simulations. However, parameter combinations corresponding to the parameter limits are always included in the training dataset, to prevent extrapolation when predicting on unseen parameter combinations. The methodology is the same as already exposed in Section “Application to a non-affine geometrically non-linear plate problem” leading to \({\varvec{\Theta }}\) matrix of size \(({\texttt{P}},9)\), where \({\texttt{P}}\) is the number of available snapshots. The values of \({\varvec{\Theta }}\) are preprocessed using the Z-score method [31] to accelerate the training process.

Results discussion

As illustrated in previous examples, the accuracy of the results in this study hinges on the precision of predicting \({\varvec{\Theta }}\). A precise prediction ensures that the ML-ROM aligns with the POD-ROM solution, which, for this case and all snapshots, exhibits negligible discrepancies from the FEM solution.

In this example, Random Forest is used for predicting the values of \({\varvec{\Theta }}\). The Grid Search Cross Validation methodology (GridSearch) [32] is used to optimize the Random Forest parameters. The chosen configuration includes 50 estimators, 4 minimum sample leaves, 70 random states, and the use of bootstrap. In fact, for complex study cases, Grid Search can act as an automation tool to efficiently select the optimal Random Forest parameters, reducing the reliance on user trial and error.

For simplicity, we refrain from showcasing all \({\varvec{\theta }}_k\) values for \(k \in [1,9]\). Instead, we focus primarily on \({\varvec{\theta }}_1\), which holds the most significant impact on results, and \({\varvec{\theta }}_9\), which has the least impact and is generally is the most challenging to predict accurately.

To begin with, the reference values of \({\varvec{\theta }}_1\), denoted as \({\varvec{\theta }}_{1\text {ref}}\), are visually represented in Figure 14. Each of the 100 selected study cases encompasses multiple time increments, yielding a total of \(N_t\) snapshots. Examining Figure 14, it becomes apparent that within a singular study (depicted in red), the evolution of \({\varvec{\theta }}_1\) is characterized by minimal variations. However, traversing from one parameter set to another, represented by the green curve connecting all snapshots, reveals significant alterations. It’s crucial to note that while connecting outcomes from distinct study cases lacks physical validity, this approach effectively emphasizes the transitions in \({\varvec{\theta }}_{1\text {ref}}\) across different study cases. This observation underscores a primary challenge for the machine learning algorithm: accurately capturing both the values associated with a particular use case and their temporal evolution within said use case.

Fig. 14
Fig. 14
Full size image

The airfoil problem: \({\varvec{\theta }}_{1\text {ref}}\) as function of the snapshot number

Similar conclusions can be drawn for \({\varvec{\theta }}_{k}\) with \(k \in [2,9]\). However, as k increased, \({\varvec{\theta }}_k\) exhibits higher fluctuations and lower values compared to \({\varvec{\theta }}_1\), posing additional challenges for accurate predictions using machine learning.

Fig. 15
Fig. 15
Full size image

The airfoil problem: Predicted versus reference \({\varvec{\theta }}_{1}\) values for all snapshots of the validation data set

Figure 15 showcases the prediction results obtained from the validation dataset for \(\varvec{\theta }_{1}\). Notably, the values presented in this figure are those associated with Z-score normalization. The machine learning model demonstrates commendable performance in reproducing results from the validation dataset, albeit with slightly higher accuracy observed in the training dataset. This trend persists across the other \(\varvec{\theta }_k\) values for \(k \in [2,9]\).

Detailed analysis of the prediction on \(\varvec{\theta }_k\) values is not the primary focus. It is worth noting that the accuracy of displacement values is of greater interest. Displacement errors exhibit negligible deviations on the training dataset, with errors consistently below \(0.25\%\) across all degrees of freedom. In fact, the differences between the predicted values and those of the reference POD-ROM are imperceptible. However, on the 15 validation use cases, the average relative error in displacements is \(0.7\%\), although it peaks at \(7\%\) for a single parameters combination case.

On the validation data set, Figure 16 illustrates a selected validation case. We can see that the ML-ROM solution is practically identical to the POD-ROM solutions. This translates into negligible displacements error not exceeding 0.035 \(\%\).

Fig. 16
Fig. 16
Full size image

The airfoil problem: Vertical displacement comparison on a validation data set exhibiting low prediction error

On the other hand, the use case that exhibits the highest displacement error is shown in Figure 17. It is obvious that the predicted deflection deviates for this extreme case from the reference one, however, this deviation remains acceptable a relative error not exceeding \(7 \%\).

Fig. 17
Fig. 17
Full size image

The airfoil problem: Vertical displacement comparison on a validation data set exhibiting the highest prediction error

Finally, we point out that executing all 100 full-order simulations required approximately one hour, whereas the ML-ROM delivered predictions in just 30 s. The training phase, dominated by data preparation tasks like reading and processing stiffness matrices, took roughly 15 min.

Conclusion

The analysis conducted using the airfoil examples demonstrates the method’s robustness in handling complex geometries and loading conditions. Remarkably, the method’s effectiveness and accuracy remained uncompromised despite encountering increased geometric complexity, and even though predicting \(\mathbf \Theta \) seemed to present greater challenges.

Overall conclusions and perspectives

In this article we have developed a minimally intrusive reduced order model empowered by machine learning techniques to address affine and non-affine parametric linear and non-linear solid and structural problems.

The present approach inherit the physical properties of the Full Order Model (FOM) in a minimally intrusive manner by requiring access to the coefficient matrix, right hand side, and the Dirichlet boundary conditions which is typically enabled by commercial software.

The novelty in the present method is the use of Proper Orthogonal Decomposition (POD) in two steps and then using machine learning to compute the inverse of the reduced order stiffness matrices for any choice of the problem’s parameters.

The efficiency of the method was validated through both linear and geometrical non-linear structural academic and complex geometry problems, affirming its capability to construct real-time solutions accurately. Central to its success is the precise prediction of a reduced inverse stiffness matrices, facilitating real-time simulations without reliance on standard FEM software for matrix reconstruction. This is particularly significant in contexts involving non-linear behavior, where generating the tangent stiffness matrix during Newton–Raphson iterations incurs substantial computational costs. By eliminating this dependency, the method enables efficient parametric studies even in scenarios characterized by computationally expensive non-linearities.

Through ongoing development and refinement, this minimally intrusive reduced order model promises to be a valuable tool for efficiently tackling a wide array of complex parametric non-linear and non-affine parametric problems.