|
[Sponsors] |
how to solve the problem of "Error: The UDF library you are trying to load (libudf) " |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 3, 2023, 07:52 |
how to solve the problem of "Error: The UDF library you are trying to load (libudf) "
|
#1 |
New Member
Lianggen Shao
Join Date: Mar 2023
Posts: 3
Rep Power: 3 |
hey!guys, i am new in fluent,so i am so confused when the message "Error: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64)."show firstly.
may anyone can help me to find the mistakes i have done in the UDF or somewhere,pelase bro. |
|
March 3, 2023, 07:57 |
|
#2 | |
New Member
Lianggen Shao
Join Date: Mar 2023
Posts: 3
Rep Power: 3 |
Quote:
so,i give the UDF code and the message from fluent after building the UDF. the code: #include "udf.h" DEFINE_PROFILE(u_velocity,t,i) { real x[ND,ND]; real y; face_t f; begin_f_loop(f,t) { F_CENTRIOD(x,f,t); y=x[1]; F_PROFILE(f,t,i)=20+y^2; } end_f_loop(f,t) } the message from fluent: "F:\CFD Simulation\to confirm how to connect the visual studio and fluent\11_files\dp0\FFF\Fluent\text.c" is not found Copied F:/CFD Simulation/to confirm how to connect the visual studio and fluent/11_files/dp0/FFF/Fluent/text.c to libudf\src (system "copy "C:\PROGRA~1\ANSYSI~1\v212\fluent"\fluent21.2.0\sr c\udf\sconstruct.udf "libudf\win64\3ddp_host\SConstruct" ") ????? 1 ??????? (system "copy "C:\PROGRA~1\ANSYSI~1\v212\fluent"\fluent21.2.0\sr c\udf\scons_default.bat "libudf\win64\3ddp_host\scons_test.bat" ") ????? 1 ??????? Creating user_nt.udf file for 3ddp_host ... (system "copy "C:\PROGRA~1\ANSYSI~1\v212\fluent"\fluent21.2.0\sr c\udf\makefile_nt.udf "libudf\win64\3ddp_host\makefile" ") ????? 1 ??????? (chdir "libudf")(chdir "win64\3ddp_host") F:\CFD Simulation\to confirm how to connect the visual studio and fluent\11_files\dp0\FFF\Fluent\libudf\win64\3ddp_h ost>rem F:\CFD Simulation\to confirm how to connect the visual studio and fluent\11_files\dp0\FFF\Fluent\libudf\win64\3ddp_h ost>rem Copyright 1987-2021 ANSYS, Inc. All Rights Reserved. F:\CFD Simulation\to confirm how to connect the visual studio and fluent\11_files\dp0\FFF\Fluent\libudf\win64\3ddp_h ost>rem ???? x64 ?? Microsoft (R) C/C++ ????????? 19.00.23026 ?? ???????(C) Microsoft Corporation??????????????? ?��?: cl [ ???... ] ?????... [ /link ???????... ] Microsoft (R) ?????????��??? 14.00.23026.0 ?? ??????? (C) Microsoft Corporation?? ????????????? NMAKE : fatal error U1073: ????????????��?..\..\src\text.c?? Stop. (system "copy "C:\PROGRA~1\ANSYSI~1\v212\fluent"\fluent21.2.0\sr c\udf\sconstruct.udf "libudf\win64\3ddp_node\SConstruct" ") ????? 1 ??????? (system "copy "C:\PROGRA~1\ANSYSI~1\v212\fluent"\fluent21.2.0\sr c\udf\scons_default.bat "libudf\win64\3ddp_node\scons_test.bat" ") ????? 1 ??????? Creating user_nt.udf file for 3ddp_node ... (system "copy "C:\PROGRA~1\ANSYSI~1\v212\fluent"\fluent21.2.0\sr c\udf\makefile_nt.udf "libudf\win64\3ddp_node\makefile" ") ????? 1 ??????? (chdir "libudf")(chdir "win64\3ddp_node") F:\CFD Simulation\to confirm how to connect the visual studio and fluent\11_files\dp0\FFF\Fluent\libudf\win64\3ddp_n ode>rem F:\CFD Simulation\to confirm how to connect the visual studio and fluent\11_files\dp0\FFF\Fluent\libudf\win64\3ddp_n ode>rem Copyright 1987-2021 ANSYS, Inc. All Rights Reserved. F:\CFD Simulation\to confirm how to connect the visual studio and fluent\11_files\dp0\FFF\Fluent\libudf\win64\3ddp_n ode>rem ???? x64 ?? Microsoft (R) C/C++ ????????? 19.00.23026 ?? ???????(C) Microsoft Corporation??????????????? ?��?: cl [ ???... ] ?????... [ /link ???????... ] Microsoft (R) ?????????��??? 14.00.23026.0 ?? ??????? (C) Microsoft Corporation?? ????????????? NMAKE : fatal error U1073: ????????????��?..\..\src\text.c?? Stop. Done. |
||
Tags |
compile error, udf - warning c2223 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR: unable to find library | HJH | CFX | 6 | February 26, 2019 07:52 |
Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the | gxu2 | Fluent UDF and Scheme Programming | 13 | August 10, 2018 18:38 |
Problem loading UDF in Linux environment | hjan23 | FLUENT | 0 | December 15, 2017 05:09 |
Can I use UDF function to solve this problem? | bright181 | Fluent UDF and Scheme Programming | 3 | December 10, 2010 05:46 |
extremely simple problem... can you solve it properly? | Mikhail | Main CFD Forum | 40 | September 9, 1999 10:11 |