ananth1092 |
October 16, 2014 18:39 |
Calculating Streamfunctions and Streamlines for a fluid flow
1 Attachment(s)
Hi,
I am making a simulation where i am trying to simulate a flow that flows sinusoidally by using sine wave equations to calculate the location of the points in the simulation. I used a constant shift between the x coordinates of the points and calculated the y coordinate using the formulas and i was wondering how i could calculate the velocity of the flow and subsequently the streamfuncions and then plot the streamlines. I tried to use the general v=d/t with t=1 between the points and integrated over the curve but i am unable to create a nice variation in the velocities. I am also attaching a picture of the simulated particles. Blue is the first point and green is the point in the flow after t=1. ANy help would be greatly useful.
|