|
[Sponsors] |
October 8, 2002, 11:25 |
Adjacent cell number
|
#1 |
Guest
Posts: n/a
|
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! |
|
October 9, 2002, 05:50 |
Re: Adjacent cell number
|
#2 |
Guest
Posts: n/a
|
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 |
|
October 11, 2002, 05:36 |
Re: Adjacent cell number
|
#3 |
Guest
Posts: n/a
|
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 |
|
October 11, 2002, 06:04 |
Re: Adjacent cell number
|
#4 |
Guest
Posts: n/a
|
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) |
|
October 18, 2002, 11:59 |
Re: Adjacent cell number
|
#5 |
Guest
Posts: n/a
|
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 |
|
October 21, 2002, 07:29 |
Re: Adjacent cell number
|
#6 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Retrieving boundary patch values adjacent to a given cell | brooksmoses | OpenFOAM Post-Processing | 2 | December 8, 2008 11:00 |
In reply to: "only one adjacent cell thread." | Krystian | FLUENT | 0 | August 27, 2008 21:39 |
adjacent cell zones | Louisa | FLUENT | 4 | August 31, 2007 07:49 |
how to connect faces(only one adjacent cell thread | BC | FLUENT | 8 | July 13, 2005 17:07 |
two adjacent cell zones. | Thejasvi | FLUENT | 3 | November 26, 2001 09:35 |