Skip to main content

Abstract

This chapter describes a work involving the Lagrangian simulation of fluids using convolutional networks and another work whose goal is the generation of new numerical frames in higher resolution from simulations in lower spatial resolution. The former is an adaptation of the CNN architecture to obtain a convolutional neural network capable of processing Smoothed Particle Hydrodynamics (SPH) data. The network input is composed of dynamic particle positions and velocities together with static particles that model the boundary of the fluid domain. The convolutional neural network output is a displacement array that must be used to update the positions and velocities of the fluid particles. The other focused approach is motivated by the success of generative adversarial networks (GANs) for data generation. The approach can be trained in 2D and 3D data produced using traditional solvers of the Navier–Stokes equations simulated using grid-based numerical methods. It is implemented through CNNs, using residual networks. The methodology includes a data augmentation step implemented through invariance properties (symmetry groups) of the Navier–Stokes equations. The chapter includes simulations generated with both techniques besides comparisons with numerical (ground-truth) results.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/isl-org/DeepLagrangianFluids

  2. 2.

    https://github.com/thunil/tempoGAN

  3. 3.

    https://www.blender.org/download/releases/3-4/

References

  1. Nadir Akinci, Markus Ihmsen, Gizem Akinci, Barbara Solenthaler, and Matthias Teschner. Versatile rigid-fluid coupling for incompressible SPH. ACM Trans. Graph., 31(4), Jul 2012.

    Google Scholar 

  2. Jan Bender. Splish Splash. https://github.com/InteractiveComputerGraphics/SPlisHSPlasH, 2022.

  3. Jan Bender, Tassilo Kugelstadt, Marcel Weiler, and Dan Koschier. Volume maps: An implicit boundary representation for SPH. In Proceedings of the 12th ACM SIGGRAPH Conference on Motion, Interaction and Games, pages 1–10, 2019.

    Google Scholar 

  4. R. Courant, K. Friedrichs, and H. Lewy. On the partial difference equations of mathematical physics. IBM J. Res. Dev., 11(2):215–234, mar 1967.

    Google Scholar 

  5. Fourtakas G Domínguez JM. Dualsphysics. open source for SPH to study free-surface phenomena. https://dual.sphysics.org/, 2021.

  6. D. J. Evans. Preconditioning Methods: Theory and Applications. Gordon and Breach Science Publishers, Inc., USA, 1st edition, 1983.

    Google Scholar 

  7. Jiaquan Gao, Ronghua Liang, and Jun Wang. Research on the conjugate gradient algorithm with a modified incomplete cholesky preconditioner on GPU. Journal of Parallel and Distributed Computing, 74, 01 2013.

    Google Scholar 

  8. Jens A. Griepentrog, Wolfgang Höppner, Hans-Christoph Kaiser, and Joachim Rehberg. A bi-lipschitz continuous, volume preserving map from the unit ball onto a cube. Note di Matematica, 28, 2008.

    Google Scholar 

  9. Abdul Jabbar, Xi Li, and Bourahla Omar. A Survey on Generative Adversarial Networks: Variants, Applications, and Training. ACM Computing Surveys, 54(8):1–38, 2022.

    Article  Google Scholar 

  10. Bee Lim, Sanghyun Son, Heewon Kim, Seungjun Nah, and Kyoung Mu Lee. Enhanced deep residual networks for single image super-resolution. 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 1132–1140, 2017.

    Google Scholar 

  11. Augustus Odena, Vincent Dumoulin, and Chris Olah. Deconvolution and checkerboard artifacts. Distill, 1(10):e3, 2016.

    Google Scholar 

  12. Prabhu Ramachandran and Aditya Bhosale. PySPH. open source framework for SPH. https://pysph.readthedocs.io/en/latest/, 2018.

  13. SPlisHSPlasH. Open-source library for physically-based simulation of fluids using SPH. https://splishsplash.readthedocs.io/en/2.9.0/about.html, 2021.

  14. Jos Stam. Stable fluids. ACM SIGGRAPH 99, 1999, 11 2001.

    Google Scholar 

  15. Nils Thuerey and Tobias Pfaff. MantaFlow. http://mantaflow.com, 2018.

  16. Nghia Truong and Cem Yuksel. A narrow-range filter for screen-space fluid rendering. Proc. ACM Comput. Graph. Interact. Tech., 1:17:1–17:15, 2018.

    Google Scholar 

  17. Benjamin Ummenhofer, Lukas Prantl, Nils Thuerey, and Vladlen Koltun. Lagrangian fluid simulation with continuous convolutions. In International Conference on Learning Representations, 2020.

    Google Scholar 

  18. You Xie, Erik Franz, Mengyu Chu, and Nils Thuerey. Tempogan: A temporally coherent, volumetric gan for super-resolution fluid flow. ACM Trans. Graph., 37(4), Jul 2018.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Antonio Giraldi, G., Almeida, L.R.d., Lopes Apolinário Jr., A., Silva, L.T.d. (2023). Case Studies. In: Deep Learning for Fluid Simulation and Animation. SpringerBriefs in Mathematics. Springer, Cham. https://doi.org/10.1007/978-3-031-42333-8_8

Download citation

Publish with us

Policies and ethics