Dissolution problem


I tried to simulate the dissolution process using the LBM, however I did not fine a example code in the OpenLB. I thought the code of thermal2D may be useful, but I did not fine a good way to add the solution term. Is there anyone else who had done the dissolution problem before? Could you give me some hints? Thanks in advance.