CFD Online Logo CFD Online URL
Home > Forums > FLUENT

error "P_POS: undeclared variable"

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

LinkBack Thread Tools Display Modes
Old   November 10, 2012, 09:54
Question error "P_POS: undeclared variable"
New Member
Join Date: Oct 2012
Posts: 4
Rep Power: 7
morihangi is on a distinguished road
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?

morihangi is offline   Reply With Quote

Old   November 12, 2012, 04:38
Senior Member
Join Date: Oct 2012
Posts: 226
Rep Power: 8
msaeedsadeghi is on a distinguished road
Complex UDFs should be compiled.
msaeedsadeghi 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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 October 18, 2017 07:17
CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 133 July 27, 2017 04:45
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 19:48.