|
[Sponsors] |
February 26, 2015, 15:16 |
A few questions on K-W SST model and LES
|
#1 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Dear All
I need a reference that OpenFOAM used to write the following formula for nutWallFunction: scalar yPlus = Cmu25*y[faceI]*sqrt(k[faceCellI])/nuw[faceI]; if (yPlus > yPlusLam_) { nutw[faceI] = nuw[faceI]*(yPlus*kappa_/log(E_*yPlus) - 1.0); } } I am asked about "Near Wall Treatment" formula in K-W SST in OpenFOAM, In fact, I need near wall treatment for all parameters including U, k and <omega> I read the paper mentioned here (Progress in ...). I could not find source codes for other parameters U and K and Omega in OpenFOAM. Only nuT is available. Regards Ehsan |
|
February 27, 2015, 03:44 |
K-W SST model
|
#2 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Hello,
1- I am asked about: The formula used to determine the near wall values of U, k and <omega> in K-W SST model in OpenFOAM. May I ask you whether OpenFOAM uses exactly the same formula given in: http://www.zaidan.info/seikabutsu/20...okyo_ts059.pdf If no, which reference is used for OpenFOAM formulations? 2- In nutkWallFunction.C, it is: nut = nu * ((y+ * k) / ln( E * y+) - 1) which means: nut=nu[(y+/U+)-1] May I ask you the refernce of this equation? Regards |
|
February 27, 2015, 05:21 |
|
#3 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
ehsan,
The omega b.c. of the paper is implemented in openfoam, see: https://github.com/OpenFOAM/OpenFOAM...hScalarField.C line 223 to 235. They (in the paper) use a zero-flux boundary condition for k, so this would be zeroGradient boundary condition in openFoam. The nut damping is not implemented in openFoam, that's why people use one of the other nut b.c., such as the one you wrote. If you want the low-Re version as in the paper, I implemented it: http://www.cfd-online.com/Forums/openfoam-programming-development/134102-komegasst-lowre-damping-fluent.html#post491414 (I didn't compare everything, but I guess it is the same as in the paper). Do you want to use a low-Re or a high-Re version?
__________________
The skeleton ran out of shampoo in the shower. |
|
February 27, 2015, 05:34 |
K-W SST model
|
#4 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Thank you very much. Your helps are very fruitful for me.
I already used K-W SST and LES in OpenFOAM and was asked by the reviewer of my paper about near wall treatments: 1- OK, w is like the paper, K is zero gradient, and nut from the formula I mentioned, how the latter transforms to the velocity? and does it has a reference? 2- In LES, I used "kqRWallFunction" for k, and nothing for other parameters (like a test case in hand. May I ask you about the near wall treatments in LES? 3- And I also have a question about LES delta that I used, that is smooth. I also need its relation with the cell size (or a reference) Regards Ehsan |
|
February 27, 2015, 05:38 |
|
#5 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
1) You mean if the wall shear is used as b.c. for the velocity in the first cell? I don't know that.
Unfortunately, I can not help with the other question, too. Sorry.
__________________
The skeleton ran out of shampoo in the shower. |
|
February 27, 2015, 05:41 |
|
#6 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
No, I mean where does this nut show itself in calculations? Is it in shear stress calculation in the domain. I mean as OF does not use Eq. 17 of that paper, how it compensate?
|
|
February 27, 2015, 05:42 |
|
#7 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
You can find nut evaluation in the komegasst turbulence model, directly after solving of k and omega differential equation.
__________________
The skeleton ran out of shampoo in the shower. |
|
February 27, 2015, 05:50 |
|
#8 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
OK, Thanks. The only problem is U, that is not used in OpenFOAM. It is written in the paper below Eq 18:
"This formulation gives the relation between the velocity near the wall and the wall shear stress." So, if we correct wall shear stress with that nut, maybe we could find u correctly as well. |
|
February 27, 2015, 05:52 |
|
#9 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Hi
I need to know near wall treatments in LES. In LES, I used "kqRWallFunction" for k, and nothing for other parameters (like a test case in hand). May I ask you about the near wall treatments in LES? 2- And I also have a question about LES delta that I used, that is smooth. I also need its relation with the cell size (or a reference) Regards |
|
February 27, 2015, 11:24 |
|
#10 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
I had an inquiry on the near wall treatment in LES.
OpenFOAM mainly follows Florian MENTER algorithm for wall treatment in K-W SST (http://www.zaidan.info/seikabutsu/20...okyo_ts059.pdf). However, OpenFOAM uses the same near wall treatment for LES as K-W SST (kqRwallfunction for K and nothing for others). May I ask you whether it is a correct and standard way in near wall treatments in LES? |
|
February 28, 2015, 11:20 |
|
#11 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
LES deltas
smoothDelta Smoothing of delta I am asked about the: the formula used for the LES filter width as a function of grid size for smoothDelta. Would you please help? |
|
March 2, 2015, 05:49 |
|
#12 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 13 |
Hi,
I also would like to know: when "kqRwallfunction" is used in k boundary conditions (when LES is used), will that even matter? Will OpenFOAM apply it or it is totally ignored (cuz it corresponds to RANS and not to LES)? If using "kqRwallfunction" in LES is wrong, what will OpenFOAM apply instead: zeroGradient or fixedValue = 0? |
|
March 2, 2015, 06:46 |
|
#13 | |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26 |
Quote:
Also, thinking of a RANS model and an LES using the same wall function is not correct. RANS models use wall functions that model time-averaged values as a function of other time-averaged values. LES wall functions model instantaneous values that are spatially filtered. This is quite different. Even though functions might look the same they have a different physical meaning.
__________________
The skeleton ran out of shampoo in the shower. |
||
March 2, 2015, 07:27 |
|
#14 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Hello,
Please see Sec. 4.2.2 in http://www.cimec.org.ar/ojs/index.ph...File/3263/3186 (Thanks to Dr Santiago Márquez Damián for his kind helps) |
|
January 18, 2021, 22:23 |
|
#15 | |
Member
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5 |
Quote:
Sorry to start this thread again. I am facing the same problem, have you figured out the formula for the smooth filter width in OpenFOAM? Is there any tutorial about this? Many thanks |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Implement an les turbulence model | pante | OpenFOAM Programming & Development | 19 | December 5, 2014 16:16 |
SpalartAllarmasIDDES LES model | mmmn036 | OpenFOAM Running, Solving & CFD | 1 | April 23, 2014 20:01 |
LES basic and simple questions. | dshawul | Main CFD Forum | 0 | October 4, 2010 10:56 |
LES and combustion model | Margherita Cadorin | CFX | 0 | October 29, 2008 05:24 |
Some Questions about LES. | Bin Li | Main CFD Forum | 2 | February 20, 2004 09:58 |