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

large number of iteration within time step

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Ahmed Khattab

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2017, 16:37
Default large number of iteration within time step
  #1
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Dear Foamers,

i am working with porousSimpleFoam, in my case solver is taking about 32 iterations in one time step to solve velocity, but about 300 iterations to solve pressure. the time of one time step is about 130 seconds. the solver reaches steady state after 13,000 steps, so it takes too long time on my machine.

my question is: is there is any thing i can do to decrease number of iterations per time step and overall time steps. in other words, is this high number of iterations and steps because of my case physics, or may i have something wrong?

thanks in advance,
Ahmed Khattab is offline   Reply With Quote

Old   October 23, 2017, 03:44
Default
  #2
New Member
 
Karl Lindqvist
Join Date: Jul 2012
Posts: 21
Rep Power: 14
karlli is on a distinguished road
Hi Ahmed,
Did you try the solution suggested in your earlier post (relaxing your relative convergence tolerances)?

I would also suggest using PBiCGStab as the solver for U, it is quite a bit faster than GaussSeidel, at least on my system.

Regards,
Karl
karlli is offline   Reply With Quote

Old   October 23, 2017, 12:07
Default high aspecct ratio of cell dimensions
  #3
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Hi All,

i have got a clue for my problem, although my mesh has no problems with orthogonality or skewness, there is a high aspect ratio between cell dimensions. that length of cell boundary in x and y direction was much greater that is in z direction.

running same solver on a finer mesh but with cells that has same length in all direction showed much faster convergence rate.

thanks,
ranjith.ase likes this.
Ahmed Khattab is offline   Reply With Quote

Reply

Tags
iteration, long time, poroussimplefoam, time step


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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 07:56
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50


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