CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   2d/3d array transfer (https://www.cfd-online.com/Forums/fluent-udf/243331-2d-3d-array-transfer.html)

Mohammad74 June 10, 2022 07:07

2d/3d array transfer
 
hello,

I'm using the host process to read data from a text file and then store it in a 3d array. How can I transfer this 3d array from the host to node processes? In udf manual, there are instruction on transferring 1d arrays but no multi-dimensional ones?!
On this forum someone suggested to split it into multiple 1d arrays and then transfer the data. But since my arrays are quite large I'm looking for a more direct way. any suggestions?


All times are GMT -4. The time now is 13:17.