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

Adjacent cell number

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 8, 2002, 10:25
Default Adjacent cell number
  #1
Jing
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!
  Reply With Quote

Old   October 9, 2002, 04:50
Default Re: Adjacent cell number
  #2
Marc
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
  Reply With Quote

Old   October 11, 2002, 04:36
Default Re: Adjacent cell number
  #3
Jing
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
  Reply With Quote

Old   October 11, 2002, 05:04
Default Re: Adjacent cell number
  #4
Marc
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)
  Reply With Quote

Old   October 18, 2002, 10:59
Default Re: Adjacent cell number
  #5
Jiaying Xu
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
  Reply With Quote

Old   October 21, 2002, 06:29
Default Re: Adjacent cell number
  #6
marc
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
  Reply With Quote

Reply

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
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 20:39
adjacent cell zones Louisa FLUENT 4 August 31, 2007 06:49
how to connect faces(only one adjacent cell thread BC FLUENT 8 July 13, 2005 16:07
two adjacent cell zones. Thejasvi FLUENT 3 November 26, 2001 09:35


All times are GMT -4. The time now is 05:40.