|
[Sponsors] |
January 15, 2015, 23:05 |
Cell center UDF for axisymmetric
|
#1 |
New Member
Join Date: Sep 2009
Posts: 19
Rep Power: 17 |
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! |
|
January 16, 2015, 01:19 |
|
#2 |
New Member
Join Date: Sep 2009
Posts: 19
Rep Power: 17 |
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 |
|
Tags |
axisymmetric, c_ave_y |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Access cell face center / cell vertices | lichmaster | OpenFOAM Programming & Development | 7 | May 31, 2014 03:31 |
Identifying cell in parallel UDF | upeksa | Fluent UDF and Scheme Programming | 0 | July 24, 2013 12:27 |
UDF for heat source on surface instead of the whole cell zone?? | benson621 | Fluent UDF and Scheme Programming | 4 | December 8, 2011 12:54 |
Application of boundary conditions at cell center | mchurchf | OpenFOAM | 2 | February 4, 2010 10:42 |
calculate cell volume, center...? | Paul | Main CFD Forum | 5 | June 21, 2003 13:55 |