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

Drag coefficient too high at flow around a cyclinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2013, 04:54
Default Drag coefficient too high at flow around a cyclinder
  #1
New Member
 
Join Date: May 2013
Posts: 5
Rep Power: 13
Gunni is on a distinguished road
Hi guys!

I am working on a validation case for my thesis in OpenFOAM, simulating a flow around a circular cylinder, using kOmegaSST. I wanted to fully resolve the viscose sublayer with this turbulence model. But the drag coefficient I get was always too high.

These are the parameters of my case:

Cyclinder diameter: 10 mm
Flow velocity: 20 m/s
kinematic viscosity: 2e-5
Re=10000
y+_max=2.7
y+_average=1.34
y_min=1.31e-5m
Max. aspect ratio= 4.7


My boundary conditions are (I tested also other BCs with no success):

k:
internal=0.06
inlet=freestream (0.06)
outlet=freestream(0.06)
wall=fixedValue(1e-12)

nut:
internal=0.24
inlet=calculated
outlet= calculated
wall= fixedValue(0)

omega:
internal=63
inlet=freestream(63)
outlet=freestream(63)
wall=omegaWallFunction(63)

p:
internal = 0
inlet= freestreamPressure
outlet=freestreamPressure
circile=zeroGradient

U:
internal=20
inlet=freestream(20)
outlet= freestream(20)
circle=fixedValue(0)


The drag coefficient is calculated with the function "forces" in the controlDict file. Accourding to the text books of Schlichtling, I should get a drag coefficient of 1.2, but the results are around 1,64. I tried a lot of different boundary conditions, and also played with the schemes, but all the results have little difference.

I tried the same settings under the kkl-Omega, getting the same results as the kOmegaSST.

While simulating this case for high-Re (y+=32) and with wall functions, I get a quite satsifying drag coefficient around 1.1.

I have uploaded my complete case, so hopefully someone can help me with this.
Attached Files
File Type: gz cylinder.tar.gz (4.1 KB, 99 views)
Gunni is offline   Reply With Quote

Old   August 1, 2013, 06:08
Default
  #2
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17
fredo490 is on a distinguished road
Are you sure of the turbulence properties ? Do you have any specification of the wind tunnel used ?

Your omega looks a bit low to me. You can try to use the toolbox of this website to get a proper value: http://www.cfd-online.com/Tools/turbulence.php

Edit, what is your domain size ? And is you mesh fine enough behind the cylinder to reveal the vortex ?

You can also try to run the simulation as an unsteady case.
fredo490 is offline   Reply With Quote

Old   August 1, 2013, 06:41
Default
  #3
New Member
 
Join Date: May 2013
Posts: 5
Rep Power: 13
Gunni is on a distinguished road
Thanks a lot for your reply!!

The boundary conditions was a left over from a previous setup, but my experience was, that it doesn't have a huge influence on the drag coefficient. But to be on the safe side I started another case with the following BCs:

k:
internal=0.015
inlet=freestream (0.015)
outlet=freestream(0.015)
wall=fixedValue(1e-12)

nut:
internal=1.55e-3
inlet=calculated
outlet= calculated
wall= fixedValue(0)

omega:
internal=13
inlet=freestream(13)
outlet=freestream(13)
wall=omegaWallFunction(0)

p:
internal = 0
inlet= freestreamPressure
outlet=freestreamPressure
circile=zeroGradient

U:
internal=20
inlet=freestream(20)
outlet= freestream(20)
circle=fixedValue(0)

I am not sure how fine the mesh should be behind the cylinder, so I uploaded a picture of it, maybe you can give me your opinion?

I forgot to mention the case runs unsteady under pimpleFoam.

Edit: The domain is 2D 0.5mx0.5m, with 83000 cells.
Attached Images
File Type: jpg komegasst.jpg (21.2 KB, 142 views)
Gunni is offline   Reply With Quote

Old   August 2, 2013, 04:18
Default
  #4
New Member
 
Join Date: May 2013
Posts: 5
Rep Power: 13
Gunni is on a distinguished road
The result of the drag coefficient using the new Boundary conditions are still too high. I get a value around 1.634.

Please help!
Attached Images
File Type: jpg drag.jpg (66.8 KB, 191 views)
Gunni is offline   Reply With Quote

Old   August 5, 2013, 09:33
Default
  #5
New Member
 
