|
[Sponsors] |
WALE Subgrid scale model: changing the model constants |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Emily
Join Date: Nov 2017
Posts: 24
Rep Power: 9 ![]() |
Hi all,
I am using the WALE SGS model and have a query about the model constants. I would like to change the constant Cw, however, when I looked at the source code I found that the model is also dependent on constants Ck and Ce. It seems that Ce is only used in the calculation for epsilon, so I am not too bothered about this. I am presuming if I want to change the value of Cw, then I must also change Ck? Does anyone know the relationship between these two constants? Thank you! Em |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
navid toussi
Join Date: Nov 2015
Posts: 20
Rep Power: 11 ![]() |
Hi Emily
Have you found any answer for your question? I came up with the same question and I don't know if I need to run my simulation using the default values of OpenFoam or it is essential to change the values of Cw and consequently the Ck. I would appreciate if you share your possible solution here with me. Thank you |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 ![]() |
If you look at the publication described in the .H file, the authors suggest a "universal" Cw of somewhere between 0.55 and 0.6 if I remember correctly. I am not sure where the default coefficient came from, but you can change it by adding to turbulenceProperties :
Code:
WALECoeffs { Cw 0.55; } Caelan |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Emily
Join Date: Nov 2017
Posts: 24
Rep Power: 9 ![]() |
Hi,
Caelan is correct! I ended up working through the equations in the source code (WALE.C) to figure it out. Ck (which is actually the Smagorinsky constant) is used to calculate the subgrid-scale turbulent kinetic energy, ![]() ![]() ![]() ![]() ![]() ![]() You'll also see that Ce is simply used to calculate epsilon, so if you are not interested in epsilon then Ce is irrelevant. Also, based on my personal experience I have found the OpenFOAM 'standard' constants to work well (Cw=0.325). Although if you have the time/resources available then it's always good to test different values to see how sensitive your simulations are. I hope this helps, Emily |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
navid toussi
Join Date: Nov 2015
Posts: 20
Rep Power: 11 ![]() |
Thank you so much I followed as you suggested.
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Changing k-e constants to functions | tstorm | FLUENT | 1 | August 19, 2009 13:59 |
turbulence model constants | Jason | FLUENT | 0 | August 14, 2008 22:37 |
changing model constants in k-e turbulence model | Sunil | CFX | 3 | October 3, 2006 13:12 |
changing of k-e model | Sima Baheri | Phoenics | 0 | May 18, 2006 05:52 |