CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CD (https://www.cfd-online.com/Forums/star-cd/)
-   -   cell neighbours (https://www.cfd-online.com/Forums/star-cd/79221-cell-neighbours.html)

manuutin August 17, 2010 05:10

cell neighbours
 
Hi! I need to get access to the neighboring cell numbers of of a given cell. In older star versions (3.*) this could be done with LQ(1:6,IP) that is in COMMON/DCO5/ , but I can't find equivalent in versions 4.* :confused:. I only found a function that returns neighboring cells to a face: lfc(1:2,j).

Regards,
Mika

TMG August 17, 2010 21:29

STAR4 is a face based code. Connectivity is via shared faces, not shared cell numbers. Also since STAR4 is a polyhedral code, a single array of 6,maxcel makes no sense any longer. It does not try to force every cell into a brick shape as did STAR3


All times are GMT -4. The time now is 08:30.