|
[Sponsors] |
July 13, 2015, 16:04 |
particle (eulerian) cell variable macro name
|
#1 |
Member
Casey
Join Date: Jun 2009
Posts: 98
Rep Power: 16 |
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! |
|
July 14, 2015, 10:23 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
Particle diameter is P_DIAM(p), but you can find that one in the manual. Restitution coefficient is a boundary condition property, so may be more difficult to find.
But a more general approach, that you could have used to find out that the granular temperature is C_GT: (I do not claim this is not user-friendly!)
Looking in the header files is a way to find these 'undocumented features' of Fluent. |
|
July 14, 2015, 15:18 |
|
#3 |
Member
Casey
Join Date: Jun 2009
Posts: 98
Rep Power: 16 |
Thanks Pakk, I am going to give this a try in the next few days. I'll check back with questions if any come up, otherwise I'll list if I find any good results!
Thanks, Casey |
|
September 3, 2015, 01:33 |
And the others?
|
#4 | |
Senior Member
Join Date: Mar 2014
Posts: 375
Rep Power: 13 |
Quote:
From an earlier post on this forum I thought that you could not call a breakup model into a UDF and the only way to do it was write the whole breakup model code again in your UDF... |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 11:04 |
Eulerian - Eulerian and Particle Tracking | s.petley | CFX | 2 | April 20, 2015 06:04 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 01:30 |
how to get the flux when particle passing through a cell face | uvwxyz98765 | FLUENT | 0 | June 11, 2011 00:00 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 21:58 |