CFD Online Logo CFD Online URL
Home > Forums > FLUENT

pressure profile UDF dosent compile

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

LinkBack Thread Tools Display Modes
Old   May 5, 2014, 05:30
Default pressure profile UDF dosent compile
New Member
Join Date: May 2014
Posts: 3
Rep Power: 3
udifi is on a distinguished road
I tried to compile the example from the fluent help

UDF for specifying steady-state parabolic pressure profile boundary
profile for a turbine vane
************************************************** **********************/

#include "udf.h"

real x[ND_ND]; /* this will hold the position vector */
real y;
face_t f;
y = x[1];
F_PROFILE(f,t,i) = 1.1e5 - y*y/(.0745*.0745)*0.1e5;

and it gave me this messag:

Copied d:\Users\rnds\Desktop\Udi Try\selfy_files\dp0\FFF\Fluent\selfy.c to d:\Users\rnds\Desktop\Udi Try\selfy_files\dp0\FFF\Fluent\libudf\src
udf_names.c and user_nt.udf files in 2d are upto date.
(system "copy "C:\PROGRA~1\ANSYSI~1\v150\fluent"\fluent15.0.0\sr c\makefile_nt.udf "d:\Users\rnds\Desktop\Udi Try\selfy_files\dp0\FFF\Fluent\libudf\win64\2d\mak efile" ")
1 file(s) copied.
(chdir "d:\Users\rnds\Desktop\Udi Try\selfy_files\dp0\FFF\Fluent\libudf")(chdir "win64\2d")udf_names.c
udf_names.c(7) : error C2059: syntax error : '}'
udf_names.c(8) : warning C4034: sizeof returns 0

dose some one know why?
udifi is offline   Reply With Quote


udf and programming

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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 32 May 8, 2015 06:05
UDF for a velocity profile: some errors/doubts HHOS Fluent UDF and Scheme Programming 2 September 19, 2013 07:07
how to get pressure and pressure gradient using UDF Honglin Fluent UDF and Scheme Programming 0 May 24, 2012 06:47
Simulation with UDF for species mass fraction and velocity profile virgy Fluent UDF and Scheme Programming 8 February 7, 2012 05:30
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00

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