|
[Sponsors] |
April 17, 2014, 11:36 |
problem with DEFINE_WSGGM_ABS_COEFF
|
#1 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
Hi,
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: Code:
#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. Thanks François |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |