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

OpenFOAM MPI coupling

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2010, 09:00
Default OpenFOAM MPI coupling
  #1
Senior Member
 
Ford Prefect's Avatar
 
Join Date: Mar 2009
Posts: 157
Rep Power: 17
Ford Prefect is on a distinguished road
Hello,

I am not a current user of OpenFOAM but I might be soon

I have an external software that I wish to call at certain times for some of the computational cells. I wish to distribute the calls to this external software evenly in an array using MPI. I wonder if it is possible to invoke MPI commands in user defined functions (or whatever it is called in OF)?

Best Regards
__________________
"Trying is the first step to failure." - Homer Simpson
Ford Prefect is offline   Reply With Quote

Old   August 24, 2010, 08:58
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
With OpenFoam you get access to the source code, so you can do anything you want. You probably don't even have to dig that deep to add the calls.
akidess is offline   Reply With Quote

Old   August 24, 2010, 11:40
Default
  #3
Senior Member
 
Ford Prefect's Avatar
 
Join Date: Mar 2009
Posts: 157
Rep Power: 17
Ford Prefect is on a distinguished road
Ok, thank you.

Any useful information on where to begin digging?
__________________
"Trying is the first step to failure." - Homer Simpson
Ford Prefect is offline   Reply With Quote

Old   August 25, 2010, 04:18
Default
  #4
New Member
 
Antti Heikkilä
Join Date: Mar 2009
Posts: 3
Rep Power: 17
AnttiH is on a distinguished road
Hi,

you can search folder "src/Pstream/mpi"
AnttiH is offline   Reply With Quote

Reply

Tags
mpi, subroutine, user defined function


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
CFD-DEM Coupling using OpenFoam and LAMMPS chrisk OpenFOAM 5 May 15, 2017 11:56
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
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
Intelbs MPI and performance tools in OpenFOAM hplum OpenFOAM 16 December 16, 2007 15:58


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