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

How to define neighborhood cell?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2007, 19:31
Default How to define neighborhood cell?
  #1
Le
Guest
 
Posts: n/a
In 3D, I set a variable, for example,cell variable C_R(c,t) with the coordinate i,j,k. How can I determine neighborhood cell C_R(c,t) with the coordinate i+1,j,k or i-1,j,k...in a thread.
  Reply With Quote

Old   January 25, 2007, 04:28
Default Re: How to define neighborhood cell?
  #2
Bogdan
Guest
 
Posts: n/a
You loop over the cell faces (if you are using hexahedral cells you will have 6 faces) with c_face_loop and then for every face there are F_C0 and F_C1 macros giving you the cell_t index, and THREAD_T0 and THREAD_T1 macros giving you the threads( if the face is a boundary face, THREAD_T1 and F_C1 does not exists).
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: scalar transport equation problem Benny FLUENT 5 March 22, 2018 13:28
How can I get Help? Scalar transport_source term lig Fluent UDF and Scheme Programming 0 May 9, 2010 22:30
Scalar problem! lig FLUENT 0 May 5, 2010 15:16
How to calculate the cell area Le FLUENT 0 February 18, 2007 22:15
How to define diffusivities in Fuel cell Model braket FLUENT 1 February 17, 2007 18:08


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