CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Isotropic Turbulence IC / Rogallo-procedure (https://www.cfd-online.com/Forums/main/73926-isotropic-turbulence-ic-rogallo-procedure.html)

bigeddy February 20, 2013 12:55

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!

anzillo October 16, 2013 08:49

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

cfdnewbie October 27, 2013 17:43

I'm not sure I understand your question...are you asking about the exact solution to the 2D problem?

anzillo October 28, 2013 05:02

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

anzillo December 14, 2013 22:05

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:)

cfdnewbie December 15, 2013 08:08

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.

anzillo December 15, 2013 09:22

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)?

FMDenaro December 15, 2013 09:45

Quote:

Originally Posted by anzillo (Post 466479)
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)?


as previously said, you can compute in physical space the continuos velocity field using the same spectral reconstrution that derive from your computation

anzillo December 15, 2013 09:54

Quote:

Originally Posted by FMDenaro (Post 466486)
as previously said, you can compute in physical space the continuos velocity field using the same spectral reconstrution that derive from your computation

Hello Filippo

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 !

FMDenaro December 15, 2013 10:18

Quote:

Originally Posted by anzillo (Post 466487)
Hello Filippo

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 !


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.

anzillo December 15, 2013 11:39

Okay I got it now. Thank you :)

H.Zheng November 24, 2017 02:18

Hello,sorry to bother you
 
Quote:

Originally Posted by cfdnewbie (Post 367313)
Hello bigeddy,
thanks for your offer. I did get the code working, but I'm still a little bit confused about one thing:

If you follow Rogallo's procedure and create the fourier coefficients in wave space, they will not be fully isotropic. In the x and y plane they will be, but not in the z direction. If I remember correctly, thats by design (by enforcing div u =0) implicitely, but it really confused me as to why people call it "ICs for isotropic flow" when it isn't in the z-direction.

Anyway, I assumed at the time that was ok (people also call the Taylor Green vortex isotropic, but it clearly isn't in the z-direction).....

But I'm currently looking into HIT again, but now for compressible HIT... do you know what's the standard procedure to generate compressible ICs? something like "compressible Rogallo"? Any references / paper would be greatly appreciated!


Thanks again!

could you give me the Rogallo code that initialize isotropic turbulence, I have not found it on other place, thank you!


All times are GMT -4. The time now is 07:49.