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

Cell center UDF for axisymmetric

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2015, 22:05
Default Cell center UDF for axisymmetric
  #1
New Member
 
Join Date: Sep 2009
Posts: 19
Rep Power: 16
tinhtt is on a distinguished road
Hi Experts,
In Fluent UDF, C_CENTROID gives coordinates of cell centroid. However, I wonder what the macros C_AVE_X, C_AVE_Y, C_AVE_Z are? And how are they defined?
I think they should be treated by some special tricks. Because in metric.h, strain magnitude calculation for axisymmetric case includes term of C_V/ C_AVE_Y which is "easy violated to divided by zero error" (especially for cells very close to axis).
Any ideas or recommendation are highly appreciated. Thank you!
tinhtt is offline   Reply With Quote

Old   January 16, 2015, 00:19
Default
  #2
New Member
 
Join Date: Sep 2009
Posts: 19
Rep Power: 16
tinhtt is on a distinguished road
One member wondered same question in 2009, but didn't receive any clue
http://www.cfd-online.com/Forums/flu...0-c_ave_y.html
tinhtt is offline   Reply With Quote

Reply

Tags
axisymmetric, c_ave_y


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
Access cell face center / cell vertices lichmaster OpenFOAM Programming & Development 7 May 31, 2014 02:31
Identifying cell in parallel UDF upeksa Fluent UDF and Scheme Programming 0 July 24, 2013 11:27
UDF for heat source on surface instead of the whole cell zone?? benson621 Fluent UDF and Scheme Programming 4 December 8, 2011 11:54
Application of boundary conditions at cell center mchurchf OpenFOAM 2 February 4, 2010 09:42
calculate cell volume, center...? Paul Main CFD Forum 5 June 21, 2003 12:55


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