CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   LES Turbulence Model (http://www.cfd-online.com/Forums/openfoam/70191-les-turbulence-model.html)

foamcfd November 17, 2009 02:35

LES Turbulence Model
 
I did simulation using RAS (spalart-Alamarras) model in OpenFoam. Now I want to use LES (SpalartAllmarasIDDES). So under constant folder in turbulenceProperties I changed simulation type to LESModel and also I have LESProperties file under constant folder. However when I run the simulation (using simpleFoam) it asks for RASproperties file and throws error that RASProperties file can not find.

Does any body know what can be the problem?

Thanks

fs82 November 17, 2009 07:19

Check the Source files for simpleFoam and you will find:
#include "RASModel.H" in simpleFoam.C
I think if you investigate this further you will find the answer why he is complaining about the RASproperties file. May be you could substitute this by:
#include "turbulenceModel.H"
But I am not really sure, you have to test this :-D
The LES/RANS interface was changed from OpenFoam 1.5 to 1.6. Now you have the possibility to switch between LES and RANS and use the same solver. This is a very nice feature but not implemented for every solver yet. So you have to be careful when switching between this two options. (channelFoam is also an example, which is one able to do LES)

foamcfd November 17, 2009 08:54

Thanks Fabian. Your information was quite helpful and I looked into the source code of simpleFoam and understood where i was going wrong. Thanks again for help.


All times are GMT -4. The time now is 19:25.