[SOLVED] UDFs are run three times instead of just once
Perhaps someone here will be able to help me with the following problem: even with a rather minimal UDF (see further), the included functions are always run three times instead of just once. For example, when I compile this source file:
Code:
#include "udf.h" Code:
[...] Code:
iter continuity x-velocity y-velocity z-velocity energy k epsilon time/iter Just for completeness' sake: I am using Fluent 19.1 on a linux machine. Any help would be much appreciated. nvx EDIT (27 Jan): Today I also tried to replicate the issue in a freshly-installed virtual machine (CentOS 7 x64). The result was identical to what I have been experiencing with the other linux machine. In other words, with the same minimal source code mentioned above, UDFs from the compiled library were always run three times. |
Could it be that you are running parallel with three nodes?
|
pakk,
Thank you for your response, it led me to the solution! After a lot of additional digging and testing it seems that Fluent runs both types of UDFs mentioned in the example on all compute nodes, i.e., including the master node. This was what confused me all along, because the number of UDF executions did not even match the number of specified parallel nodes... nvx |
All times are GMT -4. The time now is 11:06. |