CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   neighbor faces (https://www.cfd-online.com/Forums/fluent/35737-neighbor-faces.html)

saghir February 15, 2005 05:42

neighbor faces
 
I use the UDF, I want to know how to identify the ID of the neighbor faces to a face known

Andrew Garrard February 15, 2005 05:46

Re: neighbor faces
 
If you are talking about a shadow face, they take the same ID.

saghir February 15, 2005 08:09

Re: neighbor faces
 
I talke about an elementary face (f) for a grid. to solve the heat equation with a term source (surface condensation phenomenon ), one using a finite volume methods, it is necessary for me to know the neighbor face for each face f.

Doru Grosan February 15, 2005 10:33

Re: neighbor faces
 
See UDF manual pp. 5-6 to 5-9.

F_C0(f,tf) and F_C1(f,tf) give you the adjacent cells' indices.

THREAD_T0(tf) and THREAD_T1(tf) give you the ajacent threads.

Good luck!

saghir February 15, 2005 11:22

Re: neighbor faces
 
I want neighbor face (face f) for each (face f) not the adjacent cells' for face thank you

Andrew Garrard February 16, 2005 04:08

Re: neighbor faces
 
What are you talking about?

If you have a grid:

|-2-|-5-| 1 3 6 |-4-|-7-|

What is the "neighbour face" of face 3?

saghir February 16, 2005 05:43

Re: neighbor faces
 
-1-2-3- -4-5-6- -7-8-9- If this numbers is supposed the faces of a grid. The neighbor faces 5 are 1,2,3,4,6,7,8,9.

Andrew Garrard February 16, 2005 06:02

Re: neighbor faces
 
Sorry, this board has a few issues with white space - I should have previewed it. If you have a quad grid, of two cells. The face between them is face 3. The faces on one cell are 1, 2, 3, and 4 and on the other are 3, 5, 6 and 7.

If you have a grid:

| - 2 - | - 5 - |

1.......3.......6

| - 4 - | - 7 - |

What is the "neighbour face" of face 3?

saghir February 16, 2005 06:21

Re: neighbor faces
 
-1-2-3- -4-5-6- -7-8-9- If this numbers is supposed the faces of a grid. The neighbor faces 5 are 1,2,3,4,6,7,8,9.


All times are GMT -4. The time now is 22:01.