|
[Sponsors] |
July 10, 2015, 08:03 |
MPI Implementation
|
#1 |
Senior Member
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 13 |
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 |
|
July 10, 2015, 14:34 |
|
#2 |
Senior Member
Join Date: Oct 2011
Posts: 242
Rep Power: 17 |
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
|
|
July 11, 2015, 07:16 |
|
#3 |
Senior Member
Ashwani
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 13 |
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? |
|
July 11, 2015, 11:45 |
|
#4 |
Senior Member
Join Date: Oct 2011
Posts: 242
Rep Power: 17 |
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 |
|
|
|
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 |