Jump to content

Derivative of 2D array


Recommended Posts

Hello to everybody. I am elaborating some images of a turbulent jet. I am able to detect the contours of the jet with the related points. I want to compute the velocity field and the related stretch rate. So I need to compute the first and the second derivative of every point of my contour. The problem is that the points are not ordered. The Dx is very random and the contour presents a lot of vortex... I have tried to implemented a 5 costant central scheme to compute the derivative but it fails...I think that it depends from the structure of my data. Anybody could help me?

Link to comment

So jet velocity call it "u(x,y)", is in Z direction, is function of x and y, and you want to take the derivative uxx , uyy ,and uxy ? You might try to smooth the data with "2D interpolation scattered.vi" (look for example), found in math palette then take the derivative of the interpolating data/function.

There are higher order stencils you can use to compute the derivatives and Laplacian as well--- they can be derivatived by Taylor series expansion. This will help in smoothing the derivative function also.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.