CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Compressible WALE model (http://www.cfd-online.com/Forums/openfoam/96885-compressible-wale-model.html)

deji February 3, 2012 14:39

Compressible WALE model
 
Hello to all here at the forum. I am trying to implement the compressible version of the WALE model into OpenFOAM, but thus far haven't found any papers on it. Does anyone know where I can find literature?

Cheers,
Deji

owayz August 1, 2012 14:09

Hallo Deji,
Were you successful in implementing the WALE model for compressible flow in openFOAM I am also interested in the same topic would be interesting if you could give me some pointers about where did you start from and how much have you done till now?
Regards,
Awais

owayz August 1, 2012 14:12

And as far as the paper is concerned I think this one is the paper which describes the details. I just matched the author names and the year published and found this paper via google.
http://www.math.univ-montp2.fr/~nicoud/PDF/wale.pdf

deji August 1, 2012 14:13

Hello. There isn't a compressible version of the WALE model, so I just coded the incompressible version into my compressible LES solver. It does work okay, I can send you the SGS solver if you would like.

Cheers,
Deji

deji August 1, 2012 14:14

I also coded the locally dynamic Smagorinsky compressible SGS model and I prefer it over the WALE model.:D

owayz August 1, 2012 15:27

I would be very happy if you could send me both the models.
I would like to see how they have been implemented and if I run them I will share the results with you.
I am going to send you my email via message.
Or you can post them here, this way others will also benefit from your implementation of both the models.
Regards,
Awais

deji August 1, 2012 15:45

Sure thing. I will send you both SGS solvers via email and you can post it on the forum if you like.

Cheers,
Deji

mksingh August 1, 2012 16:49

Quote:

Originally Posted by deji (Post 374910)
Sure thing. I will send you both SGS solvers via email and you can post it on the forum if you like.

Cheers,
Deji

Hi,
Could you please also send me both SGS solvers to me?
Thanks in advance.
M K Singh

deji August 2, 2012 09:54

Hey guys. My apologies for not sending the solvers yesterday, I am trying to clean up the code with comments to make it more understandable. Hence, I will attach it here on the forum this evening at the very latest. My apologies once again and I look forward to you all giving me feedback if there are any problems or bugs in the codes.

Cheers,
Deji

deji August 2, 2012 21:32

3 Attachment(s)
Hey guys, I have attached the WALE model for the compressible SGS models in OpenFOAM. I have also attached the LESProperties file which gives the needed input for the LES model.

As for the locally dynamic Smagorinsky compressible LES model, I will upload it shortly. I need to make a quick fix to the code.

Please let me know if there are any problems.

Cheers,
Deji

deji August 2, 2012 21:44

2 Attachment(s)
Here is the locally dynamic Smagorinksy compressible LES SGS model. The LESProperties that I attached previously also has the necessary coefficients to run this SGS model. I ought to say that I have had problems running dynamic models in OpenFOAM at t=0. Therefore, run any static LES model such as Smagorinksy or the WALE model for one timestep, then you can proceed to utilize the dynamic model thereafter.

Cheers,
Deji

owayz August 3, 2012 12:33

I need sometime I will surely get back to you on this topic. :)
Thanks for sharing them.
Regards,
Awais

mksingh August 6, 2012 11:47

Dear Deji,
Thanks for your solvers. I will test it and update you in this regard.
M K Singh

owayz August 6, 2012 19:50

Hi deji,
I have never compiled a turbulence model before in openfoam. Can you tell me how should I compile your your code?
Regards,
Awais

deji August 7, 2012 13:20

Hi deji,
I have never compiled a turbulence model before in openfoam. Can you tell me how should I compile your your code?
Regards,
Awais


The LES models I uploaded are for compressible LES solvers in OpenFOAM. You need to copy the code into the directory where the other SGS models are, go through the files in the MAKE directory and add the lines necessary for the compiler to know that it should compile the codes too. Then just type wmake libso, it is quite simple, but you should spend some time going through the directory that has the SGS models.

Cheers,
Deji

cosimobianchini August 20, 2012 04:47

I also worked in the past a bit on the compressible WALE sgs model.
My solution was indeed closer to original paper notation and slightly more compact, see it below and check if the two versions are equivalent (too much tensorial algebra for me :) ).

volSymmTensorField S = symm(gradU);
volTensorField Omega = skew(gradU);

volTensorField Sd = (S & S) + (Omega & Omega) - 1.0/3.0*I*( (S && S) - (Omega && Omega));

muSgs_ = rho()*sqr(C_omega_*delta())*pow((Sd && Sd),3.0/2.0)/(pow((S && S),5.0/2.0)+pow((Sd && Sd),5.0/4.0));

Concerning your version I do not understand why you need the computation of a transport equation for the subgrid turbulent kinetic energy. The model is a simple algebraic one so it is not clear what is the purpose of the extra transported quantity.
Regards,
Cosimo

deji October 1, 2012 15:06

Concerning your version I do not understand why you need the computation of a transport equation for the subgrid turbulent kinetic energy. The model is a simple algebraic one so it is not clear what is the purpose of the extra transported quantity.

Hey Cosimo. The only reason why the k transport equation is there is for turbulent combustion problems; such problems tend to require a turbulent k field to solve for models such as the eddy dissipation combustion model.:)

Sorry for the late response.

Cheers,
Deji

vonboett January 7, 2013 12:26

Thanks Dejio for your work, you are really filling the gap.
Preferring the local dyn. Smagorinsky I think you might be interested in the WALE-Similarity Mixed model, if you are not tired of it jet: http://link.springer.com/chapter/10....LI=true#page-1

sagnikmazumdar January 16, 2014 15:39

Quote:

Originally Posted by deji (Post 374888)
I also coded the locally dynamic Smagorinsky compressible SGS model and I prefer it over the WALE model.:D

Hi Deji, I was going through your CFD online posts and got to know that you have a compressible version of 'dynLocalAverageSmagorinsky' model. Would it be possible to share it with us ! This model does not exist in the new version of OpenFOAM but we found that its incompressible version does a better job than other existing model for some cases. We would be happy to acknowledge you as one of the contributors in our work.

I can be reached at 'sagnikmazumdar@gmail.com'.

Thanks for all the help.

Sagnik

sagnikmazumdar January 17, 2014 13:26

Hi Deji, I got the files. I did not see it was already attached to another post. Thanks for the help.

Sagnik


All times are GMT -4. The time now is 03:14.