|
[Sponsors] |
What is the reason for the below error when I load the udf in fluent? 'D:\env.bat' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 20, 2022, 22:02 |
What is the reason for the below error when I load the udf in fluent? 'D:\env.bat'
|
#1 |
Senior Member
Join Date: Dec 2017
Posts: 382
Rep Power: 9 |
What is the reason for the below error when I load the udf in fluent?
'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. 'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. 'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. 'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. 'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. Copied D:\Users\Desktop/drag-new.c to libudf\src Creating user_nt.udf file for 2ddp ... 'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. 'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. (system "copy "C:\PROGRA~1\ANSYS Inc\v160\fluent"\fluent16.0.0\src\udf\makefile_nt. udf "libudf\win64\2ddp\makefile" ") 'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. 1 file(s) copied. (chdir "libudf")(chdir "win64\2ddp")'D:\env.bat' is not recognized as an internal or external command, operable program or batch file. 'nmake' is not recognized as an internal or external command, operable program or batch file. Done. Opening library "D:\Users\Desktop\libudf"... Error: The UDF library you are trying to load (libudf) is not compiled for 2ddp on the current platform (win64). The system cannot find the file specified. D:\Users\Desktop\libudf\win64\2ddp\libudf.dll Error: The UDF library you are trying to load (libudf) is not compiled for 2ddp on the current platform (win64). The system cannot find the file specified. D:\Users\Desktop\libudf\win64\2ddp\libudf.dll Error Object: #f |
|
July 21, 2022, 01:56 |
|
#2 |
New Member
Poly T
Join Date: May 2022
Posts: 23
Rep Power: 2 |
You have no business working with fluent. Start learning two very basic skills everyone should try to have:
a) the most basic computer skills, which involves reading what it says on the screen. b) asking meaningful questions smh. |
|
July 21, 2022, 13:49 |
|
#3 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65 |
It's looking for env.bat file in that location. Regardless env.bat shouldn't even be in that location. You likely are missing something in your PATH which in layman's terms means something is not installed correctly on your system.
If you continue to run into such errors, you might want to invest in technical support from Ansys customer support. There are paid, profesionally trained persons who will work through these issues with you and sometimes for you. I'm entirely guessing because I have no idea what is even in your udf. For all I know, you could be attempting to retrieve storage from another dimension. Or the UDF might have come from an internet troll who wrote a bunch of coded print statements to always print this message just to mess with you. Again, just guessing. |
|
July 21, 2022, 22:36 |
|
#4 | |
Senior Member
Join Date: Dec 2017
Posts: 382
Rep Power: 9 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting a UDF from FLUENT 17.2 to FLUENT 2021 R2 | herko | CFD Freelancers | 0 | July 10, 2022 09:06 |
FLUENT UDF for Parallelization | Cooper24 | Fluent UDF and Scheme Programming | 6 | August 30, 2021 11:16 |
FLUENT UDF for parallelization | Cooper24 | FLUENT | 0 | August 27, 2021 11:55 |
can anyone help me about the udf of dynamic contact angle in FLUENT? | Albert Lee | FLUENT | 0 | July 1, 2018 08:21 |
fluent udf problem: write specific data for every iteration in a file. | nnvoro | Fluent UDF and Scheme Programming | 1 | May 27, 2013 15:26 |