CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to improve convergence in Fleunt?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2023, 19:32
Default How to improve convergence in Fleunt?
  #1
New Member
 
Peyman
Join Date: Jul 2021
Posts: 12
Rep Power: 5
p.norouzi.gv is on a distinguished road
Hi all.


I am doing a simulation for clot formation and I developed 28 UDS. I have to simulate it for 60 minutes. The biggest time step that I can have is 10^-5s. I am using parallel simulation with 2 cores. (In this situation, the simulation will take a couple of months) When I increase the cores there is no effect on simulation speed. I would appreciate it if any of you could give any advice on how I can increase the speed of my simulation.
I already tried to decrease the under-relaxation factor (0.3, 0.5,08) and decreased element number, but they didn't have any effect
p.norouzi.gv is offline   Reply With Quote

Old   February 20, 2023, 03:08
Default
  #2
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,291
Rep Power: 35
arjun will become famous soon enougharjun will become famous soon enough
"I have to simulate it for 60 minutes. The biggest time step that I can have is 10^-5s."

You did not mention anything about the models involved and what is restricting this time-step.


If you are open to other softwares then you can try wildkatze. I am sure it could go much faster there (or made to go faster ). (I develop wildkatze so i know what is possible there).

(60 minutes it still high but usually you can get away with much larger timesteps in wildkatze).
arjun is offline   Reply With Quote

Old   February 22, 2023, 04:19
Default
  #3
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 540
Rep Power: 20
JBeilke is on a distinguished road
The recommended strategy is to increase the relaxation factors and reduce the number of inner iterations.
JBeilke is offline   Reply With Quote

Old   February 22, 2023, 07:04
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Quote:
Originally Posted by p.norouzi.gv View Post
Hi all.
take a couple of months) When I increase the cores there is no effect on simulation speed.

Your parallellization is not working correct it seems. If you are using user defined functions, make sure they are properly parallellized. Also check with a simple (but large) test case that parallelization is working correctly.
bigfootedrockmidget is offline   Reply With Quote

Old   February 22, 2023, 12:18
Default
  #5
New Member
 
Peyman
Join Date: Jul 2021
Posts: 12
Rep Power: 5
p.norouzi.gv is on a distinguished road
Quote:
Originally Posted by JBeilke View Post
The recommended strategy is to increase the relaxation factors and reduce the number of inner iterations.
Thanks for your response. I tried it and no effects !
p.norouzi.gv is offline   Reply With Quote

Old   February 22, 2023, 12:23
Default
  #6
New Member
 
Peyman
Join Date: Jul 2021
Posts: 12
Rep Power: 5
p.norouzi.gv is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Your parallellization is not working correct it seems. If you are using user defined functions, make sure they are properly parallellized. Also check with a simple (but large) test case that parallelization is working correctly.
While using 2 core the process is faster in compare with 1 core. But after increasing to higher cores there is no effect. It seems that parallelization I correct. I have a small geometry with 50k messh element. And it is very wired that why convergence is not good . Do you have any idea ?
p.norouzi.gv is offline   Reply With Quote

Old   February 22, 2023, 18:50
Default
  #7
Senior Member
 
Join Date: Oct 2011
Posts: 242
Rep Power: 17
naffrancois is on a distinguished road
Quote:
Originally Posted by p.norouzi.gv View Post
While using 2 core the process is faster in compare with 1 core. But after increasing to higher cores there is no effect. It seems that parallelization I correct. I have a small geometry with 50k messh element. And it is very wired that why convergence is not good . Do you have any idea ?
This is weird. How many cores do you have in your machine ? How many cores do your licence allow ? With a 50k elements mesh, you should see an improvement in speed when increasing core count, given your machine has more than 2 cores...
naffrancois is offline   Reply With Quote

Old   February 24, 2023, 14:40
Default
  #8
New Member
 
Peyman
Join Date: Jul 2021
Posts: 12
Rep Power: 5
p.norouzi.gv is on a distinguished road
Quote:
Originally Posted by naffrancois View Post
This is weird. How many cores do you have in your machine ? How many cores do your licence allow ? With a 50k elements mesh, you should see an improvement in speed when increasing core count, given your machine has more than 2 cores...
I am not sure about the number of cores which my license allows, I am using student version. but I can increase the cores up to 32 on my system. I am trying to simulate it on my Laptop which has a high speed RAM, the speed of simulation is very high in compare with PC.
I am solving 29 equation which are coupled with each there. It seems that the RAM is effect the speed. what do you think?
p.norouzi.gv is offline   Reply With Quote

Old   February 28, 2023, 05:44
Default
  #9
Senior Member
 
Hamid Zoka
Join Date: Nov 2009
Posts: 293
Rep Power: 19
Hamidzoka is on a distinguished road
Quote:
Originally Posted by p.norouzi.gv View Post
Hi all.


I am doing a simulation for clot formation and I developed 28 UDS. I have to simulate it for 60 minutes. The biggest time step that I can have is 10^-5s. I am using parallel simulation with 2 cores. (In this situation, the simulation will take a couple of months) When I increase the cores there is no effect on simulation speed. I would appreciate it if any of you could give any advice on how I can increase the speed of my simulation.
I already tried to decrease the under-relaxation factor (0.3, 0.5,08) and decreased element number, but they didn't have any effect
Hi,
Solution algorithm has an impact on convergence speed.
E.g. coupled algorithm takes more CPU time compared with SIMPLE.

best
Hamidzoka is offline   Reply With Quote

Old   March 3, 2023, 20:44
Default
  #10
New Member
 
Peyman
Join Date: Jul 2021
Posts: 12
Rep Power: 5
p.norouzi.gv is on a distinguished road
Quote:
Originally Posted by JBeilke View Post
The recommended strategy is to increase the relaxation factors and reduce the number of inner iterations.
Thanks for your suggestion, but I already changed the under relaxation between 0.2 and 1 and there was no effect.
p.norouzi.gv is offline   Reply With Quote

Reply

Tags
convergence failure


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
How to determine the convergence of solutions cfx_ws1992 CFX 6 November 9, 2017 17:12
Improve simpleFoam convergence Daniele111 OpenFOAM Running, Solving & CFD 43 November 6, 2010 12:50
Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 02:17
Problems with convergence with an easy system franzdrs Main CFD Forum 0 June 15, 2009 19:17
increasing mesh quality is leading to poor convergence tippo CFX 2 May 5, 2009 11:55


All times are GMT -4. The time now is 23:36.