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

WaveNumber Spectra from a 3D Spectral Code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2014, 03:03
Default WaveNumber Spectra from a 3D Spectral Code
  #1
New Member
 
emre
Join Date: Mar 2012
Posts: 8
Rep Power: 14
beyonder is on a distinguished road
Dear All,

i have a 3D Navier Stokes solver with no turbulence model implemented but also I am not resolving the scales considering my Re is around 1000 and my grid is around 256X56X64.

So I want to find the wavenumber spectra from the 3d output of my simulation to see up to where I am resolving and after where it starts to accumulate energy. I found some stuff online but I thought here it is more reliable.
Do you know the simple commands in matlab to calculate this?

Thanks in advance
beyonder is offline   Reply With Quote

Old   May 17, 2014, 04:44
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by beyonder View Post
Dear All,

i have a 3D Navier Stokes solver with no turbulence model implemented but also I am not resolving the scales considering my Re is around 1000 and my grid is around 256X56X64.

So I want to find the wavenumber spectra from the 3d output of my simulation to see up to where I am resolving and after where it starts to accumulate energy. I found some stuff online but I thought here it is more reliable.
Do you know the simple commands in matlab to calculate this?

Thanks in advance


Your question is not completed ... what about the type of flow? the Re is computed using what lenght and velocity?
you have the physical Kolmogorov lenght scale and 3 Nyquist cut frequencies pi/h_i for each direction.
FMDenaro is offline   Reply With Quote

Old   May 17, 2014, 04:50
Default
  #3
New Member
 
emre
Join Date: Mar 2012
Posts: 8
Rep Power: 14
beyonder is on a distinguished road
I have Fourier-Fourier-Chebyshev code. So two dimensions are periodic B.C. while the other one is imposed velocity, diricihlet.

I am solving non dimensionalized navier stokes, where in the code my only input is Re.

while my modes/cells are [256 X 56 X 64]
my domain is mapped onto [30D X 3D X 4D] where D represents the unit dimension. Because I have a turbine in the mid domain with a diameter of D, and represented via body forces (as in source term)

my Re is 1000. this must be the diameter based reynolds.
and delta t of 0.004.

also the inflow conditions are Gaussian perturbed. so in the end when the flow develops a bit you receive a video of such
https://www.youtube.com/watch?v=bFFb...ature=youtu.be
beyonder is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The FOAM Documentation Project - SHUT-DOWN holger_marschall OpenFOAM 242 March 7, 2013 13:30
Debugging Unsteady 2-D Panel Method Code: Wake Modeling RajeshAero Main CFD Forum 5 November 10, 2011 06:48
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 11:11
spectral method code Abhinav Main CFD Forum 0 February 22, 2003 18:22
own Code vs. commercial code Bernhard Mueck Main CFD Forum 10 February 16, 2000 11:07


All times are GMT -4. The time now is 20:34.