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

udf not working

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2012, 13:49
Exclamation udf not working
  #1
New Member
 
Join Date: Mar 2012
Posts: 1
Rep Power: 0
newbie2 is on a distinguished road
hi!
im using ansys 12.1 and i had to introduce a source term for my problem.i wrote the following udf for that.
#include "udf.h"
DEFINE_SOURCE(first,c,t,dS,eqn)
{
real source;
source=-0.00892;
dS[eqn]=0;
return source;
}
its a packed column which is separating two gases through adsorption.i interpreted the udf without any errors and introduced it in the mass accumulation term and the accumulation term for one of the gases. the results dnt show any change in the concentration of the exiting gas mixture throughout the column.
is there something wrong with the approach or the udf?
newbie2 is offline   Reply With Quote

Reply

Tags
udf, udf error


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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
Simulation with UDF for species mass fraction and velocity profile virgy Fluent UDF and Scheme Programming 8 February 7, 2012 05:30
compiling my UDF Seyed Farid Hosseinizadeh FLUENT 22 February 14, 2006 11:19
DEFINE_ON_DEMAND UDF: How to declare A[ND_ND], etc jx FLUENT 1 November 6, 2003 18:23
DEFINE_GEOM UDF Problems Pat FLUENT 0 August 14, 2003 14:16


All times are GMT -4. The time now is 12:38.