CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 8, 2015, 20:18
Default Cell Variable Macro Names (C_x_x...) for UDFs
  #1
Member
 
Casey
Join Date: Jun 2009
Posts: 96
Rep Power: 9
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).

Thanks!
meangreen is offline   Reply With Quote

Old   January 17, 2016, 06:48
Default
  #2
New Member
 
Maria
Join Date: Jul 2013
Posts: 7
Rep Power: 5
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

Reply

Tags
cell values, cell variables, eulerian multiphase model, udf

Thread Tools
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 On
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 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


All times are GMT -4. The time now is 15:39.