Python, Simulation, Numerical Analysis, Beginner, Fluid Simulation.
y_vec[1] # defines dy as the space between 2 points Now that our space domain is meshed and we have a dx and dy, all we need to begin solving is a c and a dt. dt can be chosen, and this is simply the number that worked for me, and c is kept at 1 to keep the equation simple. The smaller the dt the