QBMMlib: A library of quadrature-based moment methods

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...

Full description

Bibliographic Details
Main Authors: Spencer H. Bryngelson, Tim Colonius, Rodney O. Fox
Format: Article
Language:English
Published: Elsevier 2020-07-01
Series:SoftwareX
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2352711020303289
Description
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.
ISSN:2352-7110