Python, Simulation, Numerical Analysis, Beginner, Fluid Simulation.
by solving the wave equation! to plot it in the same way I did at the top, simply iterate back through the calculated values and plot a surface for each step in time, in code: fig = pyplot.figure() ax = fig.add_subplot(111, projection='3d') X, Y = numpy.meshgrid(x_vec, y_vec) for t in range(0, Nt):