Skip to main content
Erschienen in: Engineering with Computers 1/2024

14.03.2023 | Original Article

Enhancing dynamic mode decomposition workflow with in situ visualization and data compression

verfasst von: Gabriel F. Barros, Malú Grave, José J. Camata, Alvaro L. G. A. Coutinho

Erschienen in: Engineering with Computers | Ausgabe 1/2024

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Modern computational science and engineering applications are being improved by advances in scientific machine learning. Data-driven methods such as dynamic mode decomposition (DMD) can extract coherent structures from spatio-temporal data generated from dynamical systems and infer different scenarios for said systems. The spatio-temporal data come as snapshots containing spatial information for each time instant. In modern engineering applications, the generation of high-dimensional snapshots can be time and/or resource-demanding. In the present study, we consider two strategies for enhancing DMD workflow in large numerical simulations: (i) snapshots compression to relieve disk pressure; (ii) the use of in situ visualization images to reconstruct the dynamics (or part of) in runtime. We evaluate our approaches with two 3D fluid dynamics simulations and consider DMD to reconstruct the solutions. Results reveal that snapshot compression considerably reduces the required disk space. We have observed that lossy compression achieves compression rates up to \({\mathcal {O}}(10^2)\) with low relative errors in the signal reconstructions and other quantities of interest. We also extend our analysis to data generated on-the-fly, using in situ visualization tools to generate image files of our state vectors during runtime. On large simulations, the generation of snapshots may be slow enough to use batch algorithms for inference. Streaming DMD takes advantage of the incremental SVD algorithm and updates the modes with the arrival of each new snapshot. We use streaming DMD to reconstruct the dynamics from in situ generated images. We show that this process is efficient and the reconstructed dynamics are accurate.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Adelsberger J, Esser P, Griebel M et al (2014) 3D incompressible two-phase flow benchmark computations for rising droplets. In: Proceedings of the 11th world congress on computational mechanics (WCCM XI), Barcelona, Spain Adelsberger J, Esser P, Griebel M et al (2014) 3D incompressible two-phase flow benchmark computations for rising droplets. In: Proceedings of the 11th world congress on computational mechanics (WCCM XI), Barcelona, Spain
2.
Zurück zum Zitat Ahmed N, Rebollo TC, John V et al (2017) A review of variational multiscale methods for the simulation of turbulent incompressible flows. Arch Comput Methods Eng 24(1):115–164MathSciNetCrossRef Ahmed N, Rebollo TC, John V et al (2017) A review of variational multiscale methods for the simulation of turbulent incompressible flows. Arch Comput Methods Eng 24(1):115–164MathSciNetCrossRef
4.
Zurück zum Zitat Ainsworth M, Tugluk O, Whitney B et al (2018) Multilevel techniques for compression and reduction of scientific data-the univariate case. Comput Vis Sci 19(5):65–76MathSciNetCrossRef Ainsworth M, Tugluk O, Whitney B et al (2018) Multilevel techniques for compression and reduction of scientific data-the univariate case. Comput Vis Sci 19(5):65–76MathSciNetCrossRef
5.
Zurück zum Zitat Ainsworth M, Tugluk O, Whitney B et al (2019) Multilevel techniques for compression and reduction of scientific data—the multivariate case. SIAM J Sci Comput 41(2):A1278–A1303MathSciNetCrossRef Ainsworth M, Tugluk O, Whitney B et al (2019) Multilevel techniques for compression and reduction of scientific data—the multivariate case. SIAM J Sci Comput 41(2):A1278–A1303MathSciNetCrossRef
6.
Zurück zum Zitat Ainsworth M, Tugluk O, Whitney B et al (2019) Multilevel techniques for compression and reduction of scientific data-quantitative control of accuracy in derived quantities. SIAM J Sci Comput 41(4):A2146–A2171MathSciNetCrossRef Ainsworth M, Tugluk O, Whitney B et al (2019) Multilevel techniques for compression and reduction of scientific data-quantitative control of accuracy in derived quantities. SIAM J Sci Comput 41(4):A2146–A2171MathSciNetCrossRef
7.
Zurück zum Zitat Ainsworth M, Tugluk O, Whitney B et al (2020) Multilevel techniques for compression and reduction of scientific data—the unstructured case. SIAM J Sci Comput 42(2):A1402–A1427MathSciNetCrossRef Ainsworth M, Tugluk O, Whitney B et al (2020) Multilevel techniques for compression and reduction of scientific data—the unstructured case. SIAM J Sci Comput 42(2):A1402–A1427MathSciNetCrossRef
11.
Zurück zum Zitat Ayachit U, Bauer A, Geveci B et al (2015) Paraview catalyst: enabling in situ data analysis and visualization. In: Proceedings of the first workshop on in situ infrastructures for enabling extreme-scale analysis and visualization, pp 25–29 Ayachit U, Bauer A, Geveci B et al (2015) Paraview catalyst: enabling in situ data analysis and visualization. In: Proceedings of the first workshop on in situ infrastructures for enabling extreme-scale analysis and visualization, pp 25–29
13.
Zurück zum Zitat Ayachit U, Bauer AC, Boeckel B et al (2021) Catalyst revised: rethinking the paraview in situ analysis and visualization api. In: International conference on high performance computing. Springer, pp 484–494 Ayachit U, Bauer AC, Boeckel B et al (2021) Catalyst revised: rethinking the paraview in situ analysis and visualization api. In: International conference on high performance computing. Springer, pp 484–494
14.
Zurück zum Zitat Barros GF, Côrtes AMA, Coutinho AL (2020) Dynamic mode decomposition for density-driven gravity current simulations. In: CILAMCE 2020—Proceedings of the XLI Ibero-Latin-American congress on computational methods in engineering Barros GF, Côrtes AMA, Coutinho AL (2020) Dynamic mode decomposition for density-driven gravity current simulations. In: CILAMCE 2020—Proceedings of the XLI Ibero-Latin-American congress on computational methods in engineering
16.
Zurück zum Zitat Bazilevs Y, Takizawa K, Tezduyar TE (2013) Computational fluid-structure interaction: methods and applications. Wiley, New YorkCrossRef Bazilevs Y, Takizawa K, Tezduyar TE (2013) Computational fluid-structure interaction: methods and applications. Wiley, New YorkCrossRef
19.
Zurück zum Zitat Brackbill JU, Kothe DB, Zemach C (1992) A continuum method for modeling surface tension. J Comput Phys 100(2):335–354MathSciNetCrossRef Brackbill JU, Kothe DB, Zemach C (1992) A continuum method for modeling surface tension. J Comput Phys 100(2):335–354MathSciNetCrossRef
20.
Zurück zum Zitat Brand M (2002) Incremental singular value decomposition of uncertain data with missing values. In: Heyden A, Sparr G, Nielsen M et al (eds) Computer Vision—ECCV 2002. Springer, Berlin Heidelberg, pp 707–720CrossRef Brand M (2002) Incremental singular value decomposition of uncertain data with missing values. In: Heyden A, Sparr G, Nielsen M et al (eds) Computer Vision—ECCV 2002. Springer, Berlin Heidelberg, pp 707–720CrossRef
21.
Zurück zum Zitat Bratko A, Filipič B, Cormack GV et al (2006) Spam filtering using statistical data compression models. J Mach Learn Res 7:2673–2698MathSciNet Bratko A, Filipič B, Cormack GV et al (2006) Spam filtering using statistical data compression models. J Mach Learn Res 7:2673–2698MathSciNet
29.
Zurück zum Zitat Childs H, Brugger E, Whitlock B et al (2012) VisIt: an end-user tool for visualizing and analyzing very large data. United States. Department of Energy. Office of Science Childs H, Brugger E, Whitlock B et al (2012) VisIt: an end-user tool for visualizing and analyzing very large data. United States. Department of Energy. Office of Science
30.
Zurück zum Zitat Choi Y, Brown P, Arrighi W et al (2021) Space-time reduced order model for large-scale linear dynamical systems with application to Boltzmann transport problems. J Comput Phys 424(109):845MathSciNet Choi Y, Brown P, Arrighi W et al (2021) Space-time reduced order model for large-scale linear dynamical systems with application to Boltzmann transport problems. J Comput Phys 424(109):845MathSciNet
32.
Zurück zum Zitat Codina R, Badia S, Baiges J et al (2018) Variational multiscale methods in computational fluid dynamics. In: Encyclopedia of computational mechanics, 2nd edn, pp 1–28 Codina R, Badia S, Baiges J et al (2018) Variational multiscale methods in computational fluid dynamics. In: Encyclopedia of computational mechanics, 2nd edn, pp 1–28
33.
Zurück zum Zitat Coupez T (2007) Convection of local level set function for moving surfaces and interfaces in forming flow. In: AIP conference proceedings. AIP, pp 61–66 Coupez T (2007) Convection of local level set function for moving surfaces and interfaces in forming flow. In: AIP conference proceedings. AIP, pp 61–66
39.
Zurück zum Zitat Erichson NB, Voronin S, Brunton SL et al (2019) Randomized matrix decompositions using R. J Stat Softw 89(1):1–48 Erichson NB, Voronin S, Brunton SL et al (2019) Randomized matrix decompositions using R. J Stat Softw 89(1):1–48
40.
Zurück zum Zitat Foster I, Ainsworth M, Bessac J et al (2021) Online data analysis and reduction: an important co-design motif for extreme-scale computers. Int J High Perform Comput Appl 35(6):617–635CrossRef Foster I, Ainsworth M, Bessac J et al (2021) Online data analysis and reduction: an important co-design motif for extreme-scale computers. Int J High Perform Comput Appl 35(6):617–635CrossRef
42.
Zurück zum Zitat Gavish M, Donoho DL (2014) The optimal hard threshold for singular values is \(4/\sqrt{3}\). IEEE Trans Inf Theory 60(8):5040–5053MathSciNetCrossRef Gavish M, Donoho DL (2014) The optimal hard threshold for singular values is \(4/\sqrt{3}\). IEEE Trans Inf Theory 60(8):5040–5053MathSciNetCrossRef
44.
Zurück zum Zitat Ghahramani Z (2015) Probabilistic machine learning and artificial intelligence. Nature 521(7553):452–459CrossRef Ghahramani Z (2015) Probabilistic machine learning and artificial intelligence. Nature 521(7553):452–459CrossRef
45.
Zurück zum Zitat Grave M, Camata JJ, Coutinho AL (2020) A new convected level-set method for gas bubble dynamics. Comput Fluids 209(104):667MathSciNet Grave M, Camata JJ, Coutinho AL (2020) A new convected level-set method for gas bubble dynamics. Comput Fluids 209(104):667MathSciNet
48.
Zurück zum Zitat He X, Choi Y, Fries WD et al (2022) glasdi: parametric physics-informed greedy latent space dynamics identification. arXiv:2204.12005 He X, Choi Y, Fries WD et al (2022) glasdi: parametric physics-informed greedy latent space dynamics identification. arXiv:​2204.​12005
50.
Zurück zum Zitat Hughes TJ, Scovazzi G, Franca LP (2004) Multiscale and stabilized methods. In: Encyclopedia of computational mechanics, 2nd edn Hughes TJ, Scovazzi G, Franca LP (2004) Multiscale and stabilized methods. In: Encyclopedia of computational mechanics, 2nd edn
51.
Zurück zum Zitat Jin S, Tao D, Tang H et al (2022) Accelerating parallel write via deeply integrating predictive lossy compression with HDF5. In: Proceedings of the international conference on high performance computing, networking, storage and analysis. IEEE Press, SC ’22 Jin S, Tao D, Tang H et al (2022) Accelerating parallel write via deeply integrating predictive lossy compression with HDF5. In: Proceedings of the international conference on high performance computing, networking, storage and analysis. IEEE Press, SC ’22
53.
Zurück zum Zitat Kadeethum T, Ballarin F, O’malley D et al (2022) Reduced order modeling for flow and transport problems with barlow twins self-supervised learning. Sci Rep 12(1):20654CrossRef Kadeethum T, Ballarin F, O’malley D et al (2022) Reduced order modeling for flow and transport problems with barlow twins self-supervised learning. Sci Rep 12(1):20654CrossRef
58.
Zurück zum Zitat Kutz JN, Brunton SL, Brunton BW et al (2016) Dynamic mode decomposition: data-driven modeling of complex systems. SIAM. ISBN: 978-1-611974-49-2 Kutz JN, Brunton SL, Brunton BW et al (2016) Dynamic mode decomposition: data-driven modeling of complex systems. SIAM. ISBN: 978-1-611974-49-2
59.
Zurück zum Zitat Larsen M, Ahrens J, Ayachit U et al (2017) The alpine in situ infrastructure: ascending from the ashes of strawman. In: Proceedings of the in situ infrastructures on enabling extreme-scale analysis and visualization. Association for Computing Machinery, New York, ISAV’17, pp 42–46. https://doi.org/10.1145/3144769.3144778 Larsen M, Ahrens J, Ayachit U et al (2017) The alpine in situ infrastructure: ascending from the ashes of strawman. In: Proceedings of the in situ infrastructures on enabling extreme-scale analysis and visualization. Association for Computing Machinery, New York, ISAV’17, pp 42–46. https://​doi.​org/​10.​1145/​3144769.​3144778
63.
Zurück zum Zitat Littlestone N, Warmuth M (1986) Relating data compression and learnability. Technical report, Department of Computer and Information Sciences, Santa Cruz Littlestone N, Warmuth M (1986) Relating data compression and learnability. Technical report, Department of Computer and Information Sciences, Santa Cruz
64.
Zurück zum Zitat Matsumoto D, Indinger T (2017) On-the-fly algorithm for dynamic mode decomposition using incremental singular value decomposition and total least squares. arXiv:1703.11004 Matsumoto D, Indinger T (2017) On-the-fly algorithm for dynamic mode decomposition using incremental singular value decomposition and total least squares. arXiv:​1703.​11004
65.
Zurück zum Zitat Maulik R, Mengaldo G (2021) PyParSVD: a streaming, distributed and randomized singular-value-decomposition library. In: Proceedings of DRBSD-7 2021: 7th international workshop on data analysis and reduction for big scientific data, held in conjunction with SC 2021: the international conference for high performance computing, networking, storage and analysis, pp 19–25. https://doi.org/10.1109/DRBSD754563.2021.00007. arXiv:2108.08845 Maulik R, Mengaldo G (2021) PyParSVD: a streaming, distributed and randomized singular-value-decomposition library. In: Proceedings of DRBSD-7 2021: 7th international workshop on data analysis and reduction for big scientific data, held in conjunction with SC 2021: the international conference for high performance computing, networking, storage and analysis, pp 19–25. https://​doi.​org/​10.​1109/​DRBSD754563.​2021.​00007. arXiv:​2108.​08845
77.
Zurück zum Zitat Rossa AL, Coutinho AL (2013) Parallel adaptive simulation of gravity currents on the lock-exchange problem. Comput Fluids 88:782–794MathSciNetCrossRef Rossa AL, Coutinho AL (2013) Parallel adaptive simulation of gravity currents on the lock-exchange problem. Comput Fluids 88:782–794MathSciNetCrossRef
78.
79.
Zurück zum Zitat Sashidhar D, Kutz JN (2022) Bagging, optimized dynamic mode decomposition for robust, stable forecasting with spatial and temporal uncertainty quantification. Philos Trans R Soc A 380(2229):20210199MathSciNetCrossRef Sashidhar D, Kutz JN (2022) Bagging, optimized dynamic mode decomposition for robust, stable forecasting with spatial and temporal uncertainty quantification. Philos Trans R Soc A 380(2229):20210199MathSciNetCrossRef
81.
84.
Zurück zum Zitat Sirovich L (1987) Turbulence and the dynamics of coherent structures I, II and III. Q Appl Math 45(3):561–590CrossRef Sirovich L (1987) Turbulence and the dynamics of coherent structures I, II and III. Q Appl Math 45(3):561–590CrossRef
85.
Zurück zum Zitat Taira K, Brunton SL, Dawson ST et al (2017) Modal analysis of fluid flows: an overview. AIAA J 55(12):4013–4041CrossRef Taira K, Brunton SL, Dawson ST et al (2017) Modal analysis of fluid flows: an overview. AIAA J 55(12):4013–4041CrossRef
88.
Zurück zum Zitat Viguerie A, Grave M, Barros GF et al (2022) Data-driven simulation of Fisher-Kolmogorov tumor growth models using dynamic mode decomposition. J Biomech Eng 144(12):121001CrossRef Viguerie A, Grave M, Barros GF et al (2022) Data-driven simulation of Fisher-Kolmogorov tumor growth models using dynamic mode decomposition. J Biomech Eng 144(12):121001CrossRef
89.
Zurück zum Zitat Ville L, Silva L, Coupez T (2011) Convected level set method for the numerical simulation of fluid buckling. Int J Numer Methods Fluids 66(3):324–344CrossRef Ville L, Silva L, Coupez T (2011) Convected level set method for the numerical simulation of fluid buckling. Int J Numer Methods Fluids 66(3):324–344CrossRef
91.
Zurück zum Zitat Wang Z, Bovik AC (2009) Mean squared error: love it or leave it? IEEE Signal Process Mag 26(1):98–117CrossRef Wang Z, Bovik AC (2009) Mean squared error: love it or leave it? IEEE Signal Process Mag 26(1):98–117CrossRef
Metadaten
Titel
Enhancing dynamic mode decomposition workflow with in situ visualization and data compression
verfasst von
Gabriel F. Barros
Malú Grave
José J. Camata
Alvaro L. G. A. Coutinho
Publikationsdatum
14.03.2023
Verlag
Springer London
Erschienen in
Engineering with Computers / Ausgabe 1/2024
Print ISSN: 0177-0667
Elektronische ISSN: 1435-5663
DOI
https://doi.org/10.1007/s00366-023-01805-y

Weitere Artikel der Ausgabe 1/2024

Engineering with Computers 1/2024 Zur Ausgabe

Neuer Inhalt