|July 8, 2015, 20:18||
Cell Variable Macro Names (C_x_x...) for UDFs
Join Date: Jun 2009
Posts: 96Rep Power: 9
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).
|January 17, 2016, 06:48||
Join Date: Jul 2013
Posts: 7Rep Power: 5
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.
|cell values, cell variables, eulerian multiphase model, udf|
|Thread||Thread Starter||Forum||Replies||Last Post|
|emag beta feature: charge density||charlotte||CFX||4||March 22, 2011 10:14|
|Cell ID macro ?!?!?!?!?!||bohis||FLUENT||1||November 14, 2008 09: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 06:48|
|Macro for velocity on the face of the cell||Dragos||FLUENT||0||April 7, 2005 11:12|