|
[Sponsors] |
October 9, 2012, 00:08 |
Calculating Cell Sizes Using FLUENT Macros
|
#1 |
New Member
anonymous
Join Date: Oct 2012
Posts: 2
Rep Power: 0 |
Hello everyone,
I am trying to write a UDF for a source term in FLUENT. This term is scaled by a constant that is dependent on the scalar product of the cell size vector L = (dx,dy,dz). All I can seem to find is C_VOLUME(c,t), I am assuming FLUENT uses L in some form to calculate cell volume but I may not have access to it. This needs to be able to work for both uniform and non-uniform grids. If anyone knows of a way to calculate this within FLUENT please respond. Thanks! |
|
October 9, 2012, 01:11 |
|
#2 | |
Senior Member
Join Date: Feb 2010
Posts: 164
Rep Power: 17 |
Quote:
Then you can get the edge length with "cell volume/face area". |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculating Coefficient of Drag in ANSYS Fluent | osamaghani | FLUENT | 16 | April 21, 2019 11:29 |
Calculating drag coefficient from Fluent | Richard | FLUENT | 12 | April 11, 2018 16:35 |
UDF/FLUENT Macros to determine cell size vector | bryankelly | Fluent UDF and Scheme Programming | 1 | May 12, 2017 07:18 |
Flow variable macros for cell | neetu kumari | FLUENT | 2 | February 15, 2012 07:45 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |