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

Weird result by k omega SST

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2018, 04:06
Default Weird result by k omega SST
  #1
New Member
 
bingjr
Join Date: May 2018
Posts: 3
Rep Power: 8
bingo641 is on a distinguished road
Dear Openfoam users,

I am doing the simulation of a diffuser by k omega SST model and I use simplefoam as the solver. We have tried many times with a few different settings. However, none of the results make sense,even there were irregular and strange flow profile (kind of like vortex) in some of the results. y+ is less than 1 here.

Could you please have a look at my settings and give me some advice? Thanks.

Here are my settings in each file. Note that the solver and k omega SST may not be replaced.

Boundary condition

frontAndBack empty
bottom symmetry
top wall
inlet patch
outlet patch

Initial condition

U

The velocity at the inlet is fully-developed turbulent flow.
Code:
inlet 
fixedValue 
value           nonuniform List<vector>

 frontAndBack
    {
        type            empty;
    }
    top
    {
        type            noSlip;
bottom
    {
        type            symmetry;
    }
    outlet
    {
        type            zeroGradient;
    }
}

P


Code:
internalField   uniform 0;

boundaryField
{
    frontAndBack
    {
        type            empty;
    }
    top
    {
        type            zeroGradient;
    }
    inlet
    {
        type            zeroGradient;
    }
    bottom
    {
        type            symmetry;
    }
    outlet
    {
        type            fixedValue;
        value           uniform 0;
    }
}
omega
Code:
internalField   uniform (we calculated it);

boundaryField
{
    frontAndBack
    {
        type            empty;
    }
    top
    {
        type            omegaWallFunction;
        value           uniform (a very large value);
    }
    inlet
    {
        type            fixedValue;
        value           uniform (we calculated it);
    }
    bottom
    {
        type            symmetry;
    }
    outlet
    {
        type            zeroGradient;
    }
}
nut
Code:
internalField   uniform 0;

boundaryField
{
    frontAndBack
    {
        type            empty;
    }
    top
    {
        type            nutUSpaldingWallFunction;
        value           uniform 0;
    }
    inlet
    {
        type            calculated;
        value           uniform 0;
    }
    bottom
    {
        type            symmetry;
    }
    outlet
    {
        type            calculated;
        value           uniform 0;
    }
}
k
Code:
internalField   uniform (we calculated it);

boundaryField
{
    frontAndBack
    {
        type            empty;
    }
    top
    {
        type            fixedValue;
        value           uniform (a very small value);
    }
    inlet
    {
        type            fixedValue;
        value           uniform (we calculated it );
    }
    bottom
    {
        type            symmetry;
    }
    outlet
    {
        type            zeroGradient;
    }
}
FvShceme
Code:
ddtSchemes
{
    default         steadyState;
}

gradSchemes
{
    default         Gauss linear;
}

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

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}

wallDist
{
    method meshWave;
}
Note: we also tried linearUpwind in k and omega, but it diverged sometimes. Even though the residual is right, the result did not make sense.

Fvsolution
Code:
solvers
{
    p
    {
        solver          GAMG;
        tolerance       1e-06;
        relTol          0.01;
        smoother        GaussSeidel;
    }

    "(U|k|omega)"
    {
        solver          smoothSolver;
	smoother	GaussSeidel;
        tolerance       1e-06;
        relTol          0.01;
    }
}

SIMPLE
{
    nNonOrthogonalCorrectors 0;
    consistent      yes;
}

relaxationFactors
{
    fields
    {
	p		0.1;
    }
    equations
    {
        U               0.1;
        k               0.1;
        omega           0.1;
    }
}
Note: we also tried various relaxation factors.


We are looking forward to your reply. Thanks!

Last edited by bingo641; May 23, 2018 at 08:04.
bingo641 is offline   Reply With Quote

Old   May 23, 2018, 10:15
Default
  #2
Senior Member
 
JNSN's Avatar
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 144
Rep Power: 20
JNSN is on a distinguished road
Hi,


not sure if this improves your results, but I suggest using
Code:
kqRWallFunction
for your wall k-BC.Also your relaxation values are quite low, especially for U, k and omega. Are you sure you are looking at a fully converged solution?


Best regards,
Jan
JNSN is offline   Reply With Quote

Old   May 23, 2018, 10:21
Default
  #3
New Member
 
bingjr
Join Date: May 2018
Posts: 3
Rep Power: 8
bingo641 is on a distinguished road
Hi Jan,
Thanks for your reply! Actually we tried several times with different relaxation factors. This is because sometimes the residual value changed greatly in value.

In addition, since our y+ is expected to be less than 1, is it suitable to use this wall function?
bingo641 is offline   Reply With Quote

Old   May 28, 2018, 00:05
Default
  #4
New Member
 
Ben
Join Date: Oct 2016
Posts: 25
Rep Power: 10
bentkj is on a distinguished road
Quote:
Originally Posted by bingo641 View Post
Hi Jan,
Thanks for your reply! Actually we tried several times with different relaxation factors. This is because sometimes the residual value changed greatly in value.

In addition, since our y+ is expected to be less than 1, is it suitable to use this wall function?
I would also like to understand this better too. What should the boundary conditions be for omega, k, and nut be if we're attempting to resolve the BL (y+~1)?

Last edited by bentkj; May 29, 2018 at 21:36.
bentkj 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
Boundary conditions for K and Omega in SST model Ryan. SU2 4 July 23, 2021 03:55
K-Omega SST BC set up for omega and K joneill053 OpenFOAM Pre-Processing 2 July 10, 2017 15:29
T-Junction using rhoPimpleFoam (Simulation blows and weird result) mecbe2002 OpenFOAM Running, Solving & CFD 4 July 23, 2015 16:26
Omega goes infinity callumso OpenFOAM Running, Solving & CFD 5 October 2, 2013 08:52
Airfoil 2D, very weird result Martin FLUENT 4 June 13, 2007 13:21


All times are GMT -4. The time now is 20:59.