|
[Sponsors] |
June 17, 2009, 06:34 |
Error compile file udf
|
#1 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
Hi everybody
I have problem with compile udf in Windows XP x64bit. I compiled and used a UDF succesfully on Linux, but it fails to compile on Windows. So Iīm using Fluent version Fluent-ntx86-6.3.26. This is my file whose I need compile: Code:
http://rapidshare.com/files/245477895/manualUDFexmaple_2.3.27__ex1_.c.html And here is error messages from Fluent: Could you please somebody help or tell me what I need for right compile. PS:sorry my english is bad |
|
June 17, 2009, 08:54 |
|
#2 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
What compiler do you use ? you need a 32 bits compiler with fluent ntx86.
|
|
June 17, 2009, 09:50 |
|
#3 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
Iīm try to use windows c sdk ... but I donīt know how itīs working ... please could you send me step by step how to compile ?
|
|
June 17, 2009, 10:25 |
|
#4 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
See instructions in the pdf file attached
Microsoft C++ 2008 Express Edition which can be located at this link:http://www.microsoft.com/downloads/d...DisplayLang=en |
|
June 18, 2009, 18:11 |
|
#5 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
I have still same problem ...
|
|
June 19, 2009, 00:22 |
|
#6 |
Member
Tiago Macarios
Join Date: Mar 2009
Posts: 35
Rep Power: 17 |
I ask myself why would you use a 32 bits fluent in a 64 bits environment...
Anyway it looks like you compiler is not set in the system path, that's why fluent cannot find it. Try to concatenate you compiler directory at the system path, if it doesn't work, I think that Visual studio 2008 professional can compile 32 bits too, why don't you give it a try? |
|
June 19, 2009, 03:31 |
|
#7 | |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
Quote:
Hi, so now Iīm using fluent 6.3.26 with Windows XP 32b. What does you mean concatenate system path with compiler directory My system path for fluent: C:\Program Files\Fluent.Inc and C:\Program Files\Microsoft Visual Studio 9.0\VC\ "Microsoft Visual Studio 2008 Version 9.0.30729.1 SP Microsoft .NET Framework Version 3.5 SP1 Installed Edition: VC Express Microsoft Visual C++ 2008 91909-152-0000052-60589 " Where I can compile file in Microsoft Visual C++ 2008 Iīm try to use Interpreted UDFs from Fluent: cpp -I"C:\PROGRA~1\Fluent.Inc\fluent6.3.26/src" -I"C:\PROGRA~1\Fluent.Inc\fluent6.3.26/cortex/src" -I"C:\PROGRA~1\Fluent.Inc\fluent6.3.26/client/src" -I"C:\PROGRA~1\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "C:\working\man alUDFexmaple_2.3.27_[ex1].c" Error: C:\working\manualUDFexmaple_2.3.27_[ex1].c: line 51: structure reference not implemented Last edited by czfluent; June 19, 2009 at 04:23. |
||
June 23, 2009, 03:40 |
|
#8 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
Could you help me please, anyone?
When I try to load my case and data Fleunt answer me: Building... grid, Cell Centroid is xc 3.733333 yc 0.200000 WARNING: no face with given nodes. Thread 2, cell 9 Error: Build_Grid: grid error. Clearing partially read grid. Error: Null Domain Pointer Error Object: () But the other PC working ... maybe wrong install ? |
|
July 7, 2009, 17:02 |
|
#9 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
so now I know why the FlUENT write me:
Building... grid, Cell Centroid is xc 3.733333 yc 0.200000 WARNING: no face with given nodes. Thread 2, cell 9 Error: Build_Grid: grid error. Clearing partially read grid. Error: Null Domain Pointer Error Object: () I have a bad case data and files ... but still compile donīt working ... |
|
July 8, 2009, 17:21 |
|
#10 |
New Member
SK
Join Date: Jul 2009
Posts: 8
Rep Power: 17 |
Please Start Fluent from c++ command prompt.
It should work. best wishes. |
|
July 26, 2009, 16:09 |
|
#11 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
||
July 30, 2009, 04:59 |
|
#12 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
print screen : visual c++ command prompt
then launch fluent, for example : C:\Fluent.Inc\ntbin\ntx86\fluent.exe -r6.3.26 |
|
July 31, 2009, 02:54 |
|
#13 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
ok thank itīs working but ...
The system have not find this file ... or something like this write me fluent -... (system "copy C:\PROGRA~1\Fluent.Inc\fluent6.3.26\src\makefile_n t.udf libudf\ntx86\2ddp\makefile") 1 copy file … (chdir "libudf")() (chdir "ntx86\2ddp")() Done. "c:/" Opening library "libudf"... Error: open_udf_library: The system have not find this file ... Error Object: () Last edited by czfluent; July 31, 2009 at 02:58. Reason: added picture |
|
August 18, 2009, 08:10 |
|
#14 |
New Member
matth
Join Date: Aug 2009
Posts: 8
Rep Power: 17 |
Did you find a solution ? I have the same problem with visual C++ 2008 express !
|
|
August 21, 2009, 05:06 |
|
#15 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
||
August 21, 2009, 05:26 |
|
#16 |
New Member
SK
Join Date: Jul 2009
Posts: 8
Rep Power: 17 |
I think your udf file is not in the same directory as your cas and data file. Pls. Check
|
|
August 21, 2009, 06:04 |
|
#17 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
||
August 21, 2009, 06:12 |
|
#18 |
New Member
matth
Join Date: Aug 2009
Posts: 8
Rep Power: 17 |
I reinstaled Microsoft visual C++ and Nox it works !!
|
|
August 21, 2009, 08:02 |
|
#19 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 17 |
||
August 22, 2009, 16:31 |
|
#20 |
New Member
matth
Join Date: Aug 2009
Posts: 8
Rep Power: 17 |
when I instaled Microsoft visual C++ I picked all the option. You have to install microsoft.net framework 3.5 ans above all the msdn library !
Good luck ! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convection discretization schemes for LES | sek | OpenFOAM Running, Solving & CFD | 38 | July 31, 2017 15:30 |
[OpenFOAM] Paraview command not found | hardy | ParaView | 7 | September 18, 2008 05:59 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
UDF source file | zhou | FLUENT | 3 | September 29, 2003 12:53 |