I made the OpenQBMM implementation of the second-order realizable zeta scheme for moment advection more general. The previous implementation  was specific for moments of distributions supported over the positive real line, making the implementation of the scheme not suitable for moments of distributions with compact support, such as the PDF of the mixture fraction used in turbulent mixing and combustion models.
However, the original paper of Nguyen and Laurent  proposes a straightforward extension to the case of compact support, which is now made available in OpenQBMM. For simplicity, the implementation considers only the support [0, 1], without loss of generality.
The implementation is currently available in the development-openfoam.com branch of OpenQBMM and will be merged in the next release. To use it, issue the following commands:
git clone firstname.lastname@example.org:OpenQBMM/OpenQBMM.git
git checkout -b development-openfoam.com
and build OpenQBMM by issuing the usual
Enjoy and if you experience problems, please, open an issue on the OpenQBMM issue tracker. 😀
This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM® and OpenCFD® trade marks. Alberto Passalacqua is not associated to OpenCFD Ltd.