CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

problem with udf programming in fluent

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2009, 13:19
Default problem with udf programming in fluent
  #1
New Member
 
Join Date: Dec 2009
Posts: 6
Rep Power: 16
saranyasimi is on a distinguished road
Hi, I m new to udf programming in fluent.I have tried to write a simple program to give x component of velocity as zero using DEFINE_PROFLIE macro.My program shows no error with interpretation.But when i try to solve, the following error occurs:

Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()

This is my program.

# include "udf.h"

DEFINE_PROFILE(inlet_velocity,face,t,i)
{
real y;
face_t f;
int i;

begin_f_loop(f,t)
{
y=F_U(f,t)=0;
F_PROFILE(f,t,i)=y;
}
end_f_loop(f,t)
}

Can u please help me on this?

Last edited by saranyasimi; December 1, 2009 at 13:20. Reason: forgot to type the last line
saranyasimi is offline   Reply With Quote

Reply

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
problem of running parallel Fluent on linux cluster ivanbuz FLUENT 15 September 23, 2017 20:12
UDF programming fullmonty FLUENT 5 June 30, 2011 03:40
fluent udf problem for 3d case srsahu Fluent UDF and Scheme Programming 0 July 28, 2009 08:25
UDF of Zimont model in fluent Z Main CFD Forum 0 February 17, 2005 04:07
UDF programming problem Christian FLUENT 3 April 26, 2002 05:08


All times are GMT -4. The time now is 21:05.