particle (eulerian) cell variable macro name
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! |
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. |
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 |
And the others?
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... |
All times are GMT -4. The time now is 15:25. |