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

how to accurately simulate flow around cylinder

Register Blogs Community New Posts Updated Threads Search

Like Tree16Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2014, 08:28
Default
  #61
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
Dear Alexey,

I tried many changes in the attached folder, but the figures of velocity, drag and lift don't look like for laminar flow. I followed the information about velocity, drag and lift coefficients given in

http://onlinelibrary.wiley.com/doi/10.1002/fld.1683/pdf

Any idea please?

Many thanks in advanced.
Maimouna is offline   Reply With Quote

Old   March 11, 2014, 10:41
Default
  #62
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Well,

1. You've shown wrong geometry in the PDF you've attached. Maybe it's not so important..

2. Cdrag is more or less the same as in paper. The sign is opposite due to error in dragAxis settings. Clift and vertical velocity component are also more or less the same. See attached figures. Even though I've run the simulation with Re=200.
Attached Images
File Type: png 1-3.png (28.1 KB, 57 views)
File Type: png 1-3-130-150.png (33.5 KB, 42 views)
File Type: png 1-5.png (30.3 KB, 34 views)
File Type: png 1-5-130-150.png (27.3 KB, 24 views)
File Type: png 1-6.png (30.5 KB, 21 views)
alexeym is offline   Reply With Quote

Old   March 11, 2014, 10:50
Default
  #63
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
Dear Alexey,

could you check my mistakes in the attached file please. Why I did't get the figures you shown?

Yours it seems me are absolutely right.
Attached Files
File Type: gz circularCylinderNew.tar.gz (4.7 KB, 18 views)
Maimouna is offline   Reply With Quote

Old   March 11, 2014, 10:57
Default
  #64
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Cause you're running the case for Re = 1000.
alexeym is offline   Reply With Quote

Old   March 11, 2014, 11:03
Default
  #65
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
No I'm running for Re = 100.
Maimouna is offline   Reply With Quote

Old   March 11, 2014, 11:14
Default
  #66
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
OK, you're running the case for Re = 100 (if you'd like to think so, why not). Though I still wonder why you think that you're running the case for Re = 100.

Then I guess, the problem is in your OpenFOAM installation. Or maybe in the hardware, you're using. So to get the same plots, you just need to change hardware, reinstall OpenFOAM. And surely after everything will be OK.

Dixi.
alexeym is offline   Reply With Quote

Old   March 11, 2014, 11:26
Default
  #67
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
Dear Alexey,

many thanks. I will reinstall OpenFOAM. I just have couple of inquiries please
1. could you please go through my previous folder that sent in post number 36 to check if everything is ok or not?

2. What do cm, cl(f), and cl(r) refer to in forceCoeffs.dat?

Regards
Maimouna is offline   Reply With Quote

Old   March 11, 2014, 11:50
Default
  #68
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
In fact it was sarcasm about re-installation of OpenFOAM cause I just wonder why you don't want just to calculate U*D/Nu.

I've already posted source file names where forceCoeffs are calculated, you should check them yourself.

EDIT: And also for some reason you've got center of rotation set wrong.
alexeym is offline   Reply With Quote

Old   March 11, 2014, 11:55
Default
  #69
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
Dear Alexey,

many thanks for your help.
Maimouna is offline   Reply With Quote

Old   March 12, 2014, 02:15
Default
  #70
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
Dear Alexey,

I reinstalled OpenFOAM in different machine, unfortunately, nothing changed. I'm still confused. I got the same results for velocity, lift and drag coefficients. Could you please help me to get the mistakes in the last attached folder?

Many thanks for your help.
Maimouna is offline   Reply With Quote

Old   March 12, 2014, 04:41
Default
  #71
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Quote:
Originally Posted by Maimouna View Post
I reinstalled OpenFOAM in different machine, unfortunately, nothing changed. I'm still confused. I got the same results for velocity, lift and drag coefficients. Could you please help me to get the mistakes in the last attached folder?
That was easy part. But well, at least you've excluded possible software and hardware problems

Now, the part that is not so easy:

