CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   How to do two injections at the same time in a specific color each (http://www.cfd-online.com/Forums/fluent/116037-how-do-two-injections-same-time-specific-color-each.html)

Sahar FaPerhu April 11, 2013 11:06

How to do two injections at the same time in a specific color each
 
Hi everybody!

I am defining two injections for the massless particles released from two different surfaces. I want to color those particles in particle track by a specific color. For instance, i want to see those particles which have been released from surface1 in red and similarly, those which have been released from surface 2 are green! In this way, I can have a better visualization of particle tracks.
In order to do this, I have defined particle track to be colored by paticle paroperties which I know its a constant. I colored one of them by particle diameter and the other one by particle density.
But I after I do solution animation, it makes both of them in red!
I think it cannot do two injections both at the same time. It does one of them, takes a video frame, then it does another injection and takes a video frame of that one as well...and since the property of coloring is constant in both cases, it does color both in red! not in different colors which I want....

Sahar FaPerhu April 11, 2013 11:52

well...I got it! I answer my question for future reference! and I still would be happy if anyone come up with an easier way to do it
my solution:
I define a macro to display particle injections both at the same time colored by surface ID (since the surfaces from which they have been injected are different). Then I define another macro to save the pictures in tiff format....
after all done, I have to use a movie maker software to make animation of the picture sequences....
good luck sahar!
:) ;)

A CFD free user April 11, 2013 15:15

I suppose you could've done it by CFD POST.


All times are GMT -4. The time now is 12:54.