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

Square cylinder non-symmetric results?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2022, 16:02
Question Square cylinder non-symmetric results?
  #1
New Member
 
Max Vorstadt
Join Date: May 2016
Posts: 28
Rep Power: 10
jet_engine is on a distinguished road
Hi all,

I am using buoyantBoussinesqPimpleFoam to solve a simple case with a square cylinder but although the velocity contours seem to be OK (Karman vortex street forming past the square cylinder, the pressure contours neither look symmetrical nor right.

I am attaching the important bits of the initial conditions set for U and p_rgh:

Code:
dimensions [0 1 -1 0 0 0 0];

internalField uniform (19.68 0. 0.);


boundaryField
{
        outlet
        {
                type inletOutlet;
                inletValue   uniform (19.68 0. 0.);
                value        uniform (19.68 0. 0.);
        }

        upperLower
        {
                type symmetry;
        }

        inlet
        {
                type fixedValue;
                value    uniform (19.68 0. 0.);
        }

        symPlane
        {
                type symmetry;
        }

        cylinder
        {
                type fixedValue;
                value    uniform (0. 0. 0.);
        }
}

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

internalField uniform 0.;


boundaryField
{
        outlet
        {
                type            fixedValue;
                value           uniform 0.;
        }

        upperLower
        {
                type symmetry;
        }

        inlet
        {
                type zeroGradient;
        }

        symPlane
        {
                type symmetry;
        }

        cylinder
        {
                type zeroGradient;
        }

}
I'm also setting the kinematic viscosity to nu = 0.000656 m^2/s and since the square cylinder's side is 0.01 m long and u_inf = 19.68 m/s, Re = 300.

I tried different mesh densities (some of them quite fine) and all of them seem to behave in the same way, there's a spot over the square cylinder or below it where the pressure contours behave in a strange manner.

What am I doing wrong? Are the Boundary Conditions OK? Could it be the mesh? I'm a bit lost.

(I'm using this solver as I want to do a slip study, but in this case there was no slip and yet the results look this strange).

Thank you very much in advance.
Attached Images
File Type: png U.png (48.4 KB, 6 views)
File Type: png P.png (92.1 KB, 7 views)
jet_engine is offline   Reply With Quote

Reply

Tags
buoyantboussinesq, divergence, mesh, pressure, symmetry


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
Strouhal Number of a square cylinder not matching saugatshr4 FLUENT 1 April 10, 2020 04:38
HELP! Regards to Square Cylinder! Quek ANSYS 0 February 3, 2016 02:51
[blockMesh] square cylinder obstacle fferroni OpenFOAM Meshing & Mesh Conversion 2 May 26, 2012 05:48
Undergrad Civil Student: need help with simulating 2d flow past a square cylinder Karim Byasse Main CFD Forum 0 May 5, 2012 23:58
LES of a square cylinder gfilip OpenFOAM Running, Solving & CFD 1 June 24, 2010 13:33


All times are GMT -4. The time now is 08:47.