CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

[MATLAB] FFT of Velocity Time Series

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 2, 2011, 14:21
Default [MATLAB] FFT of Velocity Time Series
  #1
Senior Member
 
jeff osborne
Join Date: Mar 2010
Posts: 108
Rep Power: 7
ozzythewise is on a distinguished road
Hello all,

I'm looking to create a frequency spectra of energy to show that I am in fact resolving down to the Kolmogorov scales. I have saved velocity values at each time step, but from there I'm sort of confused. I know how to do a fast fourier transform in matlab, but am really not sure how I go about creating the plot of E vs. omega (frequency). From what I understand, I need to do the FFT, calculate the magnitude of the coefficients I receive, and then I square this to get energy? From there, how do I plot this again my frequency?

Any help would be appreciated, I've never really used matlab before and I've also never done an FFT.

Thanks in advance,
Jeff
ozzythewise is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
velocity vs time plot in paraFoam raagh77 OpenFOAM Paraview & paraFoam 5 February 8, 2011 11:18
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40
Emergency:UDF for a time dependent parabolic velocity zumaqiong Fluent UDF and Scheme Programming 12 March 25, 2010 13:00
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 05:55
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29


All times are GMT -4. The time now is 18:24.