CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Dynamic mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 1, 2003, 23:06
Default Dynamic mesh
  #1
Big Stone
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: ()
  Reply With Quote

Old   August 2, 2003, 03:03
Default Re: Dynamic mesh
  #2
Prasad Laxman Kane
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
  Reply With Quote

Old   August 2, 2003, 11:35
Default Re: Dynamic mesh
  #3
Big Stone
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

  Reply With Quote

Old   August 3, 2003, 10:36
Default Re: Dynamic mesh
  #4
ccc
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.
  Reply With Quote

Old   August 3, 2003, 11:04
Default Re: Dynamic mesh
  #5
Big Stone
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.
  Reply With Quote

Old   August 3, 2003, 13:42
Default Re: Dynamic mesh
  #6
ccc
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.
  Reply With Quote

Old   August 3, 2003, 15:23
Default Re: Dynamic mesh
  #7
Big Stone
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.)

  Reply With Quote

Old   August 3, 2003, 23:21
Default Re: Dynamic mesh
  #8
ccc
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?
  Reply With Quote

Old   August 4, 2003, 09:23
Default Re: Dynamic mesh
  #9
Big Stone
Guest
 
Posts: n/a
Hi, CCC

Finally I got it with your great help. Your are really appreciated. Thanks

Wei
  Reply With Quote

Old   August 4, 2003, 21:39
Default Re: Dynamic mesh
  #10
Pat
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
  Reply With Quote

Old   August 4, 2003, 22:47
Default Re: Dynamic mesh
  #11
Big Stone
Guest
 
Posts: n/a
Hi, Pat

I think you may run nmake in Dos between building and loading .

Big Stone

  Reply With Quote

Old   August 5, 2003, 02:26
Default Re: Dynamic mesh
  #12
Pat
Guest
 
Posts: n/a
Thank you, I believe that was the problem.

-Pat
  Reply With Quote

Old   August 5, 2003, 11:12
Default Re: Dynamic mesh
  #13
Prasad Laxman Kane
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
  Reply With Quote

Old   August 5, 2003, 13:34
Default Re: Dynamic mesh
  #14
Big Stone
Guest
 
Posts: n/a
Hi, Prasad

Can you show more details in setting 3 path? Thanks

Big Stone
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incylinder dynamic mesh with volumetric reaction mas FLUENT 4 May 3, 2012 10:22
Dynamic Mesh on Pintle type injector. herntan FLUENT 15 January 4, 2012 04:31
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 1 July 28, 2011 01:53
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


All times are GMT -4. The time now is 00:34.