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

k-Omega SST - Wall functions in OF 2.3

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jherb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2015, 06:36
Default k-Omega SST - Wall functions in OF 2.3
  #1
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 352
Blog Entries: 1
Rep Power: 13
shereez234 is on a distinguished road
I have read a lot of posts in this forum regarding Wall Functions in OF. But could not arrive at an answer that satisfies me.

I have a mesh for Naca 0012 airfoil with Y+ ~= 1

My understanding up to now:

1) Without Wall function - ( wall/airfoil/solidwall) (// Y+ less than or =1)
* Omega -
Type: omegaWallfunction
value: 1e-18; // non zero low value

* K
Type: KqRWallfunction
value: 1e-18 ; // non zero low value

* nut Type : nutkWallfunction
value: uniform 0;


2) With Wall function - ( wall/airfoil/solidwall) (Y+ 30 to 100)
* Omega
Type: omegaWallfunction
value: 300; // some value from formulaes or guess

* K Type: KqRWallfunction
value: 0.1 ; // some value

* nut Type: KqRWallfunction
value: uniform 0;

Is this correct? Or what is the actual implementation: I intend to use without wall functions.

Some other information that might be useful:

* Re = 2 million
* Mach = incompressible
* K = turbulentKineticEnergyinlet with intensity specified
* High Angle of Attack region.

* FV schemes:
(divergence of U)
* bounded Gauss limitedLinearV 1;

(divergence of k|Omega)
*bounded Gauss limitedLinear 1;

* Time Integration: Euler

please input your views. Any input is appreciated very much
shereez234 is offline   Reply With Quote

Old   November 6, 2015, 15:14
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
For the case with Y+=1 have a look in this thread:

http://www.cfd-online.com/Forums/ope...estigated.html

For k fixedValue is suggested and for nut calculated (so no wall functions).
shereez234 likes this.
jherb is offline   Reply With Quote

Old   November 6, 2015, 18:42
Default
  #3
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 352
Blog Entries: 1
Rep Power: 13
shereez234 is on a distinguished road
First, my apologies. I should have seen this thread you guided me to.

And This reference seems very helpful. Thanks a lot. Will investigate further into this.
shereez234 is offline   Reply With Quote

Old   November 10, 2015, 20:36
Default
  #4
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 352
Blog Entries: 1
Rep Power: 13
shereez234 is on a distinguished road
Right Okay. So I gave this a try and suprisingly: it did not seem to work well. I have changed fv schemes around a lot. I am getting bounding omega to be jumping from 1 to a really high value ( 1e58 or may be more) and solution stops.

After reading the post you reffered me to:

1) I have mesh for Naca0012 with size = 24,000 elements - hexa - quads.
This mesh converges in fluent.

Turbulent intensity = 0.05 % and laminar to turbulent ( eddy visc ratio = 0.009) giving me a Omega Wall ( Menter's propsition) = 1.9e08 at the wall(airfoil in this case).

Here is my file details:

k
boundaryField
{
CRVS
{
type fixedValue;
value uniform 1e-18;
}
INLET
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.052;
value uniform 0.219;

omega
CRVS
{
type fixedValue;
value uniform 1.9e+008;
Cmu 0.09;
kappa 0.41;
E 9.8;
beta1 0.075;
}
INLET
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;

Solver: PISOFOAM
deltaT 0.000000002;

fvschemes
ddtSchemes
{
default backward;
}

gradSchemes
{
default leastSquares;
grad(p) Gauss linear;
grad(U) Gauss linear;
}

divSchemes
{
default none;
div(phi,U) bounded Gauss upwind;
div(phi,k) bounded Gauss upwind;
div(phi,omega) bounded Gauss upwind;
div((nuEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p ;
Phi ;

}
fvSolution
solvers
{
p
{
solver GAMG;
tolerance 1e-07;
relTol 0.1;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 1000;
}

pFinal
{
solver GAMG;
tolerance 1e-6;
relTol 0;
smoother GaussSeidel;
}

Phi
{
$p;
}

U
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 1;
tolerance 1e-08;
relTol 0.1;
maxIter 1000;
}
k
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-8;
relTol 0.1;
nSweeps 1;
maxIter 1000;
}

omega
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-8;
relTol 0.1;
nSweeps 1;
maxIter 1000;
}
}

PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;

residualControl
{
p 1e-5;
U 1e-5;
}
}
potentialFlow
{
nNonOrthogonalCorrectors 10;
pRefCell 0;
pRefValue 0;
PhiRefCell 0;
PhiRefPoint 0;
PhiRefValue 0;
Phi 0;
}
relaxationFactors
{
fields
{
p 0.1;
}
equations
{
U 0.1;
omega 0.1;
k 0.1;
}
}


Error Message:
Time = 1.8e-008

Courant Number mean: 6.6089e+010 max: 5.96403e+018
smoothSolver: Solving for Ux, Initial residual = 0.0854157, Final residual = 0.00162756, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 0.0857431, Final residual = 0.0083747, No Iterations 1
GAMG: Solving for p, Initial residual = 0.840767, Final residual = 0.0795824, No Iterations 2
time step continuity errors : sum local = 6.50813e+016, global = 1.35752, cumulative = 1.35752
GAMG: Solving for p, Initial residual = 0.996139, Final residual = 8.94264e-007, No Iterations 40
time step continuity errors : sum local = 2.66843e+022, global = 1.26249e+007, cumulative = 1.26249e+007
smoothSolver: Solving for omega, Initial residual = 0.999561, Final residual = 0.0112157, No Iterations 4
bounding omega, min: 0 max: 1.39292e+063 average: 7.77122e+058
smoothSolver: Solving for k, Initial residual = 0.363297, Final residual = 3.7894e-019, No Iterations 1
bounding k, min: 1e-018 max: 33.6809 average: 0.36149
ExecutionTime = 26.234 s ClockTime = 26 s


Regards and thanks in advance for any one willing to share ideas and experience.
shereez234 is offline   Reply With Quote

Old   November 12, 2015, 02:54
Default
  #5
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Did you carefully read the thread Joachim linked? If so, I'm surprised by your choice of boundary conditions. By the way, please use "[code]" tags to make your post more readable.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess 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
Wall functions - questions about implementation AlmostSurelyRob OpenFOAM Programming & Development 44 May 6, 2020 10:11
Wall functions in SU2 xgarnaud SU2 3 March 6, 2017 14:50
k - omega SST turbulence model with wall functions kenan Main CFD Forum 0 January 17, 2013 06:14
incorrect to use nuTilda wall functions for k-epsilon? newToOpenFoam OpenFOAM Pre-Processing 0 December 14, 2011 05:15
[ICEM] Export ICEM mesh to Gambit / Fluent romekr ANSYS Meshing & Geometry 1 November 26, 2011 12:11


All times are GMT -4. The time now is 15:45.