|
[Sponsors] |
Simple simulation not converging :( please help! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 1, 2012, 19:19 |
Simple simulation not converging :( please help!
|
#1 |
New Member
James
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Hi everyone
I have done a simple simulation of a cylinder in laminar flow with Re 120, but the residuals are determined not to converge! Could one of you please take a quick look at my file, and see if there is anything that I have done wrong? Thank you!! http://www.mediafire.com/?cx224c1bbb1mwn2 |
|
March 1, 2012, 19:44 |
|
#2 |
New Member
James
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Also, the values obtained for lift co-efficient are incorrect, can anyone see what I have done wrong using the report?
thanks |
|
March 1, 2012, 21:40 |
|
#3 |
Senior Member
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 118
Rep Power: 16 |
Hi, I'm using Star-CCM+ V5, so I can't open your file.
Maybe your mesh is not fine enough? Are you simulating half cylinder (forcing it to steady) or full cylinder? Anyway at Re = 120, vortex shedding has appeared, so you might want to run it unsteady and then compare your result. |
|
March 1, 2012, 22:39 |
|
#4 |
New Member
James
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Hi Lava, I think my mesh is quite fine... When I have access to my simulation tomorrow morning I will get a screenshot/some mesh values.
What do you mean by simulating half cylinder or full cylinder? I have tried running both as just steady state, unsteady state, and started at steady state then changed the model later to unsteady, they all ended up with values around 0.1 to 0.001 on the residual graph. I will get screenshots for each simulation tomorrow! You are correct that I am getting vortex shedding, and at the correct frequency according to strouhals number, but my residuals and force coeffients are incorrect unfortunately |
|
March 2, 2012, 15:14 |
|
#5 |
New Member
ali
Join Date: Feb 2012
Location: tehran.iran
Posts: 5
Rep Power: 14 |
Hi dear friend. i can't open your file. but i can give you my mesh file please give me your E_MAIL to send u the file
|
|
March 2, 2012, 16:00 |
|
#6 | |
New Member
James
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Quote:
|
||
March 2, 2012, 20:19 |
|
#7 |
New Member
Thomas Ziegenhein
Join Date: Feb 2012
Posts: 8
Rep Power: 14 |
Dear James,
I checked your sim.-File. Some things are not so correct :-) :
I calculate it unsteady with SST (with your mesh), my cw-value is about 1.2 ( corresponding to the wiki-value ). Hope I can help you. Good Luck Thomas |
|
March 3, 2012, 11:40 |
|
#8 | |
New Member
James
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Quote:
I am currently re-running the simulation making changes from your suggestions:
I have a few questions though... The sources I have looked at define the flow at Reynolds numbers of ~250 and below as laminar flow, however you suggested using turbulence? Is it just accepted that when vortex shedding is involved, it is better to use a turbulence model? Why is it best to use a symmetry plane for the top and bottom planes? Also, the next step of my simulations is to run a 3D model of a finite cylinder, do you think it would be best again to use symmetry planes for the walls of the model in that case? My residuals look great so far, however, the simulation is taking a veeery long time to run. I am using 155 iterations per 0.2s time step, at this level the residuals reach around 1E-4 to 1E-7. Obviously I could reduce the mesh size, but this may sabotage my results! On the other hand, I could decrease the iterations per step... but then my residuals wouldn't converge. I am just concerned of how long this will take to simulate when using a 3D model! Many thanks for all your suggestions, you've been a massive help! And I really appreciate it |
||
March 3, 2012, 13:26 |
|
#9 |
New Member
Thomas Ziegenhein
Join Date: Feb 2012
Posts: 8
Rep Power: 14 |
Hey James,
Good to hear that your simulation runs now. Now you have to go to detail. Your plan, first to simulate it simplified in 2D and then 3D is good. To your questions: -360 prism layers are not necessary I think. Look up how thick is your boundary layer, this should be your orientation for the prism layer thickness. - k-epsilon is perhaps not the best choice for turbulence like this, the k-omega-SST (from Menter) is good for such cases (important wall effects with vortex shedding). Also the k-epsilon two layer model is suitable -symmetry planes do this what you want, at the boundaries is the normal derivation zero. If you use outlets this may cause numerical troubles at the edges (Outlet 90 degree at Outlet). This may end up in a not converged simulation, or the residuals are at a high level. -Use more than one block shape to resolve the separation points from the wall. -I think your source defined the spec. length for Re with radius, I used the diameter ( 250 ~= 130 *2). If this is laminar or not is an interesting question, depending how you define laminar. I understand laminar as a flow status, were the streamlines are always parallel and the streamlines don’t interact through convection. When you have such vortex shedding, I would say it is turbulent. All in all you are at a critical point, therefore I would activate the turb. model. But try it laminar and turbulent, and see what happens :-) - 155 steps per 0.2s is too much. Take a courant number between 1-5 (if you know what you do, a max. courant number of 100 should work in some applications too) and around 10 inner iterations per time step. The flow around the cylinder needs around 10s to running in (avg. in time is constant), in this time you get high residuals. So don’t be afraid when you get high residuals at the beginning, they should decrease. Greetings Thomas |
|
March 3, 2012, 17:32 |
|
#10 |
New Member
James
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Hi Thomas
I honestly cannot thank you enough! My simulation is running perfectly, there is hope for me yet If I have any other questions, would you be okay helping me in the future? Again, thank you so much, you have been incredibly helpful, I don't know how to repay you! |
|
March 4, 2012, 05:11 |
|
#11 |
New Member
Thomas Ziegenhein
Join Date: Feb 2012
Posts: 8
Rep Power: 14 |
hey james,
you did all the work, I only noticed the main problems, so thank yourself :-). Sure you can, just post further questions here or under another topic. I think other members can help also, and perhaps other members are also interested in our discussion. And perhaps a hint for the future: If u are not sure about something (like if it's turb. or laminar, or a new feature), go back to the 2D case, try it out and validate it with exp. results. That's my way and the way I tell students to do, and it work's quite well :-). Good luck for your further simulation Thomas |
|
March 6, 2012, 11:45 |
|
#12 |
New Member
James
Join Date: Feb 2012
Posts: 11
Rep Power: 14 |
Hi again! I am trying to look at the effect that the free end of the cylinder has on the vortex shedding... Before now, I have used the force lift co-efficient monitor (on the cylinder), looked at the timestep, and taken the time period. But I saw in the user guide that the data set function can be used to get the strouhal number? This would be very useful, but it does not actually give any proper instructions how to use the function...
I have set the function as a fourier transform, and frequency function as Strouhal number, however, I do not know what to do from here? Or where/how the data is inputted/outputted? Sorry for more questions James |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
blasius flow simulation using SIMPLE method | sizyef | Main CFD Forum | 1 | December 18, 2011 11:49 |
(chtMultiRegionFoam) reducing gravity increase the simulation time ! | openfoam1 | OpenFOAM | 7 | March 10, 2010 10:41 |
Non converging simulation | ghost | FLUENT | 6 | January 5, 2010 11:00 |
Replacing mesh while running a simulation | akultane | CFX | 1 | November 15, 2009 14:46 |
transient simulation: natural convection problem? | Basics | CFX | 3 | September 25, 2002 10:42 |