CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Finding cell ID if cell centroid coordinates are known (https://www.cfd-online.com/Forums/fluent/155560-finding-cell-id-if-cell-centroid-coordinates-known.html)

Jazz July 3, 2015 02:55

Finding cell ID if cell centroid coordinates are known
 
Hey everyone

I was using commands that are in the "cxndsearch.h" header file in order to find the cell ID if we are knowing the cell centroid coordinates. The problem is that I am getting an error

"expected expression before cell ID"

The above error comes for the command
"FLUENT_EXPORT CX_Cell_Id *CX_Find_Cell_With_Point(ND_Search *, double v[3], double time);"

How can I overcome this issue? Since I am new to writing of UDFs could anybody give me some hints as to how should I apply the commands given in this header file in the udf?

Thanks


All times are GMT -4. The time now is 07:49.