Join Date: May 2013
Posts: 5
Rep Power: 13
Gunni is on a distinguished road
Does nobody have an idea? Can someone please check if the function I use to calculate the drag coefficient is correct?

Quote:
forces
{
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
outputControl timeStep;
outputInterval 1;
patches
(
circle
);

// pName p;
//UName U;
log true;
rhoName rhoInf;
rhoInf 1;
CofR ( 0.25 0.12 0 ); //center of rotation
liftDir ( 0 1 0 );
dragDir ( 1 0 0 );
pitchAxis ( 0 0 1 );
magUInf 20;
lRef 0.01; //Reference length
Aref 1e-5; // Reference area
}
Gunni is offline   Reply With Quote

Old   August 10, 2013, 11:57
Default
  #6
New Member
 
Rafael Coelho
Join Date: Jun 2012
Location: Portsmouth
Posts: 23
Rep Power: 14
Rafael_Coelho is on a distinguished road
Hi Gunni,

I am very glad I found your post. I am working in a very similar problem. I reinstalled OF last month and decided to run some very basic cases to calibrate some useful meshs/cases. I am simulating a 30mm cylinder in a wind tunnel 300mmX300mmX3000mm blowing air at 10m/s. I know it is a big domain and I could be using a 2D domain but my real problem needs a 3D simulation.
One of the reasons I am using this case is because I have some experimental results from this experiment. We measured the flow using hot wire anemometry and PIV. I also using Schlichtling as a reference and I am also expecting a Cd of 1.2.
I am using simpleFoam and not pimpleFoam.

I will upload my case.

Regards,
Rafael
Rafael_Coelho is offline   Reply With Quote

Old   August 10, 2013, 12:42
Default
  #7
New Member
 
Tomas
Join Date: May 2013
Posts: 5
Rep Power: 13
tomas89 is on a distinguished road
Hello guys!

I'm working with a similar case but with a NACA, Would be very helpful for me to know how do you fix a min and max y+ coefficient and how to plot the residuals, y+, drag...

I know I'm not helping but your topic was the best to answer my question.

Thanks in advance,
Tomas
tomas89 is offline   Reply With Quote

Old   August 10, 2013, 13:40
Default
  #8
New Member
 
Rafael Coelho
Join Date: Jun 2012
Location: Portsmouth
Posts: 23
Rep Power: 14
Rafael_Coelho is on a distinguished road
Hi Tomas,

There is no way to "set" a minimum or maximum y+ value, they are consequence of flow and size of the cells near the wall. The link below shows good way to estimate the cell of cell you need to get a desirable y+ value.
http://www.computationalfluiddynamic...t-cell-height/

To plot the variables you can follow the steps on this topic:
http://www.cfd-online.com/Forums/ope...residuals.html

Why you dont change your problem to a cylinder? My next step is a NACA0012, but I want to validate my case first.

Hope that help
Rafael_Coelho is offline   Reply With Quote

Old   August 11, 2013, 07:59
Default
  #9
New Member
 
Tomas
Join Date: May 2013
Posts: 5
Rep Power: 13
tomas89 is on a distinguished road
Hello!
Thanks for your reply Rafael_Coelho. I'm doing a validation with a NACA because afterwards I have to do a specific foil. About the problem that Gunni has, when I get wrong results is meanly because of the lRef and Aref... About Aref, is it a fronta-area or topview-area? (for the cylinder won't make much more sense the question.. hahaha)
tomas89 is offline   Reply With Quote

Old   August 11, 2013, 11:05
Default
  #10
New Member
 
Rafael Coelho
Join Date: Jun 2012
Location: Portsmouth
Posts: 23
Rep Power: 14
Rafael_Coelho is on a distinguished road
Hi Tomas,

The cylinder simulation can be tricky due to the flow vortices, so if you can simulate the flow around a cylinder you are closer to solve the flow around a NACA profile. I will probably run the NACA tomorrow. Aref is what ever you want. In the cylinder case we are using frontal area, but could be using "wet" area. If you are comparing Cd and Cl you must know how your reference data was calculated, that is why we are using Schlichting.

It will be nice if you post some of your results and BCs anyway.

Regards,
Rafael
Rafael_Coelho is offline   Reply With Quote

Old   August 11, 2013, 18:17
Default
  #11
New Member
 
