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

error "P_POS: undeclared variable"

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 10, 2012, 09:54
Question error "P_POS: undeclared variable"
  #1
New Member
 
Mori
Join Date: Oct 2012
Posts: 4
Rep Power: 4
morihangi is on a distinguished road
Hi
I'm trying to write a UDF for body force appling on a particle. the body force is dependent on the position of the particle, so I used P_POS(p)[i] macro for this purpose. But after interpreting the UDF in fluent, there's always an error entitled "P_POS: undeclared variable". however this macro is mentioned in the FLUENT UDF manual. would you help me?

thanks,
morihangi is offline   Reply With Quote

Old   November 12, 2012, 04:38
Default
  #2
Senior Member
 
SSL
Join Date: Oct 2012
Posts: 227
Rep Power: 5
msaeedsadeghi is on a distinguished road
Complex UDFs should be compiled.
msaeedsadeghi is offline   Reply With Quote

Reply

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
CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 125 July 1, 2015 21:09
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 32 May 8, 2015 06:05
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
problem with wmake please help vetnav OpenFOAM Programming & Development 6 December 13, 2010 15:44


All times are GMT -4. The time now is 04:58.