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

Accessing flow properties at certain points inUDFs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2005, 12:26
Default Accessing flow properties at certain points inUDFs
  #1
nicolas
Guest
 
Posts: n/a
Hi I need to obtain the velocity at a given point inside a udf. How can this be done? Thanks
  Reply With Quote

Old   February 14, 2005, 15:32
Default Re: Accessing flow properties at certain points in
  #2
ap
Guest
 
Posts: n/a
You may loop over the cells, find their centroid with C_CENTROID and localize with an if clause the point you need.

Regards, ap
  Reply With Quote

Old   February 14, 2005, 21:42
Default Re: Accessing flow properties at certain points in
  #3
nicolas
Guest
 
Posts: n/a
But how can I know if a certain point is contained in a cell? The C_CENTROID macro gives the coordinates of the centroid of the cell, but the point I have may not be exactly this, but still contained inside the cell. Isn't there a macro to determine if a point is inside a cell?
  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
flow over a cylinder urgent! kevin FLUENT 8 August 11, 2015 14:00
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02
transform navier-stokes eq. to euler-eq. pxyz Main CFD Forum 37 July 7, 2006 09:42
Question on 3D potential flow Adrin Gharakhani Main CFD Forum 13 June 21, 1999 06:18
computation about flow around a yawed cone Tylor Xie Main CFD Forum 0 June 9, 1999 08:33


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