CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

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

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2009, 10:18
Default 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
Laurence Wallian is on a distinguished road
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


Laurence Wallian is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 19:54
constant volume pump bc udf Adammada FLUENT 0 July 29, 2009 07:58
Really big problems when creating own materials da Jop FLUENT 0 June 28, 2007 12:15
Number of Faces on a thread inside a UDF Nathan FLUENT 1 April 26, 2006 12: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 08:09.