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

UDF/FLUENT Macros to determine cell size vector

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2012, 21:26
Default UDF/FLUENT Macros to determine cell size vector
  #1
New Member
 
anonymous
Join Date: Oct 2012
Posts: 2
Rep Power: 0
bryankelly is on a distinguished road
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!
bryankelly is offline   Reply With Quote

Old   May 12, 2017, 07:18
Default
  #2
New Member
 
SV
Join Date: Apr 2012
Posts: 15
Rep Power: 14
bobinson is on a distinguished road
Hi did you find how to retrieve the dx,dy,dz? If yes could you please share?
bobinson is offline   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
Cell Reynolds Number laliong Main CFD Forum 12 September 17, 2019 04:18
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 15:38
UDF: Density Cell Gradient Vector Macros matteo FLUENT 0 December 1, 2007 13:14
Warning 097- AB Siemens 6 November 15, 2004 05:41
Normal vector on cell surface? Ethan Siemens 0 November 2, 2004 10:42


All times are GMT -4. The time now is 22:18.