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

data exchange between two binary codes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2007, 06:37
Default data exchange between two binary codes
  #1
rt
Guest
 
Posts: n/a
Dear Friends,

I like to execute two binary codes simulteneously and exchange some data between them dynamically, they write exchanged data on disk.

my problem is tunig of codes so thay they access to disk is a suitable time, (e.g. they can paused by reading a parameter from command line and after entering parameter they continue, but performing this by hand is tedious) do you know a suitable (simple) software/way for this purpose?
  Reply With Quote

Old   May 30, 2007, 10:03
Default Re: data exchange between two binary codes
  #2
Stelios
Guest
 
Posts: n/a
this looks similar to parallel possessing (check PVM and how the slaves communicate).

S.K
  Reply With Quote

Old   May 30, 2007, 12:22
Default Re: data exchange between two binary codes
  #3
rt
Guest
 
Posts: n/a
note that i deal with two separated binary package that i don't have access to their source code.
  Reply With Quote

Old   May 31, 2007, 01:34
Default Re: data exchange between two binary codes
  #4
Markus Lummer
Guest
 
Posts: n/a
Hello rt,

the normal way to run several binary packages with data exchange is to control the process chain with some shell scripts.

Regards, Markus
  Reply With Quote

Old   May 31, 2007, 05:46
Default Re: data exchange between two binary codes
  #5
Steve
Guest
 
Posts: n/a
Are you looking for timestep exchanges (i.e. co-simulation) or does one code finish before the next one starts? If it's timestep coupling, you'll probably need to write some blocking code in whatever subroutine mechanisms you are given. Otherwise, script it. I suppose it could be possible to script the codes to run one step at a time each??
  Reply With Quote

Old   May 31, 2007, 08:22
Default Re: data exchange between two binary codes
  #6
rt
Guest
 
Posts: n/a
Thanks Steve, as u and Markus stated, using a shell scripte seems to be my only solution, so i will try it.
  Reply With Quote

Old   June 16, 2007, 05:09
Default Re: data exchange between two binary codes
  #7
kassahun
Guest
 
Posts: n/a
to know about data exchange between two or more binary codes

  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
【Help】"Error: Update_Time_Level: invalid data" Chen FLUENT 2 August 24, 2014 08:51
How to exchange the data in DEM/Fluent using UDF Xiaoyong Lu Fluent UDF and Scheme Programming 1 May 30, 2012 00:52
export data at nodes Meenu FLUENT 1 December 30, 2011 02:24
data exchange between two binary code rt Main CFD Forum 0 May 30, 2007 06:37
Binary files stored by Fluent Jackson FLUENT 1 April 2, 2000 22:58


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