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

Why commercial CFD codes are faster than Academic CFD codes?

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By vickmnit
  • 2 Post By FMDenaro
  • 1 Post By vickmnit
  • 1 Post By mprinkey

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2017, 17:25
Question Why commercial CFD codes are faster than Academic CFD codes?
  #1
New Member
 
Vicky
Join Date: Apr 2016
Posts: 2
Rep Power: 0
vickmnit is on a distinguished road
I have used Novacast, OpenFOAM, and one in house developed Academic CFD code to simulate 0.1 million mesh Casting flow problem. While Novacast (ran on single core) took only less than an hour to simulate flow, the OpenFOAM (single core), and Academic code (MPI enabled ran on 4 cores) took about 5-6 hours to complete the simulation. What could be the reason?
Svetlana likes this.
vickmnit is offline   Reply With Quote

Old   July 23, 2017, 17:28
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I do not agree ...usually, it was my experience that own made code are less flexible but faster than commercial codes (of course, comparing the same numbers of process on same nodes, etc.)
Svetlana and lcarasik like this.
FMDenaro is offline   Reply With Quote

Old   July 23, 2017, 17:33
Default
  #3
New Member
 
Vicky
Join Date: Apr 2016
Posts: 2
Rep Power: 0
vickmnit is on a distinguished road
Which means there is something wrong with my implementation or measurement in performance even with OpenFOAM. I will look into this again to confirm the case since other sources also seems to agree with your observation. Thanks for the prompt reply.
Svetlana likes this.
vickmnit is offline   Reply With Quote

Old   July 23, 2017, 21:56
Default
  #4
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
You also need to be careful to assess what models are being used. I don't know much about Novacast, but I know Barracuda was a similar package that used MP-PIC to simulate casting behavior. MP-PIC, as a modeling scheme, is significantly faster than, say, two-fluid Eulerian simulations just because of the simplifying assumptions being made by MP-PIC. It doesn't make either simulation better or worse...just different. Suitability of each for your simulation task is determined by how detrimental or advantageous those simplifications are.
Svetlana likes this.
mprinkey is offline   Reply With Quote

Old   July 24, 2017, 09:19
Default
  #5
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
As stated by Michael and Filippo, such kind of test requires the exact same model (or, at least, almost the same) and the exact same hardware. And even in that case, you may notice some differences on different hardwares (a code which is faster on hardware A ends up being slower on hardware B).

However, for how fair this statement can sound, it still hides a lot of details, including, in my opinion, your very first hypothesis.

Typically, academic-research codes are perceived as faster (and mostly are) because they actually solve a different model, where model is really intended in a very broad sense. For example, an academic code might typically use a structured grid and a specific physics implementation which is very fast (and suitable) only for that kind of grids. For example, some pressure poisson equations can be solved exactly and efficiently on some structured uniform grids. The equivalent workhorse for general purpose CFD solvers on unstructured grids is the Algebraic Multigrid, which still can't compete with a fast poisson solver. The underlying equation might be the same, even the discretization for that specific grid, but would you say that the comparison is fairif the very algorithm is different?

Additional topics are robustness and flexibility, algorithmic as well as to user input. Academic-research codes are just not into that business. Most of the commercial business revolves around corner cases, which are not typically part of the picture for non-commercial codes.

Moreover, commercial codes have to (or at least should) respect some programming best practices that academic-research codes tend to neglect (consciously or not).

Finally, there is the compiler/hardware issue. For a given model and a given algorithmic implementation, there is typically room to up to 20x improvements by simply using a better compiler for a given architecture, including all the specific flags for vectorization etc. This might not be common for academic codes, but could be for commercial ones.

Having said so, my experience however is quite the opposite. Commercial codes, when fairly compared, tend to be faster. This, in my experience, comes from the fact that a commercial code developer can allocate resources to work out any single aspect that is considered fruitful to the selling process. And being fast is typically what everyone requires (together with robustness and flexibility).
sbaffini is offline   Reply With Quote

Reply

Tags
cfd codes, metal flow simulation


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
CFD Research: Mainly using commercial codes or developing new codes? pyroknife Main CFD Forum 8 March 2, 2013 10:36
is there any money in CFD? T Main CFD Forum 35 May 9, 2001 20:35
CFD Codes Jonas Larsson Main CFD Forum 5 September 14, 1998 08:08
CFD - Trends and Perspectives Jonas Larsson Main CFD Forum 16 August 7, 1998 17:27
salary range Frank Muldoon Main CFD Forum 7 August 3, 1998 20:04


All times are GMT -4. The time now is 12:47.