CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   how to get the face on the shadow wall? (https://www.cfd-online.com/Forums/fluent/41919-how-get-face-shadow-wall.html)

 shuqin August 2, 2006 21:11

how to get the face on the shadow wall?

In Fluent From a wall face ,we can get the cell adjacent to the wall by c0=F_C0(f,ft) and c1=F_C1(f,ft),

is there any command to get the face on the shadow wall? anyone knows?

 thomas August 2, 2006 23:46

Re: how to get the face on the shadow wall?

the wal shadow should its proper ID thefore you can set *f apropriatly

 shuqin August 3, 2006 08:40

Re: how to get the face on the shadow wall?

thomas,thanks for your attention,but i am afraid that you have not yet understand my question,I am asking in the wall loop,is there any command to get the face on its shadow wall?

for example ,we can use c0=F_C0(f,ft) and c1=F_C1(f,ft) to get adjacent cells to that wall face within the wall thread loop,can we also get the adjacent face on the shadow wall in the wall loop ?

I am not sure I've made it clear enough or not.

 thomas August 3, 2006 09:47

Re: how to get the face on the shadow wall?

OK i see what you mean. By definition only F_C0 exist at a boundary condition. So when you loop the faces over the wall, F_C0 will give you the adjacente cells. When you loop the faces over the wall shadow, F_C0 will give you the adjacente cells in the opposite side of the wall. OK ? To convince yourself creat a UDMI = 1 for the cell adjacent to wall and UDMI = 2 for the cells adjacent to wall shadow Hope this help

 shuqin August 3, 2006 20:41

Re: how to get the face on the shadow wall?

ok,let me tell you what i m doing now,

..................

begin_f_loop(f_w,ft_w)

{

F_UDMI(f_w,ft_w,0)=function1;

}end_f_loop(f_w,ft_w)

...................