|August 9, 2012, 16:35||
Join Date: Jul 2012
Location: Cincinnati, OH
Posts: 12Rep Power: 5
I have tried running this code for a 2D axissymetric case and recieved this error:
..\..\src\find.c(14) : error C2100: illegal indirection
..\..\src\find.c(14) : error C2440: '=' : cannot convert from 'int' to 'CX_Cell_Id'
this is line 14
Message("coordinate of the specified point: x=%g,y=%g\n",pt,pt);
Message("coordinate of the cell found: x=%g,y=%g\n",c_centroid,c_centroid);
|August 24, 2012, 16:30||
Join Date: Aug 2012
Posts: 1Rep Power: 0
I'm having compilation issues too- tried to compile on windows and linux, the compiler complains about the the same line:
Has anyone gotten this work? Any details on fluent version, environment?
This seems like an extremely useful function.
|October 28, 2013, 09:13||
Join Date: Jan 2012
Posts: 39Rep Power: 6
I know is a bit a late, but it can be usefull for futur users.
I suppose the function "CX_Find_Cell_With_Point" was available with the previous versions of Fluent (Actually, I used it with succes in Fluent 6.0, but it doesnt work with Fluent 14.5).
If you want the same functionality, you can use the function "SV_locate_point" with the actual version of Fluent :
... cell_t c; Thread *t; CX_Cell_Id *cx_cell; float pos; ... SV_locate_point(pos, cx_cell); c = cx_cell->ct.c; t = cx_cell->ct.t; ...
In the parallel case, I don't see another solution than doing the loop among the cell yourself, and communicate between the nodes.
|June 24, 2014, 13:21||
Join Date: May 2014
Posts: 11Rep Power: 3
invalid type argument of unary * (have int)
and warnings that -
implicit declaration of function
Thanks a lot
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to identify cell neighbours||booz||OpenFOAM Meshing Format & General Technical||42||October 13, 2015 11:09|
|How to identify boundary cell and internal cell||dbxmcf||OpenFOAM Running, Solving & CFD||1||August 25, 2008 21:59|
|?? How to get cell center coordinates?||erica||FLUENT||0||May 11, 2005 22:02|
|identify Cell face||Sunlight007||CD-adapco||3||August 30, 2003 05:30|
|How to get nodes coordinates for a certain cell ?||mikhail||FLUENT||2||November 1, 2000 11:18|