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

udf compilation for dynamic mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2003, 06:10
Default udf compilation for dynamic mesh
  #1
Rahul
Guest
 
Posts: n/a
Hi,

i am trying to simulate a simple 2D domain with moving surfaces. i have a udf for describing the motion. however, im getting error while compiling udf. fluent console displays following message -

The system cannot find the file specified. (system "move user_nt.udf libudf\ntx86\2d")0 (system "copy c:\fluent.inc\6.1.21mak\fluent.inc\fluent6.1\src\m akefile_nt.udf libudf\ntx86\2d\makefile")The system cannot find the path specified. 1 (chdir "libudf")() (chdir "ntx86\2d")()

Done.

Can anyone comment on this message ?

Thanks.
  Reply With Quote

Old   June 15, 2003, 11:44
Default Re: udf compilation for dynamic mesh
  #2
mateus
Guest
 
Posts: n/a
Hi!

Your udf file must be in your work directory.

Regards

MATEUS
  Reply With Quote

Old   June 16, 2003, 01:27
Default Re: udf compilation for dynamic mesh
  #3
Rahul
Guest
 
Posts: n/a
The udf is in the same working directory in which fluent session started.

Thanks
  Reply With Quote

Old   June 16, 2003, 06:48
Default Re: udf compilation for dynamic mesh
  #4
emma chen
Guest
 
Posts: n/a
Hello,

I think maybe you build the necessary directories in the wrong way. I hope the followings might be helpful for you!

In the directory where the FLUENT session starts, build one libudf directory,then in this libudf directory build 2 directories: ntx86 und src, put your udf in the src directory, build "2d" directory in "ntx86" and make sure that makefile and user_nt.udf are copied in "2d". Now you can use "compiled udf"---build the libudf and load it. Remember you should have visual c/c++ compiler for windows. Good luck!
  Reply With Quote

Old   June 16, 2003, 12:04
Default How to change face normal for 3D Boundary Layer?
  #5
Saqib Mahmood
Guest
 
Posts: n/a
Hello Fluent user,

I am new to gambit and fluent and while meshing a 3d object i tried to attach the boundary layer to the face but its direction indicates towards inside instead of indicating on the outerside of domain can any one help me in this matter hoping for an early response thanks alot in advance.
  Reply With Quote

Old   June 20, 2003, 10:07
Default Re: udf compilation for dynamic mesh
  #6
Rahul
Guest
 
Posts: n/a
Hi, Thank you for your explaination. But Fluent latest version 6.1.19 is able to build directory structure automatically as you have given.

In my case, makefile is not getting copied in "/2d" directory. I have checked the location of makefile_nt.udf & user_nt.udfin the appropriate directory as given in the fluent UDF manual. A message appears in the fluent console that "The system can not find the path specified".

Can you throw some light on this?

Thanks.
  Reply With Quote

Old   June 20, 2003, 10:12
Default Re: How to change face normal for 3D Boundary Laye
  #7
Rahul
Guest
 
Posts: n/a
If the flow domain lies inside the surface, the direction for the boundary layer will appear on the fluid side. I can not guess how your geometry is !!However you can check in Gambit by clicking middle mouse button to toggle the selection of an entity, and then see the orientation of the boundary layer.
  Reply With Quote

Old   June 22, 2003, 16:36
Default Re: udf compilation for dynamic mesh
  #8
emma chen
Guest
 
Posts: n/a
Hi,

I don't know how it works actually in fluent new version 6.1.19. I only work with fluent 6.1.18. In this version, the makefile_nt.udf and user_nt.udf are in the following complete path after you installed fluent:

...\fluent.inc\fluent6.1\src\makefile_nt.udf ...\fluent.inc\fluent6.1\src\user_nt.udf

May you find them in the correct directory! Regards, emma
  Reply With Quote

Old   June 22, 2003, 18:06
Default Re: udf compilation for dynamic mesh
  #9
emma chen
Guest
 
Posts: n/a
Hi, I just forgot one small but important thing: the makefile_nt.udf and user_nt.udf must be the most up-to date files. Make sure if they are the latest files. I hope it's helpful for you!
  Reply With Quote

Old   June 23, 2003, 02:11
Default Re: udf compilation for dynamic mesh
  #10
Rahul
Guest
 
Posts: n/a
Hi, I checked all the possibilities that you mentioned. Another thing is that we have to install VC++ on the machine on which you are working. I have loaded VC++6.0 version. I don't know what is tha latest version. I tried first with manually building the directory structure. After this, when we type command 'nmake' in MS-DOS prompt, it gives 'fatal error' message. That is why .dll file is not generating.

I think the problem may be system related. I am constantly in touch with our support engineers, eventhough, I am facing such unexpected problem.

If this gets through, I will send message to you.

Thanks for your help.

Rahul

  Reply With Quote

Old   June 27, 2003, 23:10
Default Re: udf compilation for dynamic mesh
  #11
Rahul
Guest
 
Posts: n/a
Hi,

As a last option, I reloaded fluent 6.1.18 with VC++ 6.0 on NT machine. The UDF compilation has succeded and I can see the mesh motion.

Thanks.
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 07:41
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 03:06.