Programming, Science, Python, Mathematics, Towards Data Science.
pressure. Iteratively solve the pressure Poisson equation using the starred velocities. Calculate the velocities for the next time-step from the pressure and starred velocities. We define three different functions to carry out each of these three steps. Further, a convenience function is defined to