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

compiled udf functions at fluent 15 win 8 64 bit

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2014, 16:35
Default compiled udf functions at fluent 15 win 8 64 bit
  #1
New Member
 
hilla tor
Join Date: Nov 2012
Posts: 22
Rep Power: 13
hillat is on a distinguished road
when I am trying to compiled it's return error 139.
hillat is offline   Reply With Quote

Old   January 25, 2014, 05:35
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
That obviously means that there is a mistake in your udf.
pakk is offline   Reply With Quote

Old   January 25, 2014, 07:08
Default it's written my the follwing message
  #3
New Member
 
hilla tor
Join Date: Nov 2012
Posts: 22
Rep Power: 13
hillat is on a distinguished road
Code:
 
The UDF library you are trying to load (libudf) is not compiled for 2d on the current platform (win64).
The system cannot find the file specified.

my udf code is

Code:
 
#include "udf.h"
DEFINE_PROFILE(inlet_x_velocity, thread, position) 
{
real x[ND_ND]; /* this will hold the position vector */
real y;
face_t f;
begin_f_loop(f, thread)
{
F_CENTROID(x,f,thread);
y = x[1]/0.01;
F_PROFILE(f, thread, position) = 0.219*(-y*y+y);
}
end_f_loop(f, thread)
}
hillat 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
fluent udf problem: write specific data for every iteration in a file. nnvoro Fluent UDF and Scheme Programming 1 May 27, 2013 15:26
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
Parallel Fluent +UDF Jack Martinez FLUENT 0 June 28, 2007 11:19
compiling my UDF Seyed Farid Hosseinizadeh FLUENT 22 February 14, 2006 10:19
UDF of Zimont model in fluent Z Main CFD Forum 0 February 17, 2005 03:07


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