Software:OpenLB

From HandWiki
OpenLB
Stable release
1.6[1] / 5 April 2023 (2023-04-05)
Written inC++
Operating systemLinux, Mac OS, Windows
TypeComputational fluid dynamics, simulation software
LicenseGPLv2 (GPLv2)
Websitewww.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

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

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

  • 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

  • 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

  1. "OpenLB 1.6". http://www.openlb.net/download/. 
  2. 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.
  3. "OpenLB is ... | OpenLB – Open Source Lattice Boltzmann Code". http://www.openlb.net/welcome. Retrieved 28 February 2017. 
  4. 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. doi:10.1142/S0129183107010875. ISSN 0129-1831. Bibcode2007IJMPC..18..627H. 
  5. Fietz, Jonas; Krause, MathiasJ.; Schulz, Christian; Sanders, Peter; Heuveline, Vincent (1 January 2012). "Optimized Hybrid Parallel Lattice Boltzmann Fluid Flow Simulations on Complex Geometries" (in English). Euro-Par 2012 Parallel Processing. Lecture Notes in Computer Science. 7484. pp. 818–829. doi:10.1007/978-3-642-32820-6_81. ISBN 978-3-642-32819-0. 
  6. 6.0 6.1 6.2 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.
  7. 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.
  8. "Bifurcation | OpenLB – Open Source Lattice Boltzmann Code". http://www.openlb.net/bifurcation. Retrieved 28 February 2017. 
  9. "Rayleigh Benard | OpenLB – Open Source Lattice Boltzmann Code". http://optilb.org/openlb/rayleigh-benard. Retrieved 28 February 2017. 
  10. Mink, Albert, et al. "A 3D Lattice Boltzmann method for light stimulation in participating media." Journal of Computational Science (2016).
  11. 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).
  12. Trunk, Robin, et al. "Inertial dilute particulate fluid flow simulations with an Euler–Euler lattice Boltzmann method." Journal of Computational Science (2016).
  13. "Innovative Patient-Specific Intranasal Flow Simulations". http://biomedical.materialise.com/cases/innovative-patient-specific-intranasal-flow-simulations. 
  14. "Itanium Solutions Alliance Selects Sweden's Kiwok as the 2009 Innovation Awards Winner for Humanitarian Impact". http://www.mynewsdesk.com/se/kiwok/pressreleases/itanium-solutions-alliance-selects-swedens-kiwok-as-the-2009-innovation-awards-winner-for-humanitarian-impact-308715. 

External links