CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   how to get the face on the shadow wall? (http://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?

Thanks in advace!

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;

/*I guess there should be some connections between f_w and f_shadow ,so that I can save F_UDMI(f_shadow,ft_shadow,0) in the wall loop instead of the shadow wall loop*/

F_UDMI(f_shadow,ft_shadow,0)=function1;

}end_f_loop(f_w,ft_w)

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

f_w and f_shadow denote wall face and its shadow face respectively.


zaoyang January 6, 2012 01:47

Thread *t_shadow=THREAD_SHADOW(t); face_t f_shadow=F_SHADOW(f,t);


All times are GMT -4. The time now is 06:42.