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

What is the best "way" to get vortex shedding ?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2009, 16:25
Default What is the best "way" to get vortex shedding ?
  #1
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hi,

I am super stuck with my problem for a while now and I am running out of ideas.

Here is what I am doing:

I have 3D cases: sphere (D=1m and 2m) in a rectangular domain.

I am able to reproduce the drag coefficients for Re 50, 100, 150 and 200 using icoFoam.

So the tricky part is now, that for Re greater than 250 the flowfield should become asymmetric and for Re greater 300 there should be vortex shedding.

Yeah - you guessed it - that's not happening. The flow stays symmetric and no vortex shedding occurs (ever ).

I tried asymmetric initialization of the domain different Re. (up to 500) nothing happens.

I am open for any Ideas. One of my meshes is a snappyHexMesh - so if someone wants to play with the case I could easily zip my case and send it to you.

On the other hand if someone has a working sphere case with vortex shedding I would love to take a look at it maybe I can borrow some ideas.

If you want more Information on the case - I would be happy to post everything you need.

Thank you

- harly
harly is offline   Reply With Quote

Old   March 27, 2009, 16:54
Default
  #2
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
I have a question about the use of terminology:

Doesn't the onset of asymmetry in the velocity field downstream of the sphere beyond a critical Re imply that the flow field is unsteady and that vortex shedding has begun? Or is there a range of Reynolds numbers after the critical Re for which there is no vortex shedding as harly puts it.
msrinath80 is offline   Reply With Quote

Old   March 27, 2009, 17:14
Default my reference
  #3
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hi,

so from what I am understanding - it seems there are in fact (at least) 3 different "areas".

A symmetric in the region up to Re 200

An asymmetric in the region 200 < Re < 250 in which there is supposed to be a asymmetric field distribution but no shedding - which results in constant Drag and lift coefficients (lift not zero).

A shedding domain at Re > 300

So my reference on this is T.A. Johnson and V. C. Patel

"Flow past a sphere up to a Reynolds number of 300"

yours,
Daniel

P.S. If you want I can send you my reference paper.
harly is offline   Reply With Quote

Old   March 27, 2009, 18:10
Default
  #4
Member
 
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 89
Rep Power: 17
juho is on a distinguished road
A year or so ago I did some vortex shedding simulations with a flat plate.

My experience was that with a poor tetrahedral mesh the vortex shedding started on its own. With a perfectly symmetrical hexahedral mesh this didn't happen.

I kickstarted the shedding by giving a small wall normal velocity component on the top boundary of the channel for a couple of timesteps. ie turning the top boundary temporarely into an inlet. After this kickstart the shedding continued indefinately.
juho is offline   Reply With Quote

Old   March 27, 2009, 18:46
Default
  #5
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hey,

thanx for the input - maybe I will give your method a shot. Right now I try to kickstart it with initializing the Field lets say with 0.305 for +y and 0.295 for -y while having an inlet speed of 0.3 (which by the way works like a charm in 2D but somehow it is not working for my 3D{I have to add, that the 2D case is a Re 20000 of a square cylinder computed with turbFoam - which means constant timesteps}).

For your Idea with the mesh - I had the exact same idea and therefore I've created my snappyHexMesh - which is far away form being symmetric in any direction - my hexahedrical mesh was created in Gambit.

Both meshs refuse to work, though.

-harly

One question, was the plate 3D or 2D - if it was 3D I would love to see your fvScheme File as well as your init files for U,p,... - of course only if you have the files by your hand if not don't worry - somehow I can't imagine, that there is a mistake in my files that would prevent vortex shedding ...
harly is offline   Reply With Quote

Old   March 27, 2009, 19:05
Default
  #6
Member
 
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 89
Rep Power: 17
juho is on a distinguished road
First a 2D case and then a 3D with oodles. This was a closed channel with the plate not quite touching the sides of the channel. So really a 3D geometry.The 2D definately needed the kickstart, but I can't remember what was the case with the 3D.

