|
[Sponsors] |
August 1, 2003, 23:06 |
Dynamic mesh
|
#1 |
Guest
Posts: n/a
|
Hi, Guys
Does anybody practise the tutorial "dynamic mesh valve " in Fluent 6.1.18 Win XP ? I can not compile the UDF. Even I exactly follow the direction Mr. Alex gives in prevous posts. There are still have some errors as follows: I hope anyone can give me a clue. Thnaks in advance. 1 file(s) copied. (system "move user_nt.udf libudf\ntx86\2d")0 (system "copy C:\FLUENT.INC\fluent6.1\src\makefile_nt.udf libudf\ntx86\2d\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2d")() Done. Opening library "libudf"... Error: open_udf_library: The system cannot find the file specified. Error Object: () |
|
August 2, 2003, 03:03 |
Re: Dynamic mesh
|
#2 |
Guest
Posts: n/a
|
Hi,
I faced similar problem. When I loaded VC++ ver. 6.0 on my compi, this err message vanished, and i could compile the udf properly. You can try this. Bye, Prasad Laxman Kane |
|
August 2, 2003, 11:35 |
Re: Dynamic mesh
|
#3 |
Guest
Posts: n/a
|
Hi, Prasad
Thank you very much. I load VC++ on my computer but I still can not compile UDF. Could you show me the procedures you complied UDF. Thank you again. Big Stone |
|
August 3, 2003, 10:36 |
Re: Dynamic mesh
|
#4 |
Guest
Posts: n/a
|
hi, Big Stone
I think you should try to give the full path of the *.dll file, such as D:/.../../udf/ntx86/2d/libudf.dll. good luck. |
|
August 3, 2003, 11:04 |
Re: Dynamic mesh
|
#5 |
Guest
Posts: n/a
|
Hi, CCC
Thank you very much . You know, I can not compile UDF, so I could not get libudf.ill file. In FLuent6.1, you don't need to set path. I only set Fluent and C++ compiler in the same working directory. I don't any idea for my problem. |
|
August 3, 2003, 13:42 |
Re: Dynamic mesh
|
#6 |
Guest
Posts: n/a
|
hi, big stone:
i think i have misunderstand your meanings. I am not sure that the erro messages you have posted are integral or you have omitted some parts. At the current stage, I suggest you to run vcvars32.bat in a dos windows. this file is located in the directory \Program Files\Microsoft Visual Studio\VC98\BIN if you have VC installed. Moreover, pls check all the environment variables for Fluent have been set proper. if it does not work still, pls check if all the files necessary for compiling exsits, for example, makefile, user_nt and etc. To track down the erro, I think, the best way is to run the command nmake. good luck. |
|
August 3, 2003, 15:23 |
Re: Dynamic mesh
|
#7 |
Guest
Posts: n/a
|
Hi, CCC
Thanks again. I think you are right.The problem is in the C++ compiler environment setting . I install higher vesion C++ in my computer. I followed your direction to run vcvars32 , in CP there apppears following information. it looks the C++ is not woking. I don't know Why? BTW in Fluent6.1, the makefile and user_nt is automatically generated when compiled. Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin>vcvars32 C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin>"C:\Program Files\Microsof t Visual Studio .NET\Common7\Tools\"vsvars32.bat Setting environment for using Microsoft Visual Studio .NET tools. (If you also have Visual C++ 6.0 installed and wish to use its tools from the command line, run vcvars32.bat for Visual C++ 6.0.) |
|
August 3, 2003, 23:21 |
Re: Dynamic mesh
|
#8 |
Guest
Posts: n/a
|
hi, big stone
have you tried to run the command "nmake" in the directory "ntx86/2d/"? what's the erro messages? |
|
August 4, 2003, 09:23 |
Re: Dynamic mesh
|
#9 |
Guest
Posts: n/a
|
Hi, CCC
Finally I got it with your great help. Your are really appreciated. Thanks Wei |
|
August 4, 2003, 21:39 |
Re: Dynamic mesh
|
#10 |
Guest
Posts: n/a
|
I have been having the same problems with the tutorial and your discussion has been quite helpful. I'm still getting one error message when compiling the UDF, the file LIBC.LIB is not being opened properly. I have tried to set the path, should I copy the LIBC.LIB file to a certain directory?
Here is the error message in fluent: 1 file(s) copied. (system "move user_nt.udf libudf\ntx86\2d")0 (system "copy c:\fluent.inc\fluent6.1\src\makefile_nt.udf libudf\ntx86\2d\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2d")() valve.c # Generating udf_names.c because of makefile valve.obj udf_names.c # Linking libudf.dll because of makefile user_nt.udf udf_names.obj valve.obj Microsoft (R) Incremental Linker Version 6.00.8447 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. LINK : fatal error LNK1104: cannot open file "LIBC.lib" Done. Thank you for any help, Pat |
|
August 4, 2003, 22:47 |
Re: Dynamic mesh
|
#11 |
Guest
Posts: n/a
|
Hi, Pat
I think you may run nmake in Dos between building and loading . Big Stone |
|
August 5, 2003, 02:26 |
Re: Dynamic mesh
|
#12 |
Guest
Posts: n/a
|
Thank you, I believe that was the problem.
-Pat |
|
August 5, 2003, 11:12 |
Re: Dynamic mesh
|
#13 |
Guest
Posts: n/a
|
Hi,
If U install VC++ & the service pack 5, all the problem will be solved. There are 4 variables as include, MSDevDir,lib and path. Include has 3 paths, MSDevDir has 1, lib has 2 and path has 4/5 ( I am not sure). Check this by Right clicking on My Comp. icon->properties->advanced->Environment variables. ( I hope u r working on Windows).. Thats it.. Bye |
|
August 5, 2003, 13:34 |
Re: Dynamic mesh
|
#14 |
Guest
Posts: n/a
|
Hi, Prasad
Can you show more details in setting 3 path? Thanks Big Stone |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh on Pintle type injector. | herntan | FLUENT | 16 | September 4, 2020 08:27 |
pls help. mesh collapsed with dynamic mesh. | wlt_1985 | FLUENT | 2 | May 7, 2020 10:42 |
Incylinder dynamic mesh with volumetric reaction | mas | FLUENT | 4 | May 3, 2012 10:22 |
dynamic mesh on a hexa grid | Manoj Kumar | FLUENT | 0 | August 21, 2007 07:41 |
Dynamic mesh + grid adapt = Crash! (Files included | BillH | FLUENT | 4 | July 24, 2007 15:31 |