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

OpenFOAM MPI coupling

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 23, 2010, 08:00
Default OpenFOAM MPI coupling
  #1
Member
 
Ford Prefect's Avatar
 
Join Date: Mar 2009
Posts: 72
Rep Power: 8
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, 07:58
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
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, 10:40
Default
  #3
Member
 
Ford Prefect's Avatar
 
Join Date: Mar 2009
Posts: 72
Rep Power: 8
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, 03:18
Default
  #4
New Member
 
Antti Heikkilä
Join Date: Mar 2009
Posts: 3
Rep Power: 8
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD-DEM Coupling using OpenFoam and LAMMPS chrisk OpenFOAM 4 September 30, 2014 09:36
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
Error using LaunderGibsonRSTM on SGI ALTIX 4700 jaswi OpenFOAM 2 April 29, 2008 10:54
Is Testsuite on the way or not lakeat OpenFOAM Installation 6 April 28, 2008 11: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 14:03.