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

Finding cell ID if cell centroid coordinates are known

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2015, 03:55
Default Finding cell ID if cell centroid coordinates are known
  #1
New Member
 
Jasvir
Join Date: Jun 2015
Posts: 5
Rep Power: 11
Jazz is on a distinguished road
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
Jazz is offline   Reply With Quote

Reply

Tags
cell centroid, cell id, fluent - udf, udf code


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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 12:04
interFoam running blowing up sandy13 OpenFOAM Running, Solving & CFD 2 May 5, 2015 08:16
?? How to get cell center coordinates? erica FLUENT 0 May 11, 2005 23:02
radius of each cell centroid Bikash FLUENT 0 March 3, 2005 17:33
How to get nodes coordinates for a certain cell ? mikhail FLUENT 2 November 1, 2000 11:18


All times are GMT -4. The time now is 17:26.