|
[Sponsors] |
name variable in UDF using Thread : syntax error before numeric constant |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 8, 2009, 09:18 |
name variable in UDF using Thread : syntax error before numeric constant
|
#1 |
New Member
Laurence Wallian
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
hello,
Just an information for those who use UDF function like F_C0_THREAD ... : I suggest you to not specify any variable as t0 ! I've done this, and I've the error message : syntax error before numeric constant It seems to be a strange error since the variable t0 I've defined was just a #define t0 0.0001 in front of my program... And it takes me a long time to find this error. So, if it can help someone else ! P.S. add_Cell = F_C0_THREAD( Face, add_Face ) seems to be equivalent to add_Cell = THREAD_T0( add_Face ), and add_Cell = add_Face->t0 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! | alban | Fluent UDF and Scheme Programming | 2 | June 8, 2010 18:54 |
constant volume pump bc udf | Adammada | FLUENT | 0 | July 29, 2009 06:58 |
Really big problems when creating own materials da | Jop | FLUENT | 0 | June 28, 2007 11:15 |
Number of Faces on a thread inside a UDF | Nathan | FLUENT | 1 | April 26, 2006 11:15 |
Define decay constant of an additional variable | jim | CFX | 7 | February 8, 2004 21:43 |