|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Mori
Join Date: Oct 2012
Posts: 9
Rep Power: 15 ![]() |
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, |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
SSL
Join Date: Oct 2012
Posts: 226
Rep Power: 16 ![]() |
Complex UDFs should be compiled.
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
| ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
| Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 08: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 |