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

Define Certain Cell Threads in Udfs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2009, 09:53
Default Define Certain Cell Threads in Udfs
  #1
New Member
 
Payan
Join Date: Oct 2009
Posts: 21
Rep Power: 17
payam_IUST is on a distinguished road
Hello to every one,I am beginner with udf and realy need your help!
I want to access to certain cells in computational Domain,For Example I want to specify a celinder in Computational domain And access cell velocities or cell tempretures in this region.It seems that in udfs we should loop over the threads,but unfortunately in udf manual did not explained that how we can define desired cell or face or node threads,And it seems that we apply and hook udfs only in faces that specifed in Boundray conditioan panel or in the total Domain
payam_IUST is offline   Reply With Quote

Old   October 2, 2009, 16:27
Default
  #2
New Member
 
Payan
Join Date: Oct 2009
Posts: 21
Rep Power: 17
payam_IUST is on a distinguished road
In other words I would to get flow variables in UDF at specific coordinates. However I only see functions like C_V(c,t) or C_P(c,t) which required the cell and thread pointers.
So it is possible to know the cell and thread pointers with physical coordinates?
The only one solution I see for instance is to do a loop over all cells on the domain and to test their coordinate...
payam_IUST is offline   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
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 11:19
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
Warning 097- AB Siemens 6 November 15, 2004 05:41


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