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

odd results of kOmega SST and small yPlus

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2020, 09:35
Unhappy odd results of kOmega SST and small yPlus
  #1
New Member
 
AmiN
Join Date: Nov 2014
Posts: 13
Rep Power: 11
AmiN.D is on a distinguished road
Hi Cfd-Online!


I'm a newbie in OpenFOAM world and happen to submit weekly projects since last month!


I' trying to simulate a very simple problem and geometry with kOmegaSST model in "simpleFoam" but the results are odd to me!
The geometry as you can see in attachment is a semi-orifice form and the fluid is water at 25ºC and gotta simulate it for Re=30 and Re=3000!
I dont use a fine mesh [Overall number of cells of each type :
hexahedra: 40000] .

With SST model i'm getting very small yPlus number for Re=3000 and Re=30
for example here are the results for Re=3000:
Quote:

fixedWalls y+ : min: 0.000135994 max: 0.97708 average: 0.192186
and i assume it should be something between 5<y+<30
Both cases dont converge after 10000 interval which might be okay for Re=3000 but odd for Re=30, although after 8000 you dont see that much change in numbers.
what do you thing about y+ and also k,Omega, nut behavior ?



here are the conditions:


U:
Quote:
internalField uniform (0 0 0);

boundaryField
{
inlet
{
type fixedValue;
value uniform (0 0 -0.03);
}
outlet
{
type zeroGradient;
}

fixedWalls
{
type fixedValue;
value uniform (0 0 0);
}
fandb
{
type empty;
}

}



P:
Quote:
dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
fixedWalls
{
type zeroGradient;
}
fandb
{
type empty;
}
}

Omega:
Quote:
internalField uniform 0.3086;

boundaryField
{
inlet
{
type fixedValue;
value uniform 0.3086;
}
outlet
{
type zeroGradient;
}
fixedWalls
{
type omegaWallFunction;
value uniform 0.3086;
}

fandb
{
type empty;
}
}
k:




Quote:
dimensions [0 2 -2 0 0 0 0];

internalField uniform 4.66e-06;

boundaryField
{
inlet
{
type fixedValue;
value uniform 4.66e-06;
}
outlet
{
type zeroGradient;
}
fixedWalls
{
type kqRWallFunction;
value uniform 4.66e-06;
}
fandb
{
type empty;
}


}

nut:
Quote:
internalField uniform 0;

boundaryField
{
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}

fixedWalls
{
type nutkWallFunction;
value uniform 0;
}
fandb
{
type empty;
}
}

fvSolution:
Quote:
solvers
{
p
{
solver GAMG;
tolerance 1e-08;
relTol 0.01;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration on;
agglomerator faceAreaPair;
nCellsInCoarsestLevel 10;
mergeLevels 1;
}

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

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

epsilon
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-08;
relTol 0.1;
nSweeps 1;
}

omega
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-08;
relTol 0.1;
nSweeps 1;
}
}

SIMPLE
{
nNonOrthogonalCorrectors 0;

residualControl
{
p 1e-6;
U 1e-6;
}
}

potentialFlow
{
nNonOrthogonalCorrectors 0;
}

relaxationFactors
{
fields
{
p 0.3;
}
equations
{
U 0.7;
k 0.7;
epsilon 0.7;
omega 0.7;
}
}

cache
{
grad(U);
}

thanks in advance
AmiN.D is offline   Reply With Quote

Old   May 16, 2020, 15:35
Default
  #2
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
Hi,

check this to better understand what you're trying to do:
https://www.brighthubengineering.com...urbulent-flow/

Calculate the turbulence properties using e.g.:
https://www.cfd-online.com/Tools/turbulence.php

Dig a bit deeper into y+ ranges and mesh densities/properties suitable for your cases i.e. internal flow at your cases Re numbers.

Calculate y+ wall distance using e.g.:
https://www.cfd-online.com/Tools/yplus.php
And create a mesh that meets the y+ wall distance requirement for your case

Re = 3000 should be a turbulent case and kOmegaSST should work

Re = 30 should be a laminar flow case so maybe switch off turbulence in the constant/turbulenceProperties file

Code:
simulationType RAS;

RAS
{
    // Tested with kEpsilon, realizableKE, kOmega, kOmegaSST, v2f,
    // ShihQuadraticKE, LienCubicKE.
    RASModel        kOmegaSST;

    turbulence      on; // change this to off for laminar flow

    printCoeffs     on;
}
klausb 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
bad heat transfer results with low y+ me45 OpenFOAM Running, Solving & CFD 0 April 29, 2020 11:56
RANS FX63-137 kOmega SST model PierluigiRossi SU2 2 June 24, 2016 05:56
which yplus (SST) sanchezz CFX 17 January 11, 2010 04:45
how to make grid for "SST" like small Re method? wayne CFX 0 June 7, 2008 11:09
Small Yplus and k-epsilon CFDworker CFX 3 November 3, 2005 23:08


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