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

Define Certain Cell Threads in Udfs

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 2, 2009, 08:53
Default Define Certain Cell Threads in Udfs
  #1
New Member
 
Payan
Join Date: Oct 2009
Posts: 21
Rep Power: 7
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, 15:27
Default
  #2
New Member
 
Payan
Join Date: Oct 2009
Posts: 21
Rep Power: 7
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

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
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 12:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


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