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

MPI Implementation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By naffrancois

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2015, 08:03
Default MPI Implementation
  #1
Senior Member
 
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 13
AshwaniAssam is on a distinguished road
Hi,

Can anyone suggest how feasible it is to implement MPI in an in-house CFD code? By feasibility I mean in terms of time and energy required, considering my being a mechanical student.

Our knowledge and application of c++ is fine. We wish to start to parallel our code. I have some understanding of MPI by reading beginning material for it.

Till now, by my reading and seeing OpenFOAM implementation, I understand three important task: domain decomposition, communication between processes and reconstructing the solution.

Any help will be highly beneficial.

with regards
Ashwani
AshwaniAssam is offline   Reply With Quote

Old   July 10, 2015, 14:34
Default
  #2
Senior Member
 
Join Date: Oct 2011
Posts: 242
Rep Power: 17
naffrancois is on a distinguished road
I would say the most consuming time part is to build the decomposition. On a structured mesh, it can be quite easy but on unstructured meshes, well... yes it will be a pain from an existing code. Once you have the connectivity, it is not very difficult to parallelize the solver
naffrancois is offline   Reply With Quote

Old   July 11, 2015, 07:16
Default
  #3
Senior Member
 
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 13
AshwaniAssam is on a distinguished road
Thanks for your reply.
Can you refer any material for decomposition on unstructured mesh. Is there library like p-sctoch or something for decomposition which can be used directly?
AshwaniAssam is offline   Reply With Quote

Old   July 11, 2015, 11:45
Default
  #4
Senior Member
 
Join Date: Oct 2011
Posts: 242
Rep Power: 17
naffrancois is on a distinguished road
hello,

well, apart from having a deep look at how it is coded in existing parallel solvers (you mentionned open foam, you can have a look inside SU2 as well which is open source), I do not have much references to give you I am afraid

energy and time will be proportional to the knowledge you have about the preprocessing part of your code (how the connectivity is done from the input mesh to the solver)

If I were you however, I would first try to implement a simple MPI 1D structured solver and increase difficulty gradually
AshwaniAssam likes this.
naffrancois is offline   Reply With Quote

Reply


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
Problems with MPI implementation francesco_capuano OpenFOAM Installation 7 January 16, 2013 02:53
MPI implementation of OpenFOAM Jamshidi OpenFOAM 7 June 25, 2011 10:19
Implementation of MPI Ertan Karaismail Main CFD Forum 5 May 17, 2009 12:31
Error using LaunderGibsonRSTM on SGI ALTIX 4700 jaswi OpenFOAM 2 April 29, 2008 11:54
Is Testsuite on the way or not lakeat OpenFOAM Installation 6 April 28, 2008 12:12


All times are GMT -4. The time now is 16:48.