|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
hi all, I am traing to simulate a flow with evaporation, so I hav write an UDF to calculate the masse transfert betwin phase 1 and 2, in the mixture model, the probleme is that if I use the interpreted methode to hook it, that go right but I get a fatal errore messege when I start the iteration, and if it with the compile method, the UDF is compiled withe no probleme but it impossibole to load it (error messege : 1 fichier(s) copi‚(s).
1 fichier(s) copi‚(s). (system "copy D:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2d\makefile") 1 fichier(s) copi‚(s). (chdir "libudf")() (chdir "ntx86\2d")() liq_gas_source-p_clap.c # Generating udf_names.c because of makefile liq_gas_source-p_clap.obj udf_names.c udf_names.c(7) : error C2059: syntax error : '}' udf_names.c(8) : warning C4034: sizeof returns 0 Done. "C:/Documents and Settings/Administrateur/Bureau" Opening library "libudf"... Error: open_udf_library: Le fichier spécifié est introuvable. Error Object: ()) so if you have an idea about the problem please help I am realy in need of this help please |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
error C2059: syntax error : '}' udf_names.c(8) : warning C4034: sizeof returns 0
By this, it seems there are extra spaces or other errors on your C++ code of the UDF, therefore the library is not well created, so it cannot be loaded. Tips to find the error: enter commentaries on the code of your UDF; Try to rewrite the UDF as simple as possible. Check and erase spaces in between the MACRO name and the parenthesis ...good luck |
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |
| udf compile in parallel system | tahereh | FLUENT | 1 | December 9, 2008 10:48 |
| Interpret three UDF for property | Atsu | FLUENT | 4 | April 22, 2006 16:04 |
| why results different for Compile and Interpret? | Joey | FLUENT | 3 | April 6, 2004 18:19 |
| compile the UDF | Li Jingping | FLUENT | 2 | April 14, 2003 22:18 |