|
[Sponsors] |
August 6, 2013, 12:36 |
OpenFoam on Linux + CUDA
|
#1 |
New Member
Philip Brown
Join Date: Jun 2013
Posts: 25
Rep Power: 12 |
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!
|
|
August 6, 2013, 14:41 |
|
#2 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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. |
|
August 6, 2013, 16:12 |
|
#3 |
New Member
Philip Brown
Join Date: Jun 2013
Posts: 25
Rep Power: 12 |
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!
|
|
August 7, 2013, 04:43 |
|
#4 |
Senior Member
|
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.. |
|
August 7, 2013, 10:30 |
|
#5 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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.
|
|
October 15, 2013, 16:21 |
|
#6 |
Member
|
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |