Skip to content
ThomasMr99 edited this page Jan 29, 2025 · 11 revisions

OpenLB

OpenLB is an open-source C++ library for lattice Boltzmann method (LBM) simulations. It is designed for computational fluid dynamics (CFD) applications and supports high-performance computing (HPC). OpenLB is widely used in academia and industry for simulating complex fluid flow problems, including turbulence, multiphase flows, and heat transfer.

In Voreen, OpenLB can be applied to create flow simulations.

Building the OpenLB module with Voreen

In Build Instructions the process of building Voreen is already described. To ensure that Voreen also contains the module for OpenLB therefore the possiblity to create flow simulations it is important to select the modules VRN_MODULE_FLOWANALYSIS and VRN_MODULE_FLOWSIMULATION. The steps to do so are:

  • Open the CMake Gui (either with the cache of the last voreen configuration or completely new.
  • Select the modules VRN_MODULE_FLOWANALYSIS and VRN_MODULE_FLOWSIMULATION. voreen modules
  • Press Configure, Generate and build Voreen again.

OpenLB integration in Voreen

OpenLB is integrated in two different ways in Voreen. Both versions deliver different accessibility (operating system) and usage.

OpenLB wrapped into Voreen

  • Description: OpenLB is completely integrated in Voreen and can be applied via a processor that runs a simulation locally on your computer
  • Processor: FlowSimulation
  • Accessible: Linux

OpenLB decoupled of Voreen

  • Description: OpenLB is independent of Voreen and can be applied via a processor that runs a simulation either locally on your computer or also on clusters for computation.
  • Processor: FlowSimulationCluster
  • Accessible: Linux, Windows
  • Build: In Build Instructions after starting the build of Voreen with typing ņinja you can also type ninja OpenLB and start a further building process.
  • Note: The advantage of this version is the fact that more demanding simulations can be calculated on clusters.

Simulation Use Cases

In the following there will be 3 Use cases presented, that use OpenLB in Voreen to create flow simulations.

UseCase A [UseCase B] [UseCase C]

Clone this wiki locally