journal article·2024-02-22Open access

Just-in-Time Fluid Flow Simulation on Mobile Devices Using OpenVisFlow and OpenLB

Dennis Teutscher, Adrian Kummerländer, Fedor Bukreev, Marcio Dorn, Mathias J. Krause

Applied Sciences· Volume 14· Issue 5

Abstract

The present state of research in computational fluid dynamics (CFD) is marked by an ongoing process of refining numerical methods and algorithms with the goal of achieving accurate modeling and analysis of fluid flow and heat transfer phenomena. Remarkable progress has been achieved in the domains of turbulence modeling, parallel computing, and mesh generation, resulting in heightened simulation precision when it comes to capturing complex flow behaviors. Nevertheless, CFD faces a significant challenge due to the time and expertise needed for a meticulous simulation setup and intricate numerical techniques. To surmount this challenge, we introduce paint2sim—an innovative mobile application designed to enable on-the-fly 2D fluid simulations using a device’s camera. Seamlessly integrated with OpenLB, a high-performance Lattice Boltzmann-based library, paint2sim offers accurate simulations. The application leverages the capabilities of the Lattice Boltzmann Method (LBM) to model fluid behaviors accurately. Through a symbiotic interaction with the open-source OpenCV library, paint2sim can scan and extract hand-drawn simulation domains, affording the capability for instant simulation and visualization. Notably, paint2sim can also be regarded as a digital twin, facilitating just-in-time representation and analysis of 2D fluid systems. The implications of this technology extend significantly to both fluid dynamics education and industrial applications, effectively lowering barriers and rendering fluid simulations more accessible. Encouragingly, the outcomes of simulations conducted with paint2sim showcase promising qualitative and quantitative results. Overall, paint2sim offers a groundbreaking approach to mobile 2D fluid simulations, providing users with just-in-time visualization and accurate results, while simultaneously serving as a digital twin for fluid systems.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Lattice Boltzmann Simulation Studies · Computer Graphics and Visualization Techniques · Aerosol Filtration and Electrostatic Precipitation

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Lattice Boltzmann Research Group, Karlsruhe Institute of Technology, 76131 Karlsruhe, Germany

Structural Bioinformatics and Computational Biology Lab (SBCB), Federal University of Rio Grande do Sul (UFRGS), Porto Alegre 90010, Brazil

Funding

Ministry of Science, Research and the Arts of the State of Baden-Württemberg · Lattice Boltzmann Research Group

References (26)

Show source-provided references
1. Community, B.O. (2018). Blender—A 3D Modelling and Rendering Package, Blender Foundation, Stichting Blender Foundation.
2. (2024, February 02). Unity Technologies Version 2023.2.10. San Francisco, CA, USA. Available online: https://unity.com.
3. (2024, February 02). Unreal Engine Cary, NC, USA. Available online: https://www.unrealengine.com.
4. CFD post-processing in Unity3D10.1016/j.procs.2015.05.476 ↗
5. Stam, J. (2003, January 4–8). Real-time fluid dynamics for games. Proceedings of the Game Developer Conference, San Jose, CA, USA.
6. Real-time or faster-than-real-time simulation of airflow in buildings10.1111/j.1600-0668.2008.00559.x ↗
7. Developing a mobile application-based particle image velocimetry tool for enhanced teaching and learning in fluid mechanics: A design-based research approach10.1002/cae.22290 ↗
8. Visualization of indoor thermal environment on mobile devices based on augmented reality and computational fluid dynamics10.1016/j.autcon.2019.02.007 ↗
9. Interactive flow simulation using Tegra-powered mobile devices10.1016/j.advengsoft.2017.10.005 ↗
10. Liu, Z., Chu, X., Lv, X., Liu, H., Fu, H., and Yang, G. (2023, January 7–10). Accelerating Large-Scale CFD Simulations with Lattice Boltzmann Method on a 40-Million-Core Sunway Supercomputer. Proceedings of the 52nd International Conference on Parallel Processing, Salt Lake City, UT, USA.10.1145/3605573.3605605 ↗
11. Improved multi-relaxation time thermal pseudo-potential lattice Boltzmann method with multi-block grid and complete unit conversion for liquid–vapor phase transition10.1063/5.0147074 ↗
12. Multi-relaxation time Lattice Boltzmann Model for multiphase flows10.1142/S0129183108012571 ↗
13. Improved thermal lattice Boltzmann model for simulation of liquid-vapor phase change10.1103/PhysRevE.96.063303 ↗
14. Application of the Lattice-Boltzmann Method for Particle-laden Flows: Point-particles and Fully Resolved Particles10.1007/s10494-015-9698-x ↗
15. A lattice Boltzmann source formulation for advection and anisotropic10.1007/s12648-023-02667-2 ↗
16. Teutscher, D., Weckerle, T., Öz, F., and Krause, M.J. (2022). Interactive Scientific Visualization of Fluid Flow Simulation Data Using AR Technology-Open-Source Library OpenVisFlow. Multimodal Technol. Interact., 6.10.3390/mti6090081 ↗
17. The OpenCV Library
18. OpenLB—Open source lattice Boltzmann code10.1016/j.camwa.2020.04.033 ↗
19. Li, J. (2015). Appendix: Chapman-Enskog Expansion in the Lattice Boltzmann Method. arXiv.
20. Discrete lattice effects on the forcing term in the lattice Boltzmann method10.1103/PhysRevE.65.046308 ↗
21. General Circulation Experiments with the Primitive Equations10.1175/1520-0493(1963)091<0099:GCEWTP>2.3.CO;2 ↗
22. A Model for Collision Processes in Gases. I. Small Amplitude Processes in Charged and Neutral One-Component Systems10.1103/PhysRev.94.511 ↗
23. The fringe region technique and the Fourier method used in the direct numerical simulation of spatially evolving viscous flows10.1137/S1064827596310251 ↗
24. Schäfer, M., Turek, S., Durst, F., Krause, E., and Rannacher, R. (1996). Benchmark Computations of Laminar Flow around a Cylinder, Springer.10.1007/978-3-322-89849-4_39 ↗
25. Implicit propagation of directly addressed grids in lattice Boltzmann methods10.1002/cpe.7509 ↗
26. Geekbench (2023, June 22). Geekbench Browser. Available online: https://browser.geekbench.com/.