CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Fluent UDF error

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2012, 17:51
Default Fluent UDF error
New Member
Join Date: Jul 2012
Posts: 18
Rep Power: 13
mila_oliv is on a distinguished road

i'm new at udf and everytime i try to compile my udf, after press build button, i receive this message:

The UDF library you are trying to load (C:\Users\mila.oliv\Desktop\Testes UDF\UDF_files\dp0\FFF\Fluent\libudf) is not compiled for 2ddp on the curent platform (win64).
The system could not find specific file.
C:\Users\mila.oliv\Desktop\Testes UDF\UDF_files\dp0\FFF\Fluent\C:\Users\mila.oliv\De sktop\Testes UDF\UDF_files\dp0\FFF\Fluent\libudf\win64\2ddp\lib udf.dll

I'm trying to do a udf that shows stream functions and see if my results match fluent's results. Here is my code:

#include "udf.h"
#include "mem.h"


real NV_VEC(psi); /* stream function*/
real NV_VEC(u); /* velocity x*/
real NV_VEC(vxdy); /* velocity x times distance between nodes*/
int i, j, deltax, m, n;
cell_t c;
Thread *t;
Thread *tc;


/* boundary conditions*/
/*boundary conditions*/

n=C_NNODES(c,t); /* nodes in the mesh*/
m=(n^0.5)-1; /* mesh divisions: m X m */
deltax=1/m; /* distance between nodes*/
NV_D(u,=,C_U(c,t)); /* u as Vx (in a cell) */




mila_oliv is offline   Reply With Quote


code, error, fluent, stream function, udf

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 04:53
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! alban Fluent UDF and Scheme Programming 2 June 8, 2010 18:54
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16

All times are GMT -4. The time now is 01:39.