Adjacent cell number
HI!
I need to know the cell number of the cell adjacent to a special cell. Could you be so kind to tell me by which parameter or by which way I can get it? Thank you! |
Re: Adjacent cell number
You get the command by unsing a common block ( /DCO5/ ). It is named LQ(I,IC), which wirtes back the neighbour of STAR Cell IC through face I I: 1: Bottom, 2: Top, 3:South 4:North 5:West 6:East
Hope that helps :) |
Re: Adjacent cell number
Thank you for the reply! But I can not find the common block (/DC05) as well as the parameter LQ(I,IC). Could you be so kind to tell me where I can find them and in which user subroutine they are inputted in?
Thanks again! Jing |
Re: Adjacent cell number
You can implement the common block in all subroutines (whereever you need them), but it is already done in posdat.f, so there you can use the LQ(I,IC).
Marc Poppner PS: Be careful the common block is DCO5, not DC05. (an O instead of a zero) |
Re: Adjacent cell number
Does the array LQ(I,IC) also record the neighbouring relations if I use unstructured mesh? I am also interested in the issue for my user coding.
Thanks for your further hints. Jiaying |
Re: Adjacent cell number
I think so, you have a more detailed discription of the cell faces in the manual (depending on the sequence of its vertices), which can be applied on all cell afaik. if you have collapsed cells, the "lost" face will be ignored.
greez Marc |
All times are GMT -4. The time now is 00:13. |