CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming


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

LinkBack Thread Tools Display Modes
Old   April 17, 2014, 10:36
Default problem with DEFINE_WSGGM_ABS_COEFF
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 389
Rep Power: 10
macfly is on a distinguished road

I'm starting to play with DEFINE_WSGGM_ABS_COEFF so I can customize the absorption coefficient calculation.

I'm testing with the simplest code, just to see if it works:
#include "udf.h"
#include "materials.h"
DEFINE_WSGGM_ABS_COEFF(user_wsggm_abs_coeff, c, t, xi, p_t, s, soot_conc, Tcell, nb, ab_wsggm, ab_soot)
Material *m = THREAD_MATERIAL(t);
*ab_wsggm = 0.3;
- It works fine in parallel on my laptop Fluent 14.5.7 - Windows 8.1, I get an absorption coefficient of 0.3 everywhere.
- It crashes in parallel on a Fluent 14.5.7 - Linux CentOS 5.10 cluster. There is no error message when the udf is interpreted, but when the iterations start I get this message repeated over and over until the print buffer is exceeded : Chip_Exec_C: parameter 4: invalid type (1031989648)
the number in parentheses is not always the same

What am I missing? I don't think it's necessary to parallelize a udf for a property definition.
macfly is offline   Reply With Quote


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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52

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