The problem I am facing is that, when I calculate the posed problem, the volume fraction moves only a few steps and then courant number goes up and error is shown.The left figure shows the result from my simulation and right shows flow i wanted to simulate(from literature).
I believe the problem may be with the velocity inlet boundary condition , I am not sure. I would like some insight, especially if some of you have already worked with a similar problem.
You could try using adjustable time-steps. This way, you can ensure that your solver isn't crashing because of your boundary conditions. Multiphase solvers tend to remain stable for Courant numbers > 1, but not >> 1. Just to be sure, you could set the maximum Courant number (maxCo) to 1 in your controlDict and see how the simulation looks.
is it correct approach for the incoming flow through inlet.