CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

WALE Subgrid scale model: changing the model constants

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By clapointe
  • 2 Post By em17

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2019, 07:53
Default WALE Subgrid scale model: changing the model constants
  #1
New Member
 
Emily
Join Date: Nov 2017
Posts: 24
Rep Power: 9
em17 is on a distinguished road
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
em17 is offline   Reply With Quote

Old   November 11, 2019, 16:24
Default
  #2
New Member
 
navid toussi
Join Date: Nov 2015
Posts: 20
Rep Power: 11
navidmt is on a distinguished road
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
navidmt is offline   Reply With Quote

Old   November 13, 2019, 15:00
Default
  #3
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
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;
}
As for Ck, they have an expression for nut in the paper that is some function of Cw and the velocity gradient tensor. If you look at the foam implementation and do some math, you'll likely find that nut is computed such that Ck cancels out.

Caelan
navidmt likes this.
clapointe is offline   Reply With Quote

Old   November 14, 2019, 08:42
Default
  #4
New Member
 
Emily
Join Date: Nov 2017
Posts: 24
Rep Power: 9
em17 is on a distinguished road
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, k. This k is then used to calculate the turbulent eddy viscosity, \nu_t, which is written in your time directories. During the calculation of \nu_t, the Ck terms will cancel out. So if you are only interested in \nu_t then you only need to update Cw. However if you are interested in the subgrid-scale turbulent kinetic energy k, then you'll need to estimate Ck as well.

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
navidmt and dweaver123 like this.
em17 is offline   Reply With Quote

Old   November 15, 2019, 14:08
Default
  #5
New Member
 
navid toussi
Join Date: Nov 2015
Posts: 20
Rep Power: 11
navidmt is on a distinguished road
Thank you so much I followed as you suggested.
navidmt is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 23:48.