|
[Sponsors] |
Error of UDF paralization (libudf.dll : fatal error LNK1120: 4 ) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 11, 2020, 10:43 |
|
#21 |
New Member
Steve
Join Date: Mar 2020
Location: Beijing
Posts: 17
Rep Power: 6 |
Dear Vinerm,
Thank you. I don't find Developer or x64 or x86 command prompt. Neither do I find it when I search the install folder of VS2010. |
|
March 11, 2020, 10:49 |
Version
|
#22 |
Senior Member
|
This might also be version dependent. Search by command or vs and then look within the results if it shows anything that is command prompt from VS.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 11, 2020, 10:58 |
Try the code attached
|
#23 |
Senior Member
|
Try compiling the usual way with the file that I have attached. Its the same file with minor modifications.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 11, 2020, 11:02 |
|
#24 |
New Member
Steve
Join Date: Mar 2020
Location: Beijing
Posts: 17
Rep Power: 6 |
Dear Vinerm,
I got the developer command prompt and opened it in 64bit. But I couldn't cd the path to the folder containing the fluent.exe. Thank you very much. |
|
March 11, 2020, 11:07 |
Commands
|
#25 |
Senior Member
|
In Windows, you cannot cd to a path directly if it is in a different drive. First, you need to change drive. Best would be to go the directory where you have your UDF source and case file. If it is F:, then simply use cd. If not, then use the name of the drive. E.g., if you want to change to drive c, then give command c:. Once in the directory where you have the file, use full path to start Fluent, i.e., C:\Program Files\Ansys Inc\v180\fluent\ntbin\win64\fluent.exe
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 11, 2020, 11:36 |
|
#26 |
New Member
Steve
Join Date: Mar 2020
Location: Beijing
Posts: 17
Rep Power: 6 |
Dear Vinerm,
I have tried both methods you mentioned. Unfortunately, both failed eventually. Still puzzled. Thank you. |
|
March 11, 2020, 11:39 |
Try a simple one
|
#27 |
Senior Member
|
Try with a very simple program
Code:
#include "udf.h" DEFINE_EXECUTE_ON_LOADING(test, libtest) { #if !RP_HOST Message0("This one works\n Hopefully\n"); #endif }
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 11, 2020, 12:05 |
|
#28 |
New Member
Steve
Join Date: Mar 2020
Location: Beijing
Posts: 17
Rep Power: 6 |
Dear Vinerm,
The simple code is successful. Then the former UDF success too. It is really amazing!!! Thank you very very very much from my deep heart. Salute!!! |
|
March 11, 2020, 13:06 |
Good
|
#29 |
Senior Member
|
Nice to know that it finally worked.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 12, 2020, 01:10 |
|
#30 |
New Member
Steve
Join Date: Mar 2020
Location: Beijing
Posts: 17
Rep Power: 6 |
Dear Vinerm,
Thank you. It is my first time that I posted a thread here and received your nice respond. It is no exaggeration to say this is an awesome experience. Now I am attempting to do simulation in HPC environment. Thank you again. |
|
March 12, 2020, 07:51 |
Welcome
|
#31 |
Senior Member
|
Welcome to the Party
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
Tags |
error, libudf, paralization, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF problems...FATAL ERROR! | Paolo Lampitella | FLUENT | 1 | September 8, 2005 11:07 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |