Reading a file from 32-bit Fluent 15.0 through a UDF for DPM in parallel
Hi everyone,
I am currently having a problem reading an external data file with a UDF - DEFINE_DPM_SOURCE. I am combining Fluent with another C program made from my university that contains 32 bit lib files. So I have only managed to get this working on 32-bit fluent. The structure of the program is -Open data file -Read data file -Close data file -Read mass concentrations in fluid -Compare with data file -Create mass source at particle The problem I have is that when I get the message that the UDF cannot read the data file. This only happens in parallel fluent, the program works perfectly in serial however is too slow. I suspect this problem has to do with different nodes opening the data file at the same time. For DPM I have the option of Message Passing or Shared Memory. Shared Memory works but is too slow. Message-passing gives me the error. Hybrid is not available for 32-bit. Is there any way to parallelize this process? Perhaps there is a way to have different nodes read different data files. Thanks in advance |
All times are GMT -4. The time now is 09:58. |