GuyRon1 / FFT-Hydrodynamic-sensing

This code is a fft algorithm used to analyze the vortex shedding freq
0 stars 0 forks source link

Vortex Finder #6

Open GuyRon1 opened 1 week ago

GuyRon1 commented 1 week ago

https://github.com/GuyRon1/FFT-Hydrodynamic-sensing/blob/7558da8e514c187a63fed6971b76b1f51e21d591/vortex%20finder.ipynb#L1

Hi Alex,

I've been thinking more about calculating the frequency from the PIV data, and I believe the best approach is to set a vorticity threshold and define a region within the fluid, away from the cylinders and light bulb. Then, we could run a loop through all the images and count how often the vorticity exceeds this threshold. I am not sure how to determine an accurate threshold for this but, I will start experimenting with it to see if it's computationally efficient.

alexlib commented 1 week ago

I think first is to create a static mask that defines regions of the cylinders - then to define a region of interest between them and then look for vorticity only inside that region. there are too many small noisy vortices that will obscure the values of what you're looking for.

GuyRon1 commented 1 week ago

Thank you Alex I will try that. How big should my Area Of Interest be? I don't want to count the same vorticity twice (in a set of following photos) but I don't want to miss a vortex either by making the Area too small

On Mon, Sep 9, 2024, 22:56 Alex Liberzon @.***> wrote:

I think first is to create a static mask that defines regions of the cylinders - then to define a region of interest between them and then look for vorticity only inside that region. there are too many small noisy vortices that will obscure the values of what you're looking for.

— Reply to this email directly, view it on GitHub https://github.com/GuyRon1/FFT-Hydrodynamic-sensing/issues/6#issuecomment-2338962571, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI6BOXNWIFV3WHKYDQHP4RDZVX4OFAVCNFSM6AAAAABN5FR4F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYHE3DENJXGE . You are receiving this because you authored the thread.Message ID: @.***>

alexlib commented 1 week ago

trial and error.


From: GuyRon1 @.> Sent: Tuesday, September 10, 2024 10:51:29 AM To: GuyRon1/FFT-Hydrodynamic-sensing @.> Cc: Alex Liberzon @.>; Assign @.> Subject: Re: [GuyRon1/FFT-Hydrodynamic-sensing] Vortex Finder (Issue #6)

Thank you Alex I will try that. How big should my Area Of Interest be? I don't want to count the same vorticity twice (in a set of following photos) but I don't want to miss a vortex either by making the Area too small

On Mon, Sep 9, 2024, 22:56 Alex Liberzon @.***> wrote:

I think first is to create a static mask that defines regions of the cylinders - then to define a region of interest between them and then look for vorticity only inside that region. there are too many small noisy vortices that will obscure the values of what you're looking for.

— Reply to this email directly, view it on GitHub https://github.com/GuyRon1/FFT-Hydrodynamic-sensing/issues/6#issuecomment-2338962571, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI6BOXNWIFV3WHKYDQHP4RDZVX4OFAVCNFSM6AAAAABN5FR4F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYHE3DENJXGE . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/GuyRon1/FFT-Hydrodynamic-sensing/issues/6#issuecomment-2339924987, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFWMZTP2BTHOIQFKTOSIQDZV2QIDAVCNFSM6AAAAABN5FR4F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZHEZDIOJYG4. You are receiving this because you were assigned.Message ID: @.***>

GuyRon1 commented 1 week ago

Alright, I will keep you updated

On Tue, Sep 10, 2024, 11:03 Alex Liberzon @.***> wrote:

trial and error.


From: GuyRon1 @.> Sent: Tuesday, September 10, 2024 10:51:29 AM To: GuyRon1/FFT-Hydrodynamic-sensing @.> Cc: Alex Liberzon @.>; Assign @.> Subject: Re: [GuyRon1/FFT-Hydrodynamic-sensing] Vortex Finder (Issue #6)

Thank you Alex I will try that. How big should my Area Of Interest be? I don't want to count the same vorticity twice (in a set of following photos) but I don't want to miss a vortex either by making the Area too small

On Mon, Sep 9, 2024, 22:56 Alex Liberzon @.***> wrote:

I think first is to create a static mask that defines regions of the cylinders - then to define a region of interest between them and then look for vorticity only inside that region. there are too many small noisy vortices that will obscure the values of what you're looking for.

— Reply to this email directly, view it on GitHub < https://github.com/GuyRon1/FFT-Hydrodynamic-sensing/issues/6#issuecomment-2338962571>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BI6BOXNWIFV3WHKYDQHP4RDZVX4OFAVCNFSM6AAAAABN5FR4F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYHE3DENJXGE>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub< https://github.com/GuyRon1/FFT-Hydrodynamic-sensing/issues/6#issuecomment-2339924987>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AAFWMZTP2BTHOIQFKTOSIQDZV2QIDAVCNFSM6AAAAABN5FR4F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZHEZDIOJYG4>.

You are receiving this because you were assigned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/GuyRon1/FFT-Hydrodynamic-sensing/issues/6#issuecomment-2339951003, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI6BOXMIGRXY6EDXB6HTTQTZV2RWVAVCNFSM6AAAAABN5FR4F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZZHE2TCMBQGM . You are receiving this because you authored the thread.Message ID: @.***>