CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

GPU Technology

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By Tobi
  • 1 Post By hk318i

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2016, 03:07
Default GPU Technology
  #1
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
Hello everybody
I want to speed up my OpenFOAM simulations. I have figured out that there are several ways to do this:
1- using gpu;
2- using cluster
3- openfoam cloud

However I have searched the net but couldn't find a good answer to my questions:
1- Is there any gpu solver for sprayFoam?" Does it make sense to use gpu?

2- And also what about cluster? How can I use it? and also does it better than cpu parallel simulation with core i5 Cpu?

3- What is openfoam cloud? How can I use it?

Thanks in Advance

Best regards,
Omid
omid20110 is offline   Reply With Quote

Old   November 14, 2016, 03:40
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

I don't know why everybody is sending me private messages and ask for help but well,...

  • To speed up OpenFOAM simulations you can run the case in parallel and you should renumber your mesh.
  • FOAM is programmed in C++ and not in CUDA, hence it is not an GPU architecture software and therefore you can not use the GPU. There should be a way with special keywords to make the C++ sources more/less usable for GPU's but finally it is not a GPU architecture. In addition, the speed up is not that much, forget that kind of idea.
  • If you want to speed up the stuff use graphic cards, you really should reprogram everything in CUDA. Maybe there are some open source codes available which deal with that but I have no experience in that.
  • Cloud computing should be the same as parallel computing but instead of having your own cluster, you use some cluster shared by some company (some cluster that does not belong to you).

Summing up. FOAM is written C++ and not developed for GPU calculations. Speeding up the simulation can be done with multi core processors using the parallel stuff. Keep in mind that the processor boundary conditions influence your solution and if you split the case into too much subdomains it can happen, that you slow down instead of speeding up based on the fact that the communication between the CPU's is high. Further speed up can be achieved in solving the matrices within a good and fast solver (GAMG, FDIC etc.), compiling the code with special CPU flags (optimization of the code) and of course thinking about your mesh.

Other opinions are welcomed but this is the state of the art in my personal perspective.
hk318i and Dipsomaniac like this.
__________________
Keep foaming,
Tobias Holzmann

Last edited by Tobi; November 14, 2016 at 09:32.
Tobi is offline   Reply With Quote

Old   November 14, 2016, 07:55
Default
  #3
Senior Member
 
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 17
hk318i is on a distinguished road
Hi,

As Tobias said, OpenFOAM doesn't work on GPU out-of-box. However, there is a project is trying to do that which I never tried myself (RapidCFD)

Regarding, cloud and clusters, your questions are quite general. There are many cloud computing services, mostly paid, which you can use; Amazon, google, UberCloud, simScale, conself, MS Azure . . . etc.

Best Regards,
Hassan
omid20110 likes this.
__________________
@HIKassem | HassanKassem.me
hk318i is offline   Reply With Quote

Reply

Tags
gpu, sprayfoam


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
CoCoons Project - Community-driven Documentation on OpenFOAMŪ Technology holger_marschall OpenFOAM Announcements from Other Sources 6 February 2, 2022 14:42
GPU acceleration on ANSYS Fluent 14.5 Daveo643 FLUENT 20 April 28, 2018 13:50
[Resolved] GPU on Fluent Daveo643 FLUENT 4 March 7, 2018 08:02
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
Technology Advancing? Nomad Main CFD Forum 10 March 22, 2004 18:21


All times are GMT -4. The time now is 19:04.