|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
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 ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16 ![]() |
What compiler do you use ? you need a 32 bits compiler with fluent ntx86.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
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 ?
![]() |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
I have still same problem ...
![]() |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Tiago Macarios
Join Date: Mar 2009
Posts: 35
Rep Power: 16 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
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 ![]() 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 03:23. |
||
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
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 ? |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
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 ... ![]() |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
SK
Join Date: Jul 2009
Posts: 8
Rep Power: 16 ![]() |
Please Start Fluent from c++ command prompt.
It should work. best wishes. |
|
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#12 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16 ![]() |
print screen : visual c++ command prompt
then launch fluent, for example : C:\Fluent.Inc\ntbin\ntx86\fluent.exe -r6.3.26 |
|
![]() |
![]() |
![]() |
![]() |
#13 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
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 01:58. Reason: added picture |
|
![]() |
![]() |
![]() |
![]() |
#14 |
New Member
matth
Join Date: Aug 2009
Posts: 8
Rep Power: 16 ![]() |
Did you find a solution ? I have the same problem with visual C++ 2008 express !
|
|
![]() |
![]() |
![]() |
![]() |
#15 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#16 |
New Member
SK
Join Date: Jul 2009
Posts: 8
Rep Power: 16 ![]() |
I think your udf file is not in the same directory as your cas and data file. Pls. Check
|
|
![]() |
![]() |
![]() |
![]() |
#17 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#18 |
New Member
matth
Join Date: Aug 2009
Posts: 8
Rep Power: 16 ![]() |
I reinstaled Microsoft visual C++ and Nox it works !!
|
|
![]() |
![]() |
![]() |
![]() |
#19 |
New Member
Join Date: Jun 2009
Posts: 13
Rep Power: 16 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#20 |
New Member
matth
Join Date: Aug 2009
Posts: 8
Rep Power: 16 ![]() |
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 | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convection discretization schemes for LES | sek | OpenFOAM Running, Solving & CFD | 38 | July 31, 2017 14:30 |
[OpenFOAM] Paraview command not found | hardy | ParaView | 7 | September 18, 2008 04:59 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |
UDF source file | zhou | FLUENT | 3 | September 29, 2003 11:53 |