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

LES of a square cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2010, 10:22
Question LES of a square cylinder
  #1
Member
 
Join Date: May 2009
Posts: 54
Rep Power: 16
gfilip is on a distinguished road
Hello,

I am having what I presume are inlet or grid quality issues with an LES case for a square cylinder. As can be seen in the attached images, the inflow to the left of the cylinder shows a strange behaviour with a variation of U (in attached image, coloured by U mag). My initial guess was that the aspect ratio or the grid quality overall is not good enough for LES. My grid does pass all checks inside of checkMesh.

I am using the dynamic Smagorinsky model (simple filter and cubeRootVol delta) with a hex + polyhedra (due to local refinement) grid of ~1.6 million cells. The Re = 22,000 and y+ average = ~6 after approximately 20 non-dimensional flow-overs, which I presume could be an issue as well as I am using the nuSgsWallFunction on the cylinder wall patch. I will try to construct a y+=1 grid and avoid the use of wall functions next.

My nuSgs file:
Code:
dimensions      [0 2 -1 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    inlet
    {
        type            zeroGradient;
    }

    outlet
    {
        type            zeroGradient;
    }

    sides
    {
        type            cyclic;
    }

    cyl
    {
//        type            zeroGradient;
        type            nuSgsWallFunction;
        value           uniform 1;
    }

    sym
    {
        type            symmetryPlane;
    }
}
And my 0/U file:
Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0.022 0 0);

boundaryField
{
    cyl
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    inlet
    {
        type            fixedValue;
        value           uniform (0.022 0 0);
    }
    outlet
    {
        type            zeroGradient;
    }
    sides
    {
        type            cyclic;
    }
    sym
    {
        type            symmetryPlane;
    }
}
Is my setup incorrect, or is this purely a grid issue? Any hints would be greatly appreciated.


-Grzegorz
Attached Images
File Type: jpg flow2.jpg (20.8 KB, 241 views)
File Type: jpg grid2.jpg (59.2 KB, 255 views)
gfilip is offline   Reply With Quote

Old   June 24, 2010, 12:33
Default
  #2
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Sorry, but I have to say your mesh looks bad, and is better not be called LES.

And what's more, it seems your inlet has a velocity profile, that's strange, isn't it?

You can upload your case file in tgz format, so that we could have a look, we need 0/ constant/ system/
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Reply

Tags
cylinder, les, nusgs, square


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
LES of a square cylinder gfilip OpenFOAM 0 June 24, 2010 10:11
grids for flow over a square cylinder student Main CFD Forum 4 April 21, 2009 06:50
solving airfoil like square cylinder problem? zonexo Main CFD Forum 1 May 27, 2006 15:16
3D LES simulation of a circular cylinder fpz Main CFD Forum 3 June 20, 2005 19:50
drag calulation over a square cylinder sex00 Main CFD Forum 4 February 2, 2001 07:16


All times are GMT -4. The time now is 22:54.