CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   How to define Particle with UDF? (http://www.cfd-online.com/Forums/fluent-udf/71773-how-define-particle-udf.html)

sega January 14, 2010 08:57

How to define Particle with UDF?
 
Hello World.

I'm using the Discrete Phase Model for the simulation of coal combustion.

Can anyone tell me how I can define a particle which contains different components with an UDF?


I have toyed around with "number of scalars" in the FLUENT GUI, but it leads to nothing, at this time.

So, how can I set up different scalars containing the concentration of each component, which will form my particle?

Have a nice day.
Sebastian

Bernhard January 18, 2010 07:23

Maybe you can use P_USER_REAL(particle, i) to define any scalar you like for each particle?

sega January 19, 2010 03:43

Quote:

Originally Posted by Bernhard (Post 242933)
Maybe you can use P_USER_REAL(particle, i) to define any scalar you like for each particle?

Which can be mass species as well?
Basically anything I can think of?!

Bernhard January 20, 2010 04:50

Well, for things like mass are already defined via standard properties, you don't need your own variable for that. For just sperical particles, the combination of diameter and density is sufficient, you can use P_DIAM and P_DENSITY or something for that.


All times are GMT -4. The time now is 18:58.