CFD Online Logo CFD Online URL
Home > Forums > FLUENT

name variable in UDF using Thread : syntax error before numeric constant

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

LinkBack Thread Tools Display Modes
Old   October 8, 2009, 09:18
Default name variable in UDF using Thread : syntax error before numeric constant
New Member
Laurence Wallian
Join Date: Mar 2009
Posts: 17
Rep Power: 10
Laurence Wallian is on a distinguished road
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

Laurence Wallian 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: 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 22:43

All times are GMT -4. The time now is 18:56.