CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   omegaWallFunctionFvPatchScalarField in OpenFoam 3.0.0 (https://www.cfd-online.com/Forums/openfoam-programming-development/169102-omegawallfunctionfvpatchscalarfield-openfoam-3-0-0-a.html)

giammy92 April 3, 2016 14:04

omegaWallFunctionFvPatchScalarField in OpenFoam 3.0.0
 
Hi guys, I'm using a k omega SST with a mesh with y+<1 and so that is able to resolve the viscous sub-layer. I've founded a discussion http://www.cfd-online.com/Forums/ope...tml#post438465 in which is reported a modification of omegawallfunction's:

scalar omegaVis = 6.0*nuw[faceI]/(beta1_*sqr(y[faceI]));
scalar omegaLog = sqrt(k[faceCellI])/(Cmu25*kappa_*y[faceI]);
omega[faceCellI] = sqrt(sqr(omegaVis) + sqr(omegaLog));

we have found cases for which this causes a sudden change in the viscosity near the wall if the mesh is sufficiently fine and that just using the logarithmic part give more continuous behavior:

omega[faceCellI] = omegaLog;

So, according you, i have to modify the code like above, to allow to model k omega SST to work correctly in viscous sub-layer?


All times are GMT -4. The time now is 16:09.