CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

OpenFoam on Linux + CUDA

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

Like Tree2Likes
  • 1 Post By elvis
  • 1 Post By Lukasz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2013, 12:36
Default OpenFoam on Linux + CUDA
  #1
New Member
 
Philip Brown
Join Date: Jun 2013
Posts: 25
Rep Power: 12
Phizz82 is on a distinguished road
This is a post to ask if anyone has had dealings with using CUDA and OpenFoam and if so, how you managed it and did it improve speed of results. It may be a little late for my current project but there is no harm preparing for the next one!
Phizz82 is offline   Reply With Quote

Old   August 6, 2013, 14:41
Default
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
I did a side project in grad school on the topic and the code is now a slow moving (if that) project

CUFFLINK

where i gave a presentation a few years ago

Implementing Fast Parallel Linear System Solvers In OpenFOAM based on CUDA

CUFFLINK works in serial and in parallel, and uses the domain decomposition method that OpenFOAM uses for parallelization but it needs some help to improve its performance. There is some discussion on the topic on the forum

http://www.cfd-online.com/Forums/ope...r-library.html

and there are some commercial versions that may work for you as well.

symscape
Fluidyna
Speedit

Did it improve my results? In some cases yes and in others not really..but there could be more improvements made to change this. This is still an active research topic. See the link to the forum discussion for more details.

Good luck

Last edited by chegdan; August 7, 2013 at 10:24.
chegdan is offline   Reply With Quote

Old   August 6, 2013, 16:12
Default
  #3
New Member
 
Philip Brown
Join Date: Jun 2013
Posts: 25
Rep Power: 12
Phizz82 is on a distinguished road
Thanks Dan. Will have a look at it! I am just getting into CFD and had a couple of friends who ran simulations using CUDA for their theses in microbiology. Tis interesting stuff!
Phizz82 is offline   Reply With Quote

Old   August 7, 2013, 04:43
Default
  #4
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

http://www.openfoamworkshop2013.org/...nakov-OFW8.tar Accelerating OpenFOAM with Parallel GPU Linear Solver from 8th OpenFOAM workshop
also on the previous OF workshop there is material =>Optimization & HPC

http://www.opencae.jp/attachment/wik...13_Hayashi.pdf Slide 15..
Rafael_Coelho likes this.
elvis is offline   Reply With Quote

Old   August 7, 2013, 10:30
Default
  #5
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
In addition to the links that Elvis provided, there has also been some work in using OpenCL instead of CUDA, but the vast majority of effort has been put towards using CUDA. If you wanted to do some things on your own, there are some sparse matrix math libraries that are extremely helpful including CUSP, THRUST, and CUSPARSE.
chegdan is offline   Reply With Quote

Old   October 15, 2013, 16:21
Default
  #6
Member
 
Lukasz Miroslaw
Join Date: Dec 2009
Location: Poland
Posts: 66
Rep Power: 16
Lukasz is on a distinguished road
Send a message via Skype™ to Lukasz
The latest release of SpeedIT will be interesting for your if you are running OpenFOAM on desktop computer with the AMD cards.

Features:
- OpenCL version of Conjugate Gradient, BiConjugate Gradient together with diagonal preconditioner.
- OpenCL version of Sparse Matrix-Vector Multiplication.
The performance has been tested on three cases: external flow simulation over a simplified model of a car Ahmedbody with 1.37M cells, and blood flow simulations through basiliary and caretoid arteries.

See the full report for details.
elvis likes this.
Lukasz is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM and CUDA Lukasz OpenFOAM Announcements from Other Sources 11 January 24, 2013 05:48
Parallel run of OpenFOAM in linux and windows side by side m2montazari OpenFOAM Running, Solving & CFD 5 June 24, 2011 04:26
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 16:39
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 10:33
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07


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