
[Sponsors] 
February 3, 2012, 14:39 
Compressible WALE model

#1 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
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 

August 1, 2012, 14:09 

#2 
Senior Member

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 

August 1, 2012, 14:12 

#3 
Senior Member

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.univmontp2.fr/~nicoud/PDF/wale.pdf 

August 1, 2012, 14:13 

#4 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
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 

August 1, 2012, 14:14 

#5 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
I also coded the locally dynamic Smagorinsky compressible SGS model and I prefer it over the WALE model.


August 1, 2012, 15:27 

#6 
Senior Member

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 

August 1, 2012, 15:45 

#7 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
Sure thing. I will send you both SGS solvers via email and you can post it on the forum if you like.
Cheers, Deji 

August 1, 2012, 16:49 

#8 
New Member
M K Singh
Join Date: Sep 2009
Posts: 19
Rep Power: 8 

August 2, 2012, 09:54 

#9 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
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 

August 2, 2012, 21:32 

#10 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
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 

August 2, 2012, 21:44 

#11 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
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 

August 3, 2012, 12:33 

#12 
Senior Member

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

August 6, 2012, 11:47 

#13 
New Member
M K Singh
Join Date: Sep 2009
Posts: 19
Rep Power: 8 
Dear Deji,
Thanks for your solvers. I will test it and update you in this regard. M K Singh 

August 6, 2012, 19:50 

#14 
Senior Member

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 

August 7, 2012, 13:20 

#15 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
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 

August 20, 2012, 04:47 

#16 
Member

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
__________________
Cosimo Bianchini Ergon Research s.r.l. Via Panciatichi, 92 50127 Florence  ITALY Tel: +39 055 0763716 Mob: +39 320 9460153 email: cosimo.bianchini@ergonresearch.it URL: www.ergonresearch.it 

October 1, 2012, 15:06 

#17 
Senior Member
n/a
Join Date: Sep 2009
Posts: 198
Rep Power: 8 
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 

January 7, 2013, 12:26 

#18 
Senior Member
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 200
Rep Power: 8 
Thanks Dejio for your work, you are really filling the gap.
Preferring the local dyn. Smagorinsky I think you might be interested in the WALESimilarity Mixed model, if you are not tired of it jet: http://link.springer.com/chapter/10....LI=true#page1 

January 16, 2014, 15:39 

#19  
New Member
Sagnik
Join Date: Oct 2012
Posts: 27
Rep Power: 5 
Quote:
I can be reached at 'sagnikmazumdar@gmail.com'. Thanks for all the help. Sagnik 

January 17, 2014, 13:26 

#20 
New Member
Sagnik
Join Date: Oct 2012
Posts: 27
Rep Power: 5 
Hi Deji, I got the files. I did not see it was already attached to another post. Thanks for the help.
Sagnik 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
LES Compressible Smagorinsky Model  iyer_arvind  OpenFOAM Running, Solving & CFD  26  September 9, 2014 07:22 
LowRe turbulence model for compressible flow  volker  OpenFOAM Programming & Development  0  March 15, 2010 11:20 
LES and combustion model  Margherita Cadorin  CFX  0  October 29, 2008 06:24 
Problem calculate Y in compressible turbulence model  luca  OpenFOAM Running, Solving & CFD  5  June 1, 2006 05:53 
simulation of RSM in compressible mixing layer  lars  Main CFD Forum  0  February 19, 2004 23:40 