|
[Sponsors] |
March 14, 2012, 13:49 |
udf not working
|
#1 |
New Member
Join Date: Mar 2012
Posts: 1
Rep Power: 0 |
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? |
|
Tags |
udf, udf error |
|
|
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 |