How can I integrate discrete data without an analytical function?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
avas
Messages
2
Reaction score
0
I have a grid and on each point on the grid I have discrete velocity data. I however don't have anyalytical function. I need to integrate the points and check where in space they will be after some time. I know it very easy to do it with runge-kutta if i have the analytical function for velocity but how can i do it just using the discrete data??
 

Attachments

  • combined370x.png
    combined370x.png
    18.1 KB · Views: 446
Physics news on Phys.org
"Runge-Kutta", or any numerical integration method, sums values of f at discrete points: f(x+ nh, y+ mk), for example. Just use the given function values, choosing [itex]\Delta x[/itex], [itex]\Delta y[/itex] as the distances between the given x and y values rather than a fixed step like "x+ nh" or "y+ mk".