I have developed 3D Shan Chen based MATLAB code out of pure interest and it seems to be working very nice on all the test cases I have tried. The mixture of oil-water flowing through pipe, dropping of a droplet onto the surface of other liquid, flow of water through porous rocks, breaking waves etc. are some of those cases that I have tried and it worked really best.
I am ready to share the code with you all if you have genuine interest in using LBM related to these applications. The code is shareable, reproducible without any copyright requirements. No citing is required as well. You can show them as your work too. If you wish to use the code, comment down or email me at firstname.lastname@example.org.