| Literature DB >> 34366524 |
Gabriel F Barros1, Malú Grave1, Alex Viguerie2, Alessandro Reali3, Alvaro L G A Coutinho1.
Abstract
Dynamic mode decomposition (DMD) is a powerful data-driven method used to extract spatio-temporal coherent structures that dictate a given dynamical system. The method consists of stacking collected temporal snapshots into a matrix and mapping the nonlinear dynamics using a linear operator. The classical procedure considers that snapshots possess the same dimensionality for all the observable data. However, this often does not occur in numerical simulations with adaptive mesh refinement/coarsening schemes (AMR/C). This paper proposes a strategy to enable DMD to extract features from observations with different mesh topologies and dimensions, such as those found in AMR/C simulations. For this purpose, the adaptive snapshots are projected onto the same reference function space, enabling the use of snapshot-based methods such as DMD. The present strategy is applied to challenging AMR/C simulations: a continuous diffusion-reaction epidemiological model for COVID-19, a density-driven gravity current simulation, and a bubble rising problem. We also evaluate the DMD efficiency to reconstruct the dynamics and some relevant quantities of interest. In particular, for the SEIRD model and the bubble rising problem, we evaluate DMD's ability to extrapolate in time (short-time future estimates).Entities:
Keywords: Adaptive mesh refinement and coarsening; Dimensionality reduction; Dynamic mode decomposition; Mesh projection
Year: 2021 PMID: 34366524 PMCID: PMC8328142 DOI: 10.1007/s00366-021-01485-6
Source DB: PubMed Journal: Eng Comput ISSN: 0177-0667 Impact factor: 8.083
Fig. 1Illustration of a mesh refinement procedure. A local a posteriori error estimator or indicator flags an element for refinement (in green) using the solution computed in the mesh on the left. The mesh is refined (or coarsened) according to the flagged elements, and the process can be restarted until a given criterion is met (error level, element size, maximum number of elements, etc.). Note that the initial and the final mesh differ in the number of degrees of freedom and topology
Fig. 2Comparison of different -projection examples on structured and unstructured meshes
Fig. 3Initial conditions for the 1D model
Fig. 4Solution at days for the fixed mesh solution, AMR solution and the respective projection onto a reference mesh for the 1D SEIRD example. The reference mesh was built with characteristic length similar to the smaller elements in the adaptive mesh
Absolute and relative time required for the projection routine in comparison with the adaptive finite element simulation code (AMR/C FEM) for the SEIRD model in the 1D case
| Code part | Absolute time (s) | Relative time ( |
|---|---|---|
| AMR/C FEM | 1262.89 | 98.53 |
| Mesh projection | 18.88 | 1.47 |
Fig. 5Solution at days for the AMR simulation solution and the 14 days projection using DMD for the 1D SEIRD example
Relative error between reconstructed (and predicted) data and the projected snapshots
| Compartments | Relative error | Speedup |
|---|---|---|
Fig. 6Number of mesh nodes in time for the adaptive solution and the proposed reference mesh for the 2D SEIRD example
Fig. 7Initial conditions for the SEIRD model in the Lombardy case
Fig. 8Solution for the susceptible compartment at days obtained using an adaptive mesh and its respective projection onto a fixed reference mesh
Absolute and relative time required for the projection routine in comparison with the adaptive finite element simulation code (AMR/C FEM) for the SEIRD model in the Lombardy case
| Code part | Absolute time (s) | Relative time ( |
|---|---|---|
| AMR/C FEM | 2107.24 | 98.52 |
| Mesh projection | 31.60 | 1.48 |
Fig. 9Comparison between computed and predicted solutions at days for the susceptible, exposed, and infected compartments
Fig. 10Comparison between computed and predicted solutions at days for the recovered, deceased, and cumulative infected compartments
Fig. 11Relative error for all compartments between numerical simulation snapshots and DMD reconstruction and prediction. The dashed line represents the beginning of the DMD prediction stage
Relative error between reconstructed (and predicted) data and the computed snapshots and speedup between DMD and the numerical simulation
| Compartments | Relative error ( | Speedup |
|---|---|---|
| 822.61 | ||
| 938.09 | ||
| 755.97 | ||
| 1036.93 | ||
| 977.91 | ||
| 977.03 |
Fig. 12Population conservation for both adaptive and projected results
Fig. 13Scheme illustrating the initial conditions for the density-driven gravity flow example
Fig. 14Results and mesh for the first 8 m of the domain at s
Fig. 15Number of mesh nodes in time for the adaptive solution and the proposed reference mesh for the density-driven gravity current example
Absolute and relative time required for the projection routine in comparison with the adaptive finite element simulation code (AMR/C FEM) for the lock-exchange example
| Code part | Absolute time (s) | Relative time ( |
|---|---|---|
| AMR/C FEM | 15748.11 | 94.94 |
| Mesh projection | 839.42 | 5.06 |
Fig. 16Relative error for the reconstruction considering different values of the rank r
Relative error between reconstructed data and the snapshots and speedup between DMD and the numerical simulation
| Rank | Relative error ( | Speedup |
|---|---|---|
| 50 | 558.53 | |
| 100 | 445.91 | |
| 150 | 230.67 | |
| 200 | 204.74 | |
| 250 | 189.17 |
Fig. 17Front position and mass conservation for the fixed mesh and adaptive mesh simulations and reconstructions with the target mesh
Fig. 18Initial configuration and boundary conditions for the bubble rising problem
Rising bubble data
| Computational domain | (m) | |
| Grid sizes | 0.100 to 0.025 | (m) |
| Number of time steps | 240 | (–) |
| Time step | 0.0125 | s |
| Bubble radius | 0.25 | m |
| Initial bubble position | m | |
| Liquid density | 1000 | kg/ |
| Liquid viscosity | 10 | kg/(ms) |
| Gas density | 100 | kg/ |
| Gas viscosity | 1 | kg/(ms) |
| Surface tension | 24.5 | N/m |
| Gravity | 0.98 | m/ |
Fig. 19Level-set solution detail at s and projection to the coarse, medium and fine meshes
Absolute and relative time required for the projection routine in comparison with the adaptive finite element simulation code (AMR/C FEM) for the bubble rising example
| Target mesh | Code part | Absolute time (s) | Relative time ( |
|---|---|---|---|
| Coarse | AMR/C FEM | 17345.92 | 99.97 |
| Mesh projection | 4.41 | 0.03 | |
| Intermediate | AMR/C FEM | 17390.03 | 99.85 |
| Mesh projection | 24.56 | 0.14 | |
| Fine | AMR/C FEM | 17653.70 | 98.91 |
| Mesh projection | 194.87 | 1.09 |
Fig. 20Comparison between the simulation and projection of the 3D rising bubble quantities of interest
Relative error between reconstructed data and the projected snapshots and speedup between DMD and the numerical simulation
| Rank | Mesh | Rel. error ( | Speedup |
|---|---|---|---|
| 5 | Coarse | ||
| Intermediate | |||
| Fine | |||
| 10 | Coarse | ||
| Intermediate | |||
| Fine | |||
| 15 | Coarse | ||
| Intermediate | |||
| Fine | |||
| 30 | Coarse | ||
| Intermediate | |||
| Fine | |||
| 45 | Coarse | ||
| Intermediate | |||
| Fine | |||
| 60 | Coarse | ||
| Intermediate | |||
| Fine |
Results presented for multiple values of r
Fig. 21Relative error for the rising bubble example for the coarse, intermediate, and fine mesh solutions. The dashed line defines the start of the prediction phase
Fig. 22Bubble contour at the vertical mid plane for the signal reconstruction ( s) and prediction ( s) last steps
Fig. 23Comparison between the simulation and DMD signal plus prediction of the 3D rising bubble quantities of interest. The dashed line marks the beginning of the prediction regime for the DMD