
[Sponsors] 
February 20, 2013, 12:55 

#41 
New Member
Join Date: Jun 2012
Posts: 14
Rep Power: 6 
Hi LNA,
Just dropping a quick question, when you had "small strange oscillations at the large wave numbers" i.e. that little weird peak, do you have data readily available to plot with that version of your code, I was hoping you could obtain this function just so I can confirm something im not seeing in my DNS, the function is; E(kappa)*kappa^(5/3)/epsilon^(2/3)=C_kol i.e. a plot of C_kol vs kappa*eta with logarithmic x and y axis, Its a compensated kolmogorov energy spectrum function If you could upload a plot that would be awesome!! Thanks in advance! 

October 16, 2013, 07:49 

#42 
New Member
Dhruv Mehta
Join Date: Jun 2012
Posts: 22
Rep Power: 6 
Hello
Thanks for telling us about the correction. I wanted to know how could one use the same code (for 3D) to generate a 2D velocity field. Thank you. Regards 

October 27, 2013, 17:43 

#43 
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 12 
I'm not sure I understand your question...are you asking about the exact solution to the 2D problem?


October 28, 2013, 05:02 

#44 
New Member
Dhruv Mehta
Join Date: Jun 2012
Posts: 22
Rep Power: 6 
Hello !
Thank you for your response. What I meant was if Rogallo's procedure could be modified to generate a 2D velocity field that is homogeneous and isotropic, for a given energy spectrum. I managed to do that with a little modification. However, the velocity field is not divergence free so to speak, the divergence is about 10^(3) which is okay with regard to the solution's accuracy. But I would be more content if I could get the divergence to say 10^(5). Regards Dhruv 

December 14, 2013, 22:05 

#45 
New Member
Dhruv Mehta
Join Date: Jun 2012
Posts: 22
Rep Power: 6 
Hello Everyone
Does anyone know why does the velocity field lose its solenoidal character after being converted to physical space from wavenumber space by using an IFFT? I used Rogallo's procedure to generate the field (took care of the 'minus' sign) and made sure that the field matrix is conjugate symmetric before using the IFFT (all done in MATLAB). I would be grateful to receive some help. Thank you ! Regards Dhruv 

December 15, 2013, 08:08 

#46 
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 12 
It all depends on how you compute the divergence in physical space. If you are not using a spectral method to do that (I am assuming that you are not), then you won't get a discrete divergence free condition. The way you are computing derivatives / divergence in both spaces (wave and physical) is not compatible, so you cannot expect symmetries etc. to hold.


December 15, 2013, 09:22 

#47 
New Member
Dhruv Mehta
Join Date: Jun 2012
Posts: 22
Rep Power: 6 
Thank you for your prompt reply.
So, one can never convert a the spectral field generated with Rogallo's code into a divergence free velocity field in physical space? That is why most authors simulate turbulence with spectral approach and mention that the field is divergence free (in spectral space)? 

December 15, 2013, 09:45 

#48  
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 2,429
Rep Power: 31 
Quote:
as previously said, you can compute in physical space the continuos velocity field using the same spectral reconstrution that derive from your computation 

December 15, 2013, 09:54 

#49  
New Member
Dhruv Mehta
Join Date: Jun 2012
Posts: 22
Rep Power: 6 
Quote:
Thank you for your reply and apologies for repeating my question again. However, I did not understand the meaning of" "compute in physical space the continuos velocity field using the same spectral reconstrution that derive from your computation" I would glad if you could elaborate the meaning of the above sentence. I am not familiar with spectral related things because my code is meant for physical space. Thank you ! 

December 15, 2013, 10:18 

#50  
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 2,429
Rep Power: 31 
Quote:
when you use a spectral code, you solve for the time evolution of the Fourier coefficients but that implies that you have the possibility to compute the velocity field by using the same coefficients in a discrete sum of a finite number of wavenumber components Ui(k)*epx(i*k*x). This will be your "continuous" velocity field in physical space. 

December 15, 2013, 11:39 

#51 
New Member
Dhruv Mehta
Join Date: Jun 2012
Posts: 22
Rep Power: 6 
Okay I got it now. Thank you


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
help on isotropic turbulence initial condition  Hall  Main CFD Forum  8  April 28, 2011 16:55 
Discussion: Reason of Turbulence!!  Wen Long  Main CFD Forum  3  May 15, 2009 09:52 
Help needed on homogeneous isotropic turbulence an  Guoping Xia  Main CFD Forum  0  March 12, 2006 22:54 
Isotropic Turbulence  gorka  Main CFD Forum  2  June 30, 2003 15:41 