|
[Sponsors] |
September 28, 2015, 00:56 |
Two Point Correlations on non-uniform grid
|
#1 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66 |
I'm familiar with how to compute correlation functions of two variables for a uniform grid via brute force or via the fft & ifft route. But I need help with doing the same correlations on a non-uniform spacing. This can be caused by either non-uniform sampling in time (because of an adaptive time-stepper) or when trying to compute spatial correlations on a modern non-uniform grid. Yes you can always resample your data via some smoother/interpolation scheme onto a uniform grid but that's not the question.
I don't know how the brute force definition needs to be changed to accommodate this but theoretically, in spectral spaces, we just need to correctly compute the Fourier transform. However,I don't have any experience doing this computation of a Fourier transform with non-uniform spacing. edit* So I've learned that there exists many implementations of a non-uniform fft (NFFT or NUFFT) in the IEEE community (rightfully so). But the implementations I've run into so far are very cumbersome and hard to setup. If anyone has an implementation that is simple, please let me know. Meanwhile I'll be trying out some. My idea for a working implementation would be something along the lines of NFFT(data, coordinates). Last edited by LuckyTran; September 28, 2015 at 12:36. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
On grid independent solution for pulsatile flow | David | FLUENT | 5 | March 25, 2022 03:33 |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 14:07 |
interFoam/kOmegaSST tank filling with printStackError/Mules | simpomann | OpenFOAM Running, Solving & CFD | 3 | February 17, 2014 17:06 |
turbulent jet simulation | antonio_ing | OpenFOAM Running, Solving & CFD | 5 | September 16, 2010 02:31 |
rhoSimpleFoam | claco | OpenFOAM | 7 | April 20, 2010 04:32 |