TAGGED: -adaptive-mesh, dynamic-mesh, meshing, transient, udf
-
-
April 11, 2025 at 11:11 am
wad130
SubscriberI need to set up a moving mesh for some transient simulations, but i cannot get my udf to load in. i get an error message saying "An error occurred in the previous operation. The details can be found in the next text output - Error Object: #f" what could this be caused by and how can i fix it? is there a way to make my object move without a UDF?
-
April 11, 2025 at 12:48 pm
Rob
Forum ModeratorHow are you loading the UDF?Â
-
April 11, 2025 at 1:26 pm
wad130
Subscribersetup - user defined - functions - complied - add source files - load
-
-
April 11, 2025 at 1:36 pm
Rob
Forum ModeratorIncluding Build? What was printed into the TUI (console) on Build?
-
April 11, 2025 at 1:44 pm
wad130
Subscriberi am now getting an error reading "the udf library you are trying to load (wing_motion.c) is not compiled for parallel use on the current platform (win64). the system cannot find the file specified. could this mean im saving the code written in Visual Studio incorrectly and in the wrong file type?
-
-
April 11, 2025 at 1:38 pm
wad130
Subscriberso i selected my UDI "wing_motion.c" then in library name put the same thing, then buildÂ
-
April 11, 2025 at 1:47 pm
-
April 11, 2025 at 2:01 pm
wad130
Subscribersorry im not able to read what you saidÂ
-
-
April 11, 2025 at 2:09 pm
Rob
Forum ModeratorWhen you pressed Build, what happened? A failure to load often means there's an error at the compile stage. For Windows it's generally good to use the CLANG (built in) compiler too.Â
-
April 11, 2025 at 2:13 pm
wad130
Subscriberwhen i click build, before clicking load i get this message -Â
 "Copy "C:\Users\*****\OneDrive - University of ********\Disc drive\FYP\Transient CFD\wing_motion.c" to "wing_motion.c\src"
ÂFiles udf_names.c and user_nt.udf in 2ddp_host are up-to-date.ÂCopyright 1987-2024 ANSYS, Inc. All Rights Reserved.Compiler and linker: Microsoft Visual C++# Linking libudf.dll because of makefile user_nt.udf udf_names.obj wing_motion.objLINK : fatal error LNK1104: cannot open file 'kernel32.lib'NMAKE : Â U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.EXE"' : return code '0x450'Stop.Files udf_names.c and user_nt.udf in 2ddp_node are up-to-date.ÂCopyright 1987-2024 ANSYS, Inc. All Rights Reserved.Compiler and linker: Microsoft Visual C++# Linking libudf.dll because of makefile user_nt.udf udf_names.obj wing_motion.objLINK : fatal error LNK1104: cannot open file 'kernel32.lib'NMAKE : Â U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.EXE"' : return code '0x450'Stop.ÂDone."ÂÂÂ
-
-
April 11, 2025 at 2:30 pm
Rob
Forum ModeratorSo it's not compiling. How about when using the built in compiler?Â
-
April 11, 2025 at 2:59 pm
wad130
Subscriberim not sure how to do that sorry. Â how do i?
Â
-
-
April 11, 2025 at 3:36 pm
Rob
Forum Moderator-
April 11, 2025 at 6:49 pm
wad130
Subscriberthank you! when i tick that i get this error message...Â
""C:\Users\****\OneDrive - University of *****\Disc drive\FYP\Transient CFD\MAYBE_files\dp0\FFF\Fluent\libudf.idl.c" is not found Copy "C:/Users/wad130/OneDrive - University of Birmingham/Disc drive/FYP/libudf.idl.c" to "libudf\src"
ÂÂCopyright 1987-2024 ANSYS, Inc. All Rights Reserved.Compiler and linker: Clang (builtin)Compiler path: "C:\PROGRA~1\ANSYSI~1\v241\fluent"\ntbin\clang\bin\clang-clLinker  path: "C:\PROGRA~1\ANSYSI~1\v241\fluent"\ntbin\clang\bin\lld-linkC sources: []In file included from udf_names.c:3:C:\PROGRA~1\ANSYSI~1\v241\fluent\fluent24.1.0\src\udf\udf.h(81,12): fatal error: 'ud_io1.h' file not found#  include "ud_io1.h"     ^~~~~~~~~~1 error generated.scons: *** [udf_names.obj] Error 1ÂCopyright 1987-2024 ANSYS, Inc. All Rights Reserved.Compiler and linker: Clang (builtin)Compiler path: "C:\PROGRA~1\ANSYSI~1\v241\fluent"\ntbin\clang\bin\clang-clLinker  path: "C:\PROGRA~1\ANSYSI~1\v241\fluent"\ntbin\clang\bin\lld-linkC sources: []In file included from udf_names.c:3:C:\PROGRA~1\ANSYSI~1\v241\fluent\fluent24.1.0\src\udf\udf.h(81,12): fatal error: 'ud_io1.h' file not found#  include "ud_io1.h"     ^~~~~~~~~~1 error generated.scons: *** [udf_names.obj] Error 1ÂDone."Âso because i somehow managed to get it working now i cant anymoreÂ
-
-
April 14, 2025 at 8:38 am
Rob
Forum ModeratorTry Fluent standalone and check the path permissions.Â
-
- You must be logged in to reply to this topic.
-
5884
-
1906
-
1420
-
1306
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.

