Python, Simulation, Numerical Analysis, Beginner, Fluid Simulation.
conditions As mentioned before, we want a disturbance in the center of the pool (where the center is (nx/2, ny/2)), so our initial conditions for t-dt and t will look like: u[0, Nx // 2, Ny // 2] = numpy.sin(0) # disturbance at t = 0 u[1, Nx // 2, Ny // 2] = numpy.sin(1/10) # disturbance at t = 1