TAGGED: fluent, libudf, student, udf, udf-fluent
-
-
December 11, 2020 at 1:24 pmrexfoxoloughlinSubscriberHi all, wondering if you could help me with something,nI'm getting two different errors when trying to load the libudf library and compile my UDF in ANSYS. See below for the errors I get.nI'm running ANSYS student.nThings I've tried:nI've added it to the path as specified here: https://www.cfd-online.com/Forums/blogs/trollreign/2036-getting-ansys-14-fluent-windows-8-1-vs2013-compile-udfs.html and also tried all the other solutions on that pagenI've started Fluent through VS2017's common tools command prompt as specified here /forum/discussion/13927/compiling-udf, gives the same errorsnI've tried a few different UDFs, some simple example ones from online and the ones I've written, to the same errorsnI've completed remade the whole project with new geometry and a new mesh and re-opened it in FluentnI'm trying to get this https://www.ansys.com/blog/dragonfly-flapping-ansys model to work. If anyone could help me it'd be appreciated!nnThe first error when trying to compile/build the libudf:nCopied \Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent/\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\inlet.c to libudf\srcnCreating user_nt.udf file for 3ddp_host ...n(system copy \Program Files\ANSYS Inc\ANSYS Student\v202\fluent\fluent20.2.0\src\udf\makefile_nt.udf libudf\win64\3ddp_host\makefile )n1 file(s) copied.n(chdir libudf)(chdir win64\3ddp_host)'nmake' is not recognized as an internal or external command,noperable program or batch file.nCreating user_nt.udf file for 3ddp_node ...n(system copy \Program Files\ANSYS Inc\ANSYS Student\v202\fluent\fluent20.2.0\src\udf\makefile_nt.udf libudf\win64\3ddp_node\makefile )n1 file(s) copied.n(chdir libudf)(chdir win64\3ddp_node)'nmake' is not recognized as an internal or external command,noperable program or batch file.nnDone.nCopied \Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent/\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\inlet.c to libudf\srcn(system copy \Program Files\ANSYS Inc\ANSYS Student\v202\fluent\fluent20.2.0\src\udf\sconstruct.udf libudf\win64\3ddp_host\SConstruct )n1 file(s) copied.n(system copy \Program Files\ANSYS Inc\ANSYS Student\v202\fluent\fluent20.2.0\src\udf\scons_test.bat libudf\win64\3ddp_host\scons_test.bat )n1 file(s) copied.n(chdir libudf)(chdir win64\3ddp_host)nD:\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\libudf\win64\3ddp_host>set PYTHONHOME=\Program Files\ANSYS Inc\ANSYS Student\v202\fluent/../commonfiles/CPython/3_7/winx64/Release/pythoD:\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\libudf\win64\3ddp_host>set PYTHONPATH=\Program Files\ANSYS Inc\ANSYS Student\v202\fluent/../commonfiles/CPython/3_7/winx64/Release/pythoD:\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\libudf\win64\3ddp_host>\Program Files\ANSYS Inc\ANSYS Student\v202\fluent/../commonfiles/CPython/3_7/winx64/Release/python/sconsn'\Program' is not recognized as an internal or external command,noperable program or batch file.n(system copy \Program Files\ANSYS Inc\ANSYS Student\v202\fluent\fluent20.2.0\src\udf\sconstruct.udf libudf\win64\3ddp_node\SConstruct )n1 file(s) copied.n(system copy \Program Files\ANSYS Inc\ANSYS Student\v202\fluent\fluent20.2.0\src\udf\scons_test.bat libudf\win64\3ddp_node\scons_test.bat )n1 file(s) copied.n(chdir libudf)(chdir win64\3ddp_node)nD:\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\libudf\win64\3ddp_node>set PYTHONHOME=\Program Files\ANSYS Inc\ANSYS Student\v202\fluent/../commonfiles/CPython/3_7/winx64/Release/pythoD:\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\libudf\win64\3ddp_node>set PYTHONPATH=\Program Files\ANSYS Inc\ANSYS Student\v202\fluent/../commonfiles/CPython/3_7/winx64/Release/pythoD:\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\libudf\win64\3ddp_node>\Program Files\ANSYS Inc\ANSYS Student\v202\fluent/../commonfiles/CPython/3_7/winx64/Release/python/sconsn'\Program' is not recognized as an internal or external command,noperable program or batch file.nnDone.nnAnd then another when I click load:nnError: 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.nD:\Program Files\ANSYS Inc\ANSYS Student\Project Files\Dragonfly 2\dragonfly_2_files\dp0\FFF\Fluent\libudf\win64\3ddp_host\libudf.dllnError Object: #fn
-
December 11, 2020 at 3:59 pmMawenSubscriberI think you got the nmake error. Do you have visual studio 2017 installed? nFollow this video, that should solve the problem: &t&ab_channel=CatherineWaan
-
December 12, 2020 at 4:03 pmrexfoxoloughlinSubscriber
I think you got the nmake error. Do you have visual studio 2017 installed? Follow this video, that should solve the problem: &t&ab_channel=CatherineWaa/forum/discussion/comment/100066#Comment_100066
I do have VS2017 yes.n -
December 14, 2020 at 12:17 pmRobForum ModeratorIf you're running 2020 use the built in compiler. A missing nmake means there's a path/system variable that's not pointing in the right place, if you look for nmake in here and the installation threads there will be some guidance. n
-
Viewing 3 reply threads
- The topic ‘Errors when trying to compile UDF in Fluent’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Non-Intersected faces found for matching interface periodic-walls
- Script error Code: 800a000d
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors
-
1301
-
591
-
544
-
524
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.