1. How do you calculate Reynolds number?
2. Where is the center of your cylinder? (As the cylinder is the thing that is rotated by the flow, CofR is used to calculate moments (http://en.wikipedia.org/wiki/Pitching_moment))
3. If you change location of CofR to (VERY-LARGE-NUMBER, VERY-LARGE-NUMBER, 0), what will happen with your forceCoeffs.dat?

Try rereading the article to see if initial and boundary conditions you're using in simulation is the same as the ones authors used (hint: as you're initial statement of the problem actually differs from the description in the article, they should be slightly modified).

Start with physics and mathematics, not with software and its settings.
alexeym is offline   Reply With Quote

Old   March 14, 2014, 09:00
Default
  #72
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
Dear Alexey,

I tried many ways to get the results for drag and lift coefficients that you got. But I still confused about the result that I got. It was totally different than yours.

To calculate Reynolds number, I fixed u = 1, D = 1, and changed nu = 0.001.

For CofR, lRef, and Aref I put
CofR = (4.5 4.5 0) which is the center of the cylinder
lRef = 1.0 which is the diameter length
Aref = 1.0 which is the area D*D

Also,
rhoInf = 1000
liftDir (0 1 0)
dragDir (1 0 0)
pitchAxes (0 0 1)

Whats the mistake please?
Maimouna is offline   Reply With Quote

Old   March 14, 2014, 09:11
Default
  #73
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Maybe, I'm completely wrong, but I thought that Re = U*D/nu, the U is freestream velocity, D, for the case of vortex street, is diameter of the cylinder, nu is fluid kinematic viscosity. So, if we take your values, Re will be 1000, not 100.
alexeym is offline   Reply With Quote

Old   March 14, 2014, 09:19
Default
  #74
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
Sorry nu = 0.01 not 0.001.

What do you think I have to change? Any idea please.
Maimouna is offline   Reply With Quote

Old   March 14, 2014, 09:22
Default
  #75
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
I don't know, post your case files again. Cause last time I've checked them, nu was 1000, CofR was in some strange place.
alexeym is offline   Reply With Quote

Old   March 14, 2014, 09:41
Default
  #76
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
I attached, look at it please.

Many thanks in advanced
Attached Files
File Type: gz circularCylinderNew.tar.gz (4.8 KB, 15 views)
Maimouna is offline   Reply With Quote

Old   March 14, 2014, 09:50
Default
  #77
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
And plots of your results, please.

Also if you really want...
1. to have BCs like in the article you've posted link to, you should change BC on the walls from fixedValue to slip.
2. to have a mesh like in the article, you should introduce mesh grading towards the center-line of the channel.

Though these changes will just slightly change the results.
alexeym is offline   Reply With Quote

Old   March 14, 2014, 09:56
Default
  #78
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
I posted the result that I got.

I will try another some changes now to see the progress.

I'll keep you in touch.
Attached Images
File Type: jpg Drag_Today.jpg (92.1 KB, 32 views)
File Type: jpg Lift_Today.jpg (95.1 KB, 20 views)
File Type: jpg Velocity-Today.jpg (95.0 KB, 8 views)
Maimouna is offline   Reply With Quote

Old   March 14, 2014, 10:12
Default
  #79
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Oh, I've missed it. Why you've decided that CofR if (4.5 4.5 0)? Center of cylinder is (4.5 0 0).
alexeym is offline   Reply With Quote

Old   March 14, 2014, 10:24
Default
  #80
Senior Member
 
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13
Maimouna is on a distinguished road
Yaaah, ok. I changed CofR to (4.5 0 0) and walls to slip in 0/U and 0/p.

It's running now. I'm going to inform you about the results.
tareqkh likes this.
Maimouna 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
[Other] OpenFoam Flow over a Circular Cylinder WolfgangS. OpenFOAM Meshing & Mesh Conversion 12 March 3, 2014 10:53
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 11:47
Particle deposition on circular cylinder in turbulent flow Julian K. CFX 1 October 3, 2011 17:51
flow around a cylinder pXYZ Main CFD Forum 14 July 25, 2011 10:05
Flow induced vibration of a mobile cylinder Hooman Main CFD Forum 0 December 31, 2010 08:48


All times are GMT -4. The time now is 18:39.