OpenLB
Stable release | 1.6[1]
/ 5 April 2023 |
---|---|
Written in | C++ |
Operating system | Linux, Mac OS, Windows |
Type | Computational fluid dynamics, simulation software |
License | GPLv2 (GPLv2) |
Website | www.openlb.net |
OpenLB is an object-oriented implementation of the lattice Boltzmann methods (LBM). It is the first implementation of a generic platform for LBM programming, which is shared with the open source community (GPLv2).[2] The code is written in C++ and is used by application programmers as well as developers, with the ability to implement custom models[3] OpenLB supports complex data structures that allow simulations in complex geometries and parallel execution using MPI, OpenMP and CUDA on high-performance computers. The source code uses the concepts of interfaces and templates, so that efficient, direct and intuitive implementations of the LBM become possible.[4] The efficiency and scalability has been checked and proved by code reviews.[5] A user manual and a source code documentation by DoxyGen are available on the project page.
Functions
[edit]OpenLB is being constantly developed. By now the following features are implemented:
- Computational fluid dynamics in complex geometry[6]
- Automatic generation of a grid[6]
- Turbulent flow[7]
- Multi-component flow[8]
- Thermal flow[9]
- Light radiation[10]
- Topology optimizing[11]
- Particle flow (Euler–Euler and Euler–Lagrange method)[12]
Automated grid generation
[edit]Automated grid generation[6] is one of the great advantages of OpenLB over other CFD software packages. The main advantages are listed below:
- Use of geometries in the STL file format or geometrically primitive forms (e.g. ball, cylinder, cone) and their union, intersection and difference
- Very fast voxelization: 6003 ~ 1 minute
- Handling non-watertight surfaces
- Memory-friendly using octrees
- Load distribution for parallel execution with MPI, OpenMP and CUDA.
The automatic grid generation can assume both an STL file as well as primitive geometries. For the geometry, a uniform and rectangular grid is created which encloses the entire space of the geometry. The superfluous grid cells are then removed and the remaining cuboids are shrunk to fit the given geometry. Finally, the grid is distributed to different threads or processors for the parallel execution of the simulation. The boundary conditions and start values can be set using material numbers.
Literature
[edit]- Krause, Mathias J. and Latt, Jonas and Heuveline, Vincent. "Towards a hybrid parallelization of lattice Boltzmann methods." Computers & Mathematics with Applications 58.5 (2009): 1071–1080.
- Heuveline, Vincent, and Mathias J. Krause. "OpenLB: towards an efficient parallel open source library for lattice Boltzmann fluid flow simulations." International Workshop on State-of-the-Art in Scientific and Parallel Computing. PARA. Vol. 9. 2010.
- Krause, Mathias J., Thomas Gengenbach, and Vincent Heuveline. "Hybrid parallel simulations of fluid flows in complex geometries: Application to the human lungs." European Conference on Parallel Processing. Springer Berlin Heidelberg, 2010.
- Krause, Mathias J. "Fluid flow simulation and optimisation with lattice Boltzmann methods on high performance computers: application to the human respiratory system." Karlsruhe Institute of Technology, KIT (2010).
- Trunk, Robin, et al. "Inertial dilute particulate fluid flow simulations with an Euler–Euler lattice Boltzmann method." Journal of Computational Science (2016).
- Mink, Albert, et al. "A 3D Lattice Boltzmann method for light simulation in participating media." Journal of Computational Science (2016).
Awards
[edit]- Winner Mimics Innovation Award (2011)[13]
- Honorary certificate in the Group Humanitarian Impact, "Itanium® Solutions Alliance Innovation Awards" (2009)[14]
- Finalist in the Group Humanitarian Impact Innovation, "Itanium® Solutions Alliance Innovation Awards" (2007)
References
[edit]- ^ "OpenLB 1.6".
- ^ Heuveline, Vincent, and Mathias J. Krause. "OpenLB: towards an efficient parallel open source library for lattice Boltzmann fluid flow simulations." International Workshop on State-of-the-Art in Scientific and Parallel Computing. PARA. Vol. 9. 2010.
- ^ "OpenLB is ... | OpenLB – Open Source Lattice Boltzmann Code". openlb.net. Retrieved 28 February 2017.
- ^ Heuveline, Vincent; Latt, Jonas (1 April 2007). "The openlb project: an open source and object oriented implementation of lattice boltzmann methods". International Journal of Modern Physics C. 18 (4): 627–634. Bibcode:2007IJMPC..18..627H. doi:10.1142/S0129183107010875. ISSN 0129-1831. S2CID 14079512.
- ^ Fietz, Jonas; Krause, MathiasJ.; Schulz, Christian; Sanders, Peter; Heuveline, Vincent (1 January 2012). "Optimized Hybrid Parallel Lattice Boltzmann Fluid Flow Simulations on Complex Geometries". Euro-Par 2012 Parallel Processing. Lecture Notes in Computer Science. Vol. 7484. pp. 818–829. doi:10.1007/978-3-642-32820-6_81. ISBN 978-3-642-32819-0.
- ^ a b c Krause, Mathias J., Thomas Gengenbach, and Vincent Heuveline. "Hybrid parallel simulations of fluid flows in complex geometries: Application to the human lungs." European Conference on Parallel Processing. Springer Berlin Heidelberg, 2010.
- ^ Nathen, Patrick, et al. "An extension of the Lattice Boltzmann Method for simulating turbulent flows around rotating geometries of arbitrary shape." 21st AIAA Computational Fluid Dynamics Conference. 2013.
- ^ "Bifurcation | OpenLB – Open Source Lattice Boltzmann Code". optilb.org. Retrieved 28 February 2017.
- ^ "Rayleigh Benard | OpenLB – Open Source Lattice Boltzmann Code". optilb.org. Retrieved 28 February 2017.
- ^ Mink, Albert, et al. "A 3D Lattice Boltzmann method for light stimulation in participating media." Journal of Computational Science (2016).
- ^ Krause, Mathias J. "Fluid flow simulation and optimisation with lattice Boltzmann methods on high performance computers: application to the human respiratory system." Karlsruhe Institute of Technology, KIT (2010).
- ^ Trunk, Robin, et al. "Inertial dilute particulate fluid flow simulations with an Euler–Euler lattice Boltzmann method." Journal of Computational Science (2016).
- ^ "Innovative Patient-Specific Intranasal Flow Simulations".
- ^ "Itanium Solutions Alliance Selects Sweden's Kiwok as the 2009 Innovation Awards Winner for Humanitarian Impact".