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

CPU-time and routines

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 28, 2015, 09:20
Default CPU-time and routines
  #1
New Member
 
Join Date: Apr 2015
Posts: 16
Rep Power: 3
boubou is on a distinguished road
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
boubou is offline   Reply With Quote

Old   May 28, 2015, 09:48
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 459
Rep Power: 11
Opaque is on a distinguished road
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.
Opaque is offline   Reply With Quote

Old   May 28, 2015, 10:25
Default
  #3
New Member
 
Join Date: Apr 2015
Posts: 16
Rep Power: 3
boubou is on a distinguished road
Thanks for your reply. But is it sure that the simple fact to add a Junction Box Routine slow down the calculation ?
boubou is offline   Reply With Quote

Old   May 28, 2015, 15:31
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 459
Rep Power: 11
Opaque is on a distinguished road
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.
Opaque is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


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 19:50


All times are GMT -4. The time now is 09:14.