UDF/FLUENT Macros to determine cell size vector
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.
|All times are GMT -4. The time now is 19:24.|