Summary: | QBMMlib is an open source package of quadrature-based moment methods and their algorithms. Such methods are commonly used to solve fully-coupled disperse flow and combustion problems, though formulating and closing the corresponding governing equations can be complex. QBMMlib aims to make analyzing these techniques simple and more accessible. Its routines use symbolic manipulation to formulate the moment transport equations for a population balance equation and a prescribed dynamical system. The resulting moment transport equations are closed by first trading the moments for a set of quadrature points and weights via an inversion algorithm, of which several are available. Quadratures then compute the moments required for closure. Embedded code snippets show how to use QBMMlib, with the algorithm initialization and solution spanning just 13 total lines of code. Examples are shown and analyzed for a linear harmonic oscillator and a bubble dynamics problem.
|