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

omegaWallFunction implementation

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By fumiya

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 9, 2013, 13:37
Default omegaWallFunction implementation
  #1
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 16
Horus is on a distinguished road
Hello,

I'm studying the implementation of the incompressible omegaWallFunction.

http://foam.sourceforge.net/docs/cpp/a09165_source.html

Code:
00207         scalar omegaVis = 6.0*nuw[faceI]/(beta1_*sqr(y[faceI]));
00208 
00209         scalar omegaLog = sqrt(k[faceCellI])/(Cmu25*kappa_*y[faceI]);
00210 
00211         omega[faceCellI] = sqrt(sqr(omegaVis) + sqr(omegaLog));
\omega = \sqrt{\omega_{vis}^2 + \omega_{log}^2}
\omega_{vis} = \frac{6 \nu}{\beta_1 \cdot y^2}
\omega_{log} = \frac{k}{\sqrt[4]{C_\mu} \cdot \kappa \cdot y}

This clearly becomes oo when y approaches 0. Does this account for the turbulence damping near the wall?

Next question: What is G?

Code:
00173     volScalarField& G =
00174         const_cast<volScalarField&>
00175         (
00176             db().lookupObject<volScalarField>
00177             (
00178                 turbulence.type() + ".G"
00179             )
00180         );
And set here:

Code:
00213         G[faceCellI] =
00214             (nutw[faceI] + nuw[faceI])
00215            *magGradUw[faceI]
00216            *Cmu25*sqrt(k[faceCellI])
00217            /(kappa_*y[faceI]);
00218     }
The paper mentioned in the source code is available nowhere...

I'm especially clueless that the last part with the G is about?

Thanks!
Florian
Horus is offline   Reply With Quote

 


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
Free CFD code with implementation of Menter's k-omega SST model nikola_m Main CFD Forum 2 May 8, 2020 12:13
a little confused with the implementation of compressibleInterFoam su_junwei OpenFOAM Running, Solving & CFD 2 May 7, 2014 17:33
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch thomek OpenFOAM Programming & Development 0 October 18, 2010 05:10
Request for help so as to debug MAC implementation HectorRedal Main CFD Forum 0 September 13, 2010 16:52
Please explain the implementation of species transport Eqn in reactingFoam kallipygian OpenFOAM Running, Solving & CFD 0 October 13, 2008 07:29


All times are GMT -4. The time now is 13:21.