CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Cell Variable Macro Names (C_x_x...) for UDFs

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2015, 20:18
Default Cell Variable Macro Names (C_x_x...) for UDFs
Join Date: Jun 2009
Posts: 98
Rep Power: 13
meangreen is on a distinguished road
Hi All,

I am trying to write several UDFs and I found there is a serious lack of "cell variable macro names" in the UDF manuals (and almost anywhere I can look). For example, a cell variable for x-velocity is C_U(c,t). I was hoping someone could help me with the following properties I want to pull OUT of fluent in order to write a UDF. I am using the Eulerian multiphase option.

The properties I am looking for currently are constants, I just want to make sure the UDF can take the information out of Fluent so the user doesn't have to go in and change the UDF every time they want to run a different particle type (i.e. I want it idiot proof).

1. Particle diameter
2. Coefficient of Restitution

I would be happy to start compiling a list of cell variable macro names and posting on updating on the forum.

I have found the granular temperature is C_GT(c,t).

meangreen is offline   Reply With Quote

Old   January 17, 2016, 05:48
Join Date: Jul 2013
Posts: 83
Rep Power: 9
marialhm is on a distinguished road
Hey, do you know how to get the size of the cell using udf, like the length and the width of the cell, if in a 2d simulation. thanks.
marialhm is offline   Reply With Quote


cell values, cell variables, eulerian multiphase model, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
emag beta feature: charge density charlotte CFX 4 March 22, 2011 09:14
Cell ID macro ?!?!?!?!?! bohis FLUENT 1 November 14, 2008 08:26
How to pass a variable from a define macro... Padian FLUENT 2 May 30, 2008 05:22
field variable macro of the mean-x-velocity? zt xie FLUENT 2 November 15, 2005 05:48
Macro for velocity on the face of the cell Dragos FLUENT 0 April 7, 2005 11:12

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