# Double sides wall?

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 24, 2005, 08:24 Double sides wall? #1 Erica Guest   Posts: n/a Hi, all What is the Thread in Fluent for DSW? It is a boundary or interior face? I need some info about these for UDF? Thanks

 February 24, 2005, 09:36 Re: Double sides wall? #2 Doru Grosan Guest   Posts: n/a You can verify doing a loop over all boundary threads and check the tread id. thread_loop_f(tf,domain) /*loop over all face's threads in a domain*/ { if(BOUNDARY_FACE_THREAD_P(tf)) /*check if is a boundary thread*/ printf("\n %d \n",(tf)->id); }

 February 25, 2005, 03:30 Re: Double sides wall? #3 Erica Guest   Posts: n/a Thank you, Doru Grosan your acessment is right, I believe.There two domain in my case(a solid one and fluid one).The double side wall exits. Whether the C0 and C1 cell of the DSW exist? If I add a energy source in the fliud zone, how can I do these? Thanks to anyone who can help

 February 25, 2005, 05:21 Re: Double sides wall? #4 Doru Grosan Guest   Posts: n/a If a side of the wall is a boundary then c0 will be the cell inside the domain and c1 will be -1. This should be valid for the solid domain (the adjacent boundary to the solid) and also for the fluid domain (the adjacent boundary of the fluid). To add a source term for fluid, in the boundary condition panel you have to chose the fluid zone and set the source (see Fluent manual pp. 6-88 and pp. 6-186).

 February 25, 2005, 22:05 Re: Double sides wall? #5 Erica Guest   Posts: n/a Thank you!

 February 26, 2005, 02:17 Re: Double sides wall? #6 Erica Guest   Posts: n/a whether (th)->id can be used in UDF? I want to choose one boundary face which I already know its ID.(use a loop over all boundary faces)

 February 27, 2005, 06:42 Re: Double sides wall? #7 Doru Grosan Guest   Posts: n/a When you are looping over threads you can find the id of the thread using (thread)->id. When you know the id of the boundary you have this possibility: int wall=3; /*3 is the id of the boundary*/ Thread *t_wall=Lookup_Thread(domain,wall); /*find the pointer to the thread*/ begin_f_loop(f,t_wall) { .... } end_f_loop(f,t_wall); /*loop over thread faces*/ see UDF Manual page 6-16.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post aeroman FLUENT 4 July 1, 2015 06:09 aeroman FLUENT 5 May 1, 2015 02:57 mehrdadeng CFX 10 February 25, 2011 06:25 msrinath80 OpenFOAM Running, Solving & CFD 2 November 7, 2006 16:15 D.Tandra Main CFD Forum 2 March 16, 2004 05:29

All times are GMT -4. The time now is 21:04.

 Contact Us - CFD Online - Top