How can I integrate discrete data without an analytical function?

2 replies · 4K views · last reply
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
  • Diagram of a grid mapping: gray points labeled (x_i,j(t), y_i,j(t)) and neighbours at time t on the left map by phi with superscript T+t and subscript t to black points labeled (x_i,j(t+T), y_i,j(t+T)) on the right.
    combined370x.png
    18.1 KB · Views: 461
"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".