CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

how to reach the solide zone in UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 4, 2013, 13:41
Default how to reach the solide zone in UDF
  #1
Member
 
Join Date: Feb 2012
Posts: 57
Rep Power: 5
Raymond.Leoi is on a distinguished road
I wonder how to reach thread pointing to the solid zones? I try the following way,

if (FLUID_THREAD_P(thread) && BOUNDARY_FACE_THREAD_P(thread))
{}
else
{
.......;
}

For some reason, the compiler couldn't identifiy 'FLUID_THREAD_P(thread) '. Any suggestion for this problem?
Raymond.Leoi is offline   Reply With Quote

Old   February 5, 2013, 01:25
Default
  #2
Senior Member
 
SSL
Join Date: Oct 2012
Posts: 227
Rep Power: 5
msaeedsadeghi is on a distinguished road
It may be a problem with your compiler.
First you should make a Thread of solid zone, then address it the thread zone you want to patch source terms or other macroes. I have done that for modeling Nephrons of Kidney.
msaeedsadeghi is offline   Reply With Quote

Old   February 5, 2013, 07:46
Default
  #3
Member
 
Join Date: Feb 2012
Posts: 57
Rep Power: 5
Raymond.Leoi is on a distinguished road
Thanks, Msaeedsadeghi. Since you did some similar thing before, can you give me more detail on how to find out the thread of solid zone?

Quote:
Originally Posted by msaeedsadeghi View Post
It may be a problem with your compiler.
First you should make a Thread of solid zone, then address it the thread zone you want to patch source terms or other macroes. I have done that for modeling Nephrons of Kidney.
Raymond.Leoi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for cell zone condition rachana Fluent UDF and Scheme Programming 0 January 23, 2013 16:43
UDF for Porous Zone Evan FLUENT 1 October 21, 2011 02:24
UDF fluent, Cell Zone natantyt Fluent UDF and Scheme Programming 1 August 30, 2011 15:18
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 01:08
Diffusion UDF visuja FLUENT 0 June 21, 2009 18:16


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