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

Finding cell ID if cell centroid coordinates are known

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 3, 2015, 02:55
Default Finding cell ID if cell centroid coordinates are known
  #1
New Member
 
Jasvir
Join Date: Jun 2015
Posts: 5
Rep Power: 2
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

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
interFoam running blowing up sandy13 OpenFOAM Running, Solving & CFD 2 May 5, 2015 07:16
refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 0 April 27, 2015 18:25
?? How to get cell center coordinates? erica FLUENT 0 May 11, 2005 22: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 08:41.