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

openFoam simpleFoam slowdown

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2013, 19:10
Default openFoam simpleFoam slowdown
  #1
Member
 
Davide
Join Date: Dec 2012
Posts: 33
Rep Power: 14
Davide_sd is on a distinguished road
Hi all,

i'm doing a simulation with simpleFoam. The turbulence model is k-omega SST.
After 11k iteration, the iterative process slowdown... For instance, before iteration 11k the pc was able to do 1000 iters/min. After 11k iterations, there was at most 20 iters/min.

You can see a plot of the residuals in the attachment.
In the attachment there is also the fvScheme and fvSolution...

What did i do wrong?
Attached Images
File Type: png linear.png (5.2 KB, 22 views)
Attached Files
File Type: gz system.tar.gz (991 Bytes, 4 views)
Davide_sd is offline   Reply With Quote

Old   September 19, 2013, 09:43
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi Davide,

May I ask what is the problem/geometry that you are simulating and if you could show any results that you got?

The sudden drop in the residuals seems a little weird. Is your case an extremely simple model or something?

Regards,

Antimony
Antimony is offline   Reply With Quote

Old   September 19, 2013, 10:13
Default
  #3
Member
 
Davide
Join Date: Dec 2012
Posts: 33
Rep Power: 14
Davide_sd is on a distinguished road
Hi Antimony, thank you for your reply...

i'm simulating a hill.
Mesh lenght: 1.65m
Mesh height: 0.24m
Hill height: 0.06m

The flow is water.

The mesh is essentialy identical to the one i've used in Fluent (i'm doing a comparison: openFoam vs Fluent).
First node height: 0.55e-3 m
50 cells in vertical direction, 336 cells in the horizontal direction.

About 3 hours later of the start of the slowdown, i've stopped the simulation (you can see the residuals plot in the attachment).

I've posted a line-plot where it is supposed to be the recircuation region, and actually OF is able to catch the recirculation... I need to compare the simulation result with the experimental data.

If you need to check the case, i can do an upload.

To run the simulation, i have used the following commands:
pyFoamDecompose.py . 4
pyFoamPlotRunner.py --autosense-parallel --progress --hardcopy simpleFoam
Attached Images
File Type: jpg hill.jpg (18.9 KB, 15 views)
File Type: jpg line-975.jpg (19.7 KB, 8 views)
File Type: png linear.png (5.5 KB, 15 views)
Davide_sd is offline   Reply With Quote

Old   September 19, 2013, 13:27
Default
  #4
Member
 
Davide
Join Date: Dec 2012
Posts: 33
Rep Power: 14
Davide_sd is on a distinguished road
i've compared the results with fluent results: the velocities are almost identical (i still have to compare the turbulent kinetic energy).
still i need to figure it out what is cause of the slowdown...
Davide_sd is offline   Reply With Quote

Old   September 20, 2013, 07:43
Default
  #5
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

From what you have posted, it seems like your solution has pretty much converged, especially after 12000 iterations (The residual you get seems to be in the range of machine error of 1e-14) Any particular reason you are interested in the speed of the iterations? How many iterations are you planning to run it till? Since you have stated that you are using simpleFoam, which is a steady state solver, I would think that your simulation is basically done and you would just need to postprocess the result.

Regards,

Antimony
Antimony is offline   Reply With Quote

Old   September 20, 2013, 08:26
Default
  #6
Member
 
Davide
Join Date: Dec 2012
Posts: 33
Rep Power: 14
Davide_sd is on a distinguished road
of course my simulation is done, but the problem remain unsolved:

10 minutes to do the first 10500 iterations + 1 hour to do the other 1500 iterations = 70 minutes simulation time to do 12000 iterations...

don't get me wrong, i'm happy with the results, but if i can't understand the reason of the slowdown, probably i'll never switch to OF.... time = money, to me.
Davide_sd is offline   Reply With Quote

Reply

Tags
simplefoam slowdown


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
Same SimpleFOAM Case converges with openFOAM 2.1 but diverges with openFOAM 2.0.1 alsdia OpenFOAM Running, Solving & CFD 3 October 22, 2012 12:25
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 06:51
How to solve in simpleFoam with a volumesourceterm implicity booz OpenFOAM Running, Solving & CFD 3 March 12, 2009 04:17
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 14:14
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 08:14


All times are GMT -4. The time now is 17:13.