Ansys fluent UDF文件不符合要求



我在添加udf文件后尝试构建它。我运行如下:

tbinwin64/DOF_Sol - Copy.c to libudfsrc
udf_names.c and user_nt.udf files in 2ddp_host are upto date.
(system "copy "C:PROGRA~1ANSYSI~1v181fluent"fluent18.1.0srcudfmakefile_nt.udf "libudfwin642ddp_hostmakefile" ")
1 file(s) copied.
(chdir "libudf")(chdir "win642ddp_host")udf_names.c and user_nt.udf files in 2ddp_node are upto date.
(system "copy "C:PROGRA~1ANSYSI~1v181fluent"fluent18.1.0srcudfmakefile_nt.udf "libudfwin642ddp_nodemakefile" ")
1 file(s) copied.
(chdir "libudf")(chdir "win642ddp_node")
Done.

稍后在编译时,会弹出一个错误。

Incv181fluentntbinwin64libudf"...
Error at Node 0: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.

Error at host: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.
C:Program FilesANSYS Incv181fluentntbinwin64libudfwin642ddp_hostlibudf.dll
Error at Node 1: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.

Error at Node 2: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.

Error at Node 3: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.

Error at Node 4: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.

Error at Node 5: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.
C:Program FilesANSYS Incv181fluentntbinwin64libudfwin642ddp_nodelibudf.dll
C:Program FilesANSYS Incv181fluentntbinwin64libudfwin642ddp_nodelibudf.dll
C:Program FilesANSYS Incv181fluentntbinwin64libudfwin642ddp_nodelibudf.dll
C:Program FilesANSYS Incv181fluentntbinwin64libudfwin642ddp_nodelibudf.dll
C:Program FilesANSYS Incv181fluentntbinwin64libudfwin642ddp_nodelibudf.dll
C:Program FilesANSYS Incv181fluentntbinwin64libudfwin642ddp_nodelibudf.dll
MPI Application rank 0 exited before MPI_Finalize() with status 2
The fl process could not be started.

错误消息

我一直在运行我的流利from vs prompt本身。我已经设置了执行所需的所有环境路径。编码工作得非常好。

如果您选择了ansys并行运行,这很常见。它应该通过在Fluent开始时选择串行版本来解决。另一种方法是在UDF中有PRF_GRSUMx(variable)构造,负责全局求和。

最新更新