|
[Sponsors] |
April 2, 2010, 23:31 |
UDF compilling
|
#1 |
New Member
Join Date: Apr 2010
Posts: 3
Rep Power: 16 |
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... |
|
April 3, 2010, 00:24 |
|
#2 |
New Member
sunqiang
Join Date: Nov 2009
Posts: 23
Rep Power: 17 |
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 |
|
April 3, 2010, 01:03 |
|
#3 |
New Member
Grace Lima
Join Date: Mar 2010
Posts: 7
Rep Power: 16 |
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 |
|
April 3, 2010, 01:51 |
Compiling UDF
|
#4 |
New Member
Join Date: Apr 2010
Posts: 3
Rep Power: 16 |
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 03:42. |
|
April 3, 2010, 10:10 |
|
#5 |
New Member
sunqiang
Join Date: Nov 2009
Posts: 23
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
About Compilling The UDF | Seyed Farid Hosseinizadeh | FLUENT | 0 | February 15, 2006 22:22 |
error of compilling udf | wanghong | FLUENT | 1 | January 11, 2005 07:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |