|
[Sponsors] |
May 28, 2015, 09:20 |
CPU-time and routines
|
#1 |
New Member
Join Date: Apr 2015
Posts: 16
Rep Power: 11 |
Hi,
I use fortran routine in CFX but Does a calculation using routines is longer than a calculation without routine (in terms of CPU-time) ? If yes, which statements consume time ? Thanks |
|
May 28, 2015, 09:48 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32 |
Not sure what your concern is. The software package is a collection of hundreds/thousands of routines/functions; therefore, it should be no different.
Now, if you add your own routine/function to customize something it should be nearly the same time unless your algorithm is either better (less time), or worse (a lot more time) than the internal algorithm. Summary: if you use your own, you may be partially to blame for slow down, or congratulate if it speeds up. Otherwise, it is the provider to blame for lack of performance. |
|
May 28, 2015, 10:25 |
|
#3 |
New Member
Join Date: Apr 2015
Posts: 16
Rep Power: 11 |
Thanks for your reply. But is it sure that the simple fact to add a Junction Box Routine slow down the calculation ?
|
|
May 28, 2015, 15:31 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32 |
That depends on what you do in it.
If you do nothing, it means nothing compared to the calculation time. If you create an infinite loop, you get the idea. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Total time for simulation | Meerkat | Main CFD Forum | 1 | September 5, 2011 07:17 |
old value | Martin Schmidt | CFX | 7 | December 20, 2005 18:50 |