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

UDF compilling

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2010, 22:31
Thumbs down UDF compilling
  #1
New Member
 
Join Date: Apr 2010
Posts: 3
Rep Power: 16
1986 is on a distinguished road
Hi,
I am doing cfd simulation of pulse tube refrigeration syatem(2d axisymmetric) using fluent 6.3.26. I wanted to simulate the compressor(dual opposed compressor) motion using compilled UDF.Visual Studio Express Edition 2008 is used as the compiller.Can anyone help me ,how to compile the udf function (steps involved) and how to view the mesh motion preview of the compressor.
thanks...
1986 is offline   Reply With Quote

Old   April 2, 2010, 23:24
Default
  #2
New Member
 
sunqiang
Join Date: Nov 2009
Posts: 23
Rep Power: 16
matthewsun is on a distinguished road
You can compile your function through Define->user-defined->function->compiled,first add your functions build the lib ,and then load it.
To preview the mesh motion ,solve->mesh motion,set the proper time step
matt
matthewsun is offline   Reply With Quote

Old   April 3, 2010, 00:03
Default
  #3
New Member
 
Grace Lima
Join Date: Mar 2010
Posts: 7
Rep Power: 16
gracerlima is on a distinguished road
Hi!

Probably your are using Fluent for windows, right??

Are you trying to compile your UDF it from the prompt window of Visual Studio??

have you read the UDF's user guide???

it is somewhat helpful, but some things won't work well if you don't have a MinGW or Cygwin installed on your machine and it is not completely clear in the users guide...for instance, in the makefike it is used the sed command that is not a command from the Visual Studio...if you dont have the MinGW or the Cygwin installed you won't be able to compile your function...

Please send us more information on what you are exactly doing then we can better help you!

Regards,

Grace
gracerlima is offline   Reply With Quote

Old   April 3, 2010, 00:51
Thumbs up Compiling UDF
  #4
New Member
 
Join Date: Apr 2010
Posts: 3
Rep Power: 16
1986 is on a distinguished road
Hi friends,
it's working, these are the steps which showed in the fluent window after compiling UDF.
Opening library "libudf"...
Library "libudf\ntx86\2d\libudf.dll" opened
vel_comp
Is this correct?......
But mesh motion preview of the compressor is not getting.I defined the udf function on the top of the compressor and compressor left and right is defined as walls and bottom as axis.
Can you help me please.....

thanks for the reply.

Last edited by 1986; April 3, 2010 at 02:42.
1986 is offline   Reply With Quote

Old   April 3, 2010, 09:10
Default
  #5
New Member
 
sunqiang
Join Date: Nov 2009
Posts: 23
Rep Power: 16
matthewsun is on a distinguished road
hi
yeah,the success of compiling udf only indicates that there's no syntax error,and nothing more, so i have no idea of your problem,you can post it
matthewsun is offline   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 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
About Compilling The UDF Seyed Farid Hosseinizadeh FLUENT 0 February 15, 2006 21:22
error of compilling udf wanghong FLUENT 1 January 11, 2005 06:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03


All times are GMT -4. The time now is 14:44.