# A new population balance equation solver for OpenFOAM

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 9, 2020, 00:00 A new population balance equation solver for OpenFOAM #1 Senior Member   Dongyue Li Join Date: Jun 2012 Location: Beijing, China Posts: 769 Rep Power: 12 Dear Foamers, Multiphase system can be simulated by the Eulerian-Eulerian (E-E) method and Eulerian-Lagrangian (E-L) method. The drawback of the traditional two-fluid method is that only one velocity can be employed for both phases (although a multi-fluid method can be constructed). Another promising method is to use Eulerian method for the continuous phase and a generalized population balance equation (GPBE) for the dispersed phase. The GPBE should be solved numerically by existing method, such as the quadrature-based moments method (QBMM). Therefore, we call this method as E-QBMM, although strictly speaking it is based on Euler framework. Recently, we implemented such solver in OpenFOAM and make it open-sourced [1]. This solver was also validated by several gas-liquid test cases [2]. On the other hand, I am very interested into the algorithm. Therefore, I wrote it down and hope it can help others to understand the theory of QBMM [3]. All equations can be found there. I also would like to share some other interesting works, because the QBMM algorithm was extensively investigated/developed by the research group in Iowa State University, Ecole Polytechnique and others. For example, Alberto Passalacqua also developed his own PBM solver: OpenQBMM [4]. He also started a forum for QBMM users, which looks quite professional..http://openqbmm.freeforums.net/ [1] twoWayGPBEFoam: An open-source Eulerian QBMM solver for monokinetic bubbly flows: https://www.sciencedirect.com/scienc...10465519303728 [2] Comparison of Eulerian QBMM and classical Eulerian–Eulerian method for the simulation of polydisperse bubbly flows: https://aiche.onlinelibrary.wiley.co...1002/aic.16732 [3] Quadrature-based moment methods for the population balance equation: an algorithm review https://www.jianguoyun.com/p/DQwBtyMQ9s3ZBhjDrKYC [4] https://github.com/OpenQBMM __________________ OpenFOAM algorithm: http://dyfluid.com Chinese CFD forum: http://www.cfd-china.com/category/6/openfoam Last edited by sharonyue; February 9, 2020 at 00:18. Reason: typo

 February 9, 2020, 12:34 #2 Senior Member   Herpes Free Engineer Join Date: Sep 2019 Posts: 298 Rep Power: 3 Thank you sharonyue, I think OpenQBMM is now part of OpenFOAM-v1912 as a submodule. Does your code come as a submodule of OpenFOAM as well? Is it inside OpenQBMM? Or do we need to compile it separately? __________________ Kind regards, HPE The OpenFOAM community is the biggest contributor to OpenFOAM; not person A or B. Let's report bugs or issue feature requests in GitLab-OpenFOAM. Please `design` your questions well. Such effort always pays off well for inquirers and `helpmate`s: How to create a Minimal, Reproducible Example, How to give enough info to get help.

 February 9, 2020, 22:48 #3 Senior Member   Dongyue Li Join Date: Jun 2012 Location: Beijing, China Posts: 769 Rep Power: 12 Hello Herpes, Our code is not based on OpenQBMM. We implemented it from scratch and it should be compiled separately. I mentioned OpenQBMM is because 1) all of our algorithm belongs to QBMM. 2) I admire their effort to make it open source as well. HPE likes this. __________________ OpenFOAM algorithm: http://dyfluid.com Chinese CFD forum: http://www.cfd-china.com/category/6/openfoam