CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Passing scalar field across processors (https://www.cfd-online.com/Forums/openfoam-solving/60179-passing-scalar-field-across-processors.html)

ankgupta8um June 5, 2006 12:51

Hi, Is it possible to commu
 
Hi,

Is it possible to communicate a scalar field (say, surfaceScalarField) from one processor to other processor?? Does the MPI commands (say, MPI_Send, MPI_Receive) in OpenFOAM are overloaded to recognize scalar fields as the data type??
Any information on the above would be highly appreciated.

Thanks!
Regards,
Ankur

mattijs June 7, 2006 03:32

Find some usage of OPstream/IP
 
Find some usage of OPstream/IPstream. Is a stream so you can use '<<' to transfer a scalarField (probably not a surfaceScalarField).


All times are GMT -4. The time now is 06:20.