Rafael Coelho
Join Date: Jun 2012
Location: Portsmouth
Posts: 23
Rep Power: 14
Rafael_Coelho is on a distinguished road
Some more discussion: http://www.cfd-online.com/Forums/ope...tml#post445016
Rafael_Coelho is offline   Reply With Quote

Old   August 13, 2013, 15:52
Default
  #12
New Member
 
Rafael Coelho
Join Date: Jun 2012
Location: Portsmouth
Posts: 23
Rep Power: 14
Rafael_Coelho is on a distinguished road
I just ran it using pimpleFoam. Got Cd=1.175.

http://youtu.be/2LsQC_LJ8uo
Rafael_Coelho is offline   Reply With Quote

Old   August 14, 2013, 04:31
Default
  #13
New Member
 
Join Date: May 2013
Posts: 5
Rep Power: 13
Gunni is on a distinguished road
Hello Rafael,

thank you very much for your reply! I am still getting a cd=1.44. I will look into your case and hopefully see my mistakes in the simulation.

Edit: I have looked into your case, it seems that you are using a high-Re approach. While running my case at high-Re(y+=32) I also get satifying results but the problems surfaces at resolving the viscous sublayer. Have you tried to fully resolve the viscous sublayer?
Gunni is offline   Reply With Quote

Old   August 14, 2013, 05:06
Default
  #14
Member
 
Patrick Wollny
Join Date: Apr 2010
Posts: 58
Rep Power: 16
Pat84 is on a distinguished road
Hi,

I don't know the OF version you are using, but if it is an older version, than you might have a look at this post:

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

Best regards,
Patrick
Pat84 is offline   Reply With Quote

Old   August 14, 2013, 17:53
Default
  #15
New Member
 
Rafael Coelho
Join Date: Jun 2012
Location: Portsmouth
Posts: 23
Rep Power: 14
Rafael_Coelho is on a distinguished road
Hi Gunni,

I´ve added 10 layers to capture the bondary layer. Didn´t have time to postprocess enough and didn´t check the y+.

Regards,
Rafael
Rafael_Coelho is offline   Reply With Quote

Old   September 23, 2014, 14:01
Unhappy
  #16
bia
New Member
 
nabaouia
Join Date: Aug 2014
Posts: 14
Rep Power: 12
bia is on a distinguished road
i have the same problem as mentionned. i'm not familiar with ansys but i'm trying to be so please help me .i'm trying to have a drag coefficient about 1.33.but i always find Cd =0.988.
my study is a laminar flow around a circular cylinder the diametre of the cylinder =15 mm the box is 750x400mm2.
Re=150.
may be a have a problem with the reference values.i set reference area= PI*D
length =PI*D/2 and depth =1.
FOR THE RESIDUAL I SET 1 e-08
max iterations per time step =40
these are tha best values i've made to be so closer but i still far away .
bia is offline   Reply With Quote

Old   October 19, 2015, 20:21
Default
  #17
Member
 
Davi Barreira
Join Date: Apr 2014
Location: Fortaleza
Posts: 76
Rep Power: 12
davibarreira is on a distinguished road
Hey bia, I got values close to yours... Im simulating at Reynolds 1e5 and 1e4. Did you manage to get the proper results? Also, my lift seems to be too high, does anyone have the same problem?
davibarreira is offline   Reply With Quote

Old   October 31, 2019, 03:18
Default One tip
  #18
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8
Rasmusiwersen is on a distinguished road
For whoever it might concern in the future, a solution to this problem can be the domain size. I've just performed simulations alike the ones presented in this post, where the domain extenden for only 10 diameters downstream. This lead to increased drag coefficients! Should be, as you say approx 1.22 but i got 1.4.

Increasing the domain to 50 diameters, the coefficients dropped instantly. Haven't got the final coefficient yet (performaing a convergence study), but it looks much more promising!

Happy foaming (Y)

/Rasmus
Rasmusiwersen 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
Drag Coefficient for flow past a Cylinder o_mars_2010 Main CFD Forum 0 April 18, 2013 07:17
How to calculate the drag coefficient for flow past cylinder o_mars_2010 Tecplot 0 April 18, 2013 02:26
Causes for Drag over prediction in 2D flow josip76 FLUENT 1 September 20, 2011 10:18
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02
Drag Coefficient of Flow across a Circular Cylinde Zhihua Li FLUENT 3 April 20, 2004 02:01


All times are GMT -4. The time now is 07:56.