|
[Sponsors] |
December 9, 2020, 00:04 |
Compile UDF
|
#1 |
New Member
Join Date: Nov 2020
Posts: 5
Rep Power: 6 |
Hi,
I have a problem during compiling my UDF file. I'm using ANSYS 18.1 and visual studio express 2012. I follow the step in youtube link = https://www.youtube.com/watch?v=OPfgkORSESQ&t=84s Hopefully someone could help me. Below is the error that appears in the Fluent. Thank you. ... Copied D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent/D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\modified cross flow udf old.c to libudf\src Creating user_nt.udf file for 2d ... (system "copy "C:\PROGRA~1\ANSYSI~1\v181\fluent"\fluent18.1.0\sr c\udf\makefile_nt.udf "libudf\win64\2d\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\2d")'nmake' is not recognized as an internal or external command, operable program or batch file. Done. Opening library "D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\libudf"...RPC RCX_SC_SET_ERR_MSG failed: RPC: Can't encode arguments Error: The UDF library you are trying to load (D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\libudf) is not compiled for 2d on the current platform (win64). The system cannot find the file specified. D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\libudf\win64\2d\libudf.dll Error: The UDF library you are trying to load (D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\libudf) is not compiled for 2d on the current platform (win64).\n\nThe system cannot find the file specified. \n\nD:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\D:\E\Ph.D\Simulation e\fluent e\UDF test\UDF TEST_files\dp0\FFF-22\Fluent\libudf\win64\2d\libudf.dll Error Object: #f |
|
December 9, 2020, 03:38 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
compiler is not connected to fluent, that why nmake doesnt work
run fluent from Visual studio command prompt you may read this for detailed information: https://www.cfd-online.com/Wiki/Flue...UDF.29_Related
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
Compile c99 standard UDF in Cluster | darsonli | Fluent UDF and Scheme Programming | 0 | July 7, 2015 03:58 |
looking for instructions on how to compile an udf in windows OS | Srinivasa Rao | Fluent UDF and Scheme Programming | 2 | May 22, 2015 11:00 |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 08:26 |
Fluent doesnÂīt compile UDF on Windows | HSeldon | FLUENT | 4 | February 15, 2007 00:01 |