Unfortunately I no longer have the case files but I don't think there was anything remarkable in them. I believe you should get vortices with the default settings in icoFoam.
juho is offline   Reply With Quote

Old   March 27, 2009, 19:14
Default
  #7
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hey,

Yeah I would have thought so too, but I just don't get it to work - if someone has the time and the motivation to give it a try I would be more than happy to send you my case. Meanwhile I have the following two ideas running:

Calculated a Sphere with Re = 300 with icoFoam until it is 3/4 to convergence than I switched to turbFoam without the turbulencemodels(only for the timestep).

Additional to that I am running a version with a really "big" kickstart and will see how that goes.

I am really desperate right now - I am working for over two months on this problem now ....

-harly
harly is offline   Reply With Quote

Old   March 28, 2009, 05:31
Default
  #8
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi Daniel,

How do your fvSchemes and fvSolution files look like?

If you want, you can post your case here in the forum, and I may give it a try.

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   March 28, 2009, 15:04
Default link to my case
  #9
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hi,

here is the link to my case with the variables set to Re = 300 (but feel free to doublecheck):

http://harly.de.vu/www/spherecase.zip

-harly
harly is offline   Reply With Quote

Old   March 28, 2009, 15:12
Default Used fvSchemes and fvSolution files
  #10
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hi - here are the config files I am using:

FoamFile
{
class dictionary;
object fvSchemes;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
default CrankNicholson 0.5;
}

gradSchemes
{
default fourth;
grad(p) fourth;

//snGradCorr(cellMotionU) Gauss linear;
}

divSchemes
{
default none;
div(phi,U) Gauss limitedLinear 1.0 phi;
}

laplacianSchemes
{
default none;
laplacian(nu,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;

laplacian(diffusivity,cellMotionU) Gauss linear corrected;
}

interpolationSchemes
{
default linear;
interpolate(HbyA) linear corrected;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p;
}


// ************************************************** ******* //


FoamFile
{
class dictionary;
object fvSolution;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p PCG
{
preconditioner DIC;
tolerance 1e-07;
relTol 0;
};

U PBiCG
{
preconditioner DILU;
tolerance 1e-06;
relTol 0;
};
}
PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
}
// ************************************************** *********//

-harly
harly is offline   Reply With Quote

Old   March 29, 2009, 03:29
Default
  #11
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hi,

did you try with the linear scheme for the divergence term and backward as time scheme? This would ensure second order accuracy.

Regards,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   March 29, 2009, 04:17
Default
  #12
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hi,

so far I only tried the linear with the CrankNicholson(not backward) - but - isn't that second order too ?

Do you think that would help with the shedding ?

I can give it a try as soon as one of my clients frees up.

-harly
harly is offline   Reply With Quote

Old   March 29, 2009, 13:08
Default
  #13
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hi Harly,
I asked because your fvScheme contains CrankNicholson 0.5, while the pure CrankNicholson scheme should be specified with "1", to give second order accuracy (see user's manual, p.U-112).
In my experience backward gives better results in LES for examples, that's why I suggested it. However you should see the shedding also with CranckNicholson.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   March 30, 2009, 16:29
Default
  #14
Member
 
Cem Albukrek
Join Date: Mar 2009
Posts: 52
Rep Power: 17
albcem is on a distinguished road
Are you getting a very elongated attached wake with time?

Using a second order scheme to trigger shedding does not seem to be the most direct and may be effective way to obtain results. What triggers shedding is the asymmetry due to perturbations from the outside environment or imperfect geometry in real life and numerical inaccuracies in CFD. However, for coarse grids one may be dissipating the small numerical errors/asymmetries, so refining the mesh might help in these cases. If you are going this track, also rotate the mesh geometry by a very small angle to make sure it is no longer symmetric about center plane lined up with the free stream. I think the easiest way to start is to perturb the instability aggressively by introducing an error in a variable like u or p and keep patient. I had a similar situation with my PhD code for flow over cylinder and this approach worked. I think someone above suggested this and I stand behind it. You say you switched to a turbulent solver but with turbulence switched off? What use is this, I could not sense?

Cem

Last edited by albcem; March 30, 2009 at 17:02.
albcem is offline   Reply With Quote

Old   March 30, 2009, 20:55
Default
  #15
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

I am not able to download your file.

Regards,
Jose Santos

Quote:
Originally Posted by harly View Post
Hi,

here is the link to my case with the variables set to Re = 300 (but feel free to doublecheck):

http://harly.de.vu/www/spherecase.zip

-harly
santos is offline   Reply With Quote

Old   March 31, 2009, 03:25
Default
  #16
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by albcem View Post
However, for coarse grids one may be dissipating the small numerical errors/asymmetries, so refining the mesh might help in these cases.
That's exactly the point of using more accurate schemes too: reducing numerical dissipation.

Quote:
If you are going this track, also rotate the mesh geometry by a very small angle to make sure it is no longer symmetric about center plane lined up with the free stream.
Do you mean introducing "non-orthogonality" in the direction of the flow? This should not be necessary to have the formation of the structures. Anyway, with a sphere inside the domain, you do not have a perfectly symmetric and orthogonal mesh anyway around the obstacle.

Btw, did you see Frank Bos work on the flow around a cylinder? It is discussed here

http://www.cfd-online.com/Forums/ope...-re-3d150.html

and his case files can be downloaded from his website here

http://www.aero.lr.tudelft.nl/~frank/index.php?id=downloads/files

Regards,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   March 31, 2009, 14:12
Default
  #17
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
@santos

I am sorry about the link, but it works for me if you could send me an email to openfoam.messageboard at gmail.com - I will reply to you and attach my case.


@all

Thanks for the suggestions - in fact I saw the work Frank Bos did with cylinders and I will have a closer look at it now, because I started a 2D case of a circular cylinder and again was not able to obtain vortex shedding. I will report back as soon one of my cases gives me any usable result. But for now the 2D square cylinder is the only one which gives me vortex shedding.

Oh and I checked the snappyHexMesh version of my mesh is not even symmetric to the symmetry planes - so it should be the perfect mesh ...

-harly
harly is offline   Reply With Quote

Old   April 1, 2009, 08:37
Default
  #18
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi Daniel,

I had a look at your case, and I think your mesh is not fine enough in the region around the sphere. The critical region may be the wake downstream the sphere.

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   April 1, 2009, 18:05
Default
  #19
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Thx for checking my case, so you think the problem is in the mesh? - I will create a finer mesh and will report back before I let it run. Do you have any suggestions regarding the schemes and solver I use ? Once the Calculation is running it will probably take 5 days depending on how much bigger the mesh gets.

-harly
harly is offline   Reply With Quote

Old   April 1, 2009, 18:29
Default
  #20
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
@albcem:

I am very sorry somehow I overread your first post. Can you explain to me how you would preturbate the flow ? And to your question of the turbulence model switched off - generated a question below.

@all

So from what I gathered:

- a switch to complete 2nd order aka backward in time and Gauss linear in space

- a refinement of the mesh

- preturbation of flow

could do the trick, right ?

Which solver would you use ? - so far I was using icoFoam, because I was under the impression I don't need a turbulence model like for the 2D case Frank Bos presents. That explains also, why I used turbulence model switched off in turbFoam. - But maybe that could be the mistake?
-harly
harly is offline   Reply With Quote

Reply

Tags
laminar, sphere, vortex shedding

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
K-Epsilon for Vortex Shedding Sham FLUENT 33 March 29, 2017 06:48
how can I determine the vortex shedding time step Zhe Liu CFX 3 July 30, 2008 18:16
Vortex shedding? rbel038 CFX 4 April 27, 2008 20:57
Vortex shedding behind cylider in cross flow Muthu FLUENT 0 March 6, 2006 11:29
basic vortex shedding john Main CFD Forum 4 November 6, 2000 14:23


All times are GMT -4. The time now is 06:55.