CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Double sides wall?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2005, 07:24
Default 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
  Reply With Quote

Old   February 24, 2005, 08:36
Default 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); }
  Reply With Quote

Old   February 25, 2005, 02:30
Default 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
  Reply With Quote

Old   February 25, 2005, 04:21
Default 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).
  Reply With Quote

Old   February 25, 2005, 21:05
Default Re: Double sides wall?
  #5
Erica
Guest
 
Posts: n/a
Thank you!
  Reply With Quote

Old   February 26, 2005, 01:17
Default 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)
  Reply With Quote

Old   February 27, 2005, 05:42
Default 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.
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuing User Defined Real Gas Model issues aeroman FLUENT 6 April 8, 2016 03:34
Parallel User Defined Real Gas Model aeroman FLUENT 4 July 1, 2015 06:09
natural convection mehrdadeng CFX 10 February 25, 2011 05:25
AMG versus ICCG msrinath80 OpenFOAM Running, Solving & CFD 2 November 7, 2006 15:15
Quick Question - Wall Function D.Tandra Main CFD Forum 2 March 16, 2004 04:29


All times are GMT -4. The time now is 